browsertrix/frontend
Tessa Walsh 8a904c9031
feat: Rename org when accepting org invite for first admin (#1870)
Resolves https://github.com/webrecorder/browsertrix/issues/1874

Support for new two-part sign up flow if first admin user is added to org
- If new user, user registers first, then is able to change the org name / slug on following screen
- If existing user, user accepts invite, then is able to change the org name / slug on following screen
- After confirming org slug name, user is taken to dashboard, or error is shown if org name or slug already taken.
- If org name == org id, org name and slug is automatically set to `{Your Name}'s Archive` when first user is registered / accepts invite
- Email templates updated to better reflect new / existing users and not show org name if it is 'unset' (org name == org id internally)
- tests: frontend unit testing for accept + invite screens.

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
Co-authored-by: sua yoo <sua@suayoo.com>
Co-authored-by: sua yoo <sua@webrecorder.org>
Co-authored-by: Henry Wilkinson <henry@wilkinson.graphics>
Co-authored-by: Ilya Kreymer <ikreymer@users.noreply.github.com>
Co-authored-by: Emma Segal-Grossman <hi@emma.cafe>
2024-06-27 16:08:31 -07:00
..
.husky
config/tailwind/plugins Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
patches
scripts Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
src feat: Rename org when accepting org invite for first admin (#1870) 2024-06-27 16:08:31 -07:00
tests
xliff
.dockerignore
.editorconfig
.eslintrc.js
.gitignore
.prettierignore
.vscode
00-browsertrix-nginx-init.sh
Dockerfile Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
frontend.conf.template
index.d.ts
lit-localize.json
minio.conf
package.json Merge branch 'main' into 1.10.2-release 2024-06-12 23:59:56 -07:00
playwright.config.ts
postcss.config.js
prettier.config.js
README.md
sample.env.local
tailwind.config.js Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
tsconfig.eslint.json
tsconfig.json
web-test-runner.config.mjs feat: Rename org when accepting org invite for first admin (#1870) 2024-06-27 16:08:31 -07:00
webpack.config.js Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
webpack.dev.js Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
webpack.prod.js
yarn.lock fix: Prevent ReplayWeb.Page shoelace components from impacting browsertrix (#1861) 2024-06-12 09:20:49 -07:00