browsertrix/frontend
Henry Wilkinson f507f1d2ec
Fixes allowed actions for viewers and crawlers throughout the app (#1326)
Closes #1294

### Changes
- `crawl-list` component
- Adds a check if there are any items in the actions menu. If not, skip
rendering the actions menu.
- This allows us to give the component no actions! Currently required to
remove them for viewers!
- Collection Details
  - Hides "Remove from Collection" option for viewers
- Crawls List
- Removes the single "View Crawl Details" option from archived items for
viewers
- All the other actions were already set up correctly to be used by all
roles!
- Dashboard
  - Hides org settings gear icon button unless the user is an admin
  - Hides "Create New" dropdown for viewers
- Workflow Details
  - Hides workflow edit icon button for viewers
  - Hides the "Delete Crawl" option in archived items for viewers
  - Hides the "Run Crawl" option for viewers
- Workflow List
- Hides all edit-related options for viewers, the only option now is
copying tags
- Removes the deactivate / delete options (were only visible when
running a crawl) in the workflow list actions

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
Co-authored-by: sua yoo <sua@suayoo.com>
2023-11-17 14:41:21 -08:00
..
.husky
.vscode
assets
config supports overriding the replayweb.page version without having to be r… (#1122) 2023-09-05 20:10:21 -04:00
scripts
src Fixes allowed actions for viewers and crawlers throughout the app (#1326) 2023-11-17 14:41:21 -08:00
tests
xliff revert changes from i18n (will address elsewhere) 2023-11-13 19:36:03 -05:00
.dockerignore
.editorconfig
.gitignore
.prettierignore
00-browsertrix-nginx-init.sh fix(build): use /usr/bin/env bash instead of /bin/bash (#1020) 2023-07-28 21:50:04 -07:00
Dockerfile supports overriding the replayweb.page version without having to be r… (#1122) 2023-09-05 20:10:21 -04:00
frontend.conf.template Passthrough X-Forwarded-Proto header in frontend nginx (#1226) 2023-09-28 10:58:57 -07:00
index.d.ts Frontend collections beta UI (#886) 2023-06-06 17:52:01 -07:00
lit-localize.json
minio.conf
package.json version: bump to 1.8.1 2023-11-17 14:39:52 -08:00
playwright.config.ts
postcss.config.js
README.md Update frontend local dev guide (#1073) 2023-08-15 12:03:39 -07:00
sample.env.local
tailwind.config.js build: fix webpack dev server recompiling without changes 2023-09-19 12:15:58 -07:00
tsconfig.json
web-test-runner.config.mjs
webpack.config.js supports overriding the replayweb.page version without having to be r… (#1122) 2023-09-05 20:10:21 -04:00
webpack.dev.js build: disable webpack polling for hot reload 2023-09-18 15:14:34 -07:00
webpack.prod.js
yarn.lock Use org slug in place of UUIDs in app URLs (#1277) 2023-10-18 09:28:30 -07:00