browsertrix/frontend
Tessa Walsh a546fb6fe0
Improve handling of duplicate org name/slug (#1917)
Initial implementation of #1892 

- Modifies the backend to return `duplicate_org_name` or
`duplicate_org_slug` as appropriate on a pymongo `DuplicateKeyError`
- Updates frontend to handle `duplicate_org_name`, `duplicate_org_slug`,
and `invalid_slug` error details
- Update errors to be more consistent, also return `duplicate_org_subscription.subId` for duplicate subscription instead of the more generic `already_exists`
---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2024-07-10 19:24:50 -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 Improve handling of duplicate org name/slug (#1917) 2024-07-10 19:24:50 -07:00
tests
xliff Add Repository Index + Chart Rename + Docs Rename (#1708) 2024-04-21 09:42:25 -07:00
.dockerignore
.editorconfig
.eslintrc.js
.gitignore
.prettierignore
.vscode
00-browsertrix-nginx-init.sh feat: support both ipv6 and ipv4 nginx resolver 2024-07-03 12:00:16 -07:00
Dockerfile Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
frontend.conf.template Add superuser API endpoints to export and import org data (#1394) 2024-07-02 17:14:34 -04:00
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 chore: fix frontend test dependencies 2024-07-08 17:18:16 -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