browsertrix/frontend
Emma Segal-Grossman a7382ebb98
Use internal rounded bar in <btrix-meter> for QA analysis meters (#1869)
Closes #1851 

This changes how we use the `<btrix-meter>` component: previously, we
didn't set a `max` value on it, so it was drawing its internal (rounded)
bar at 100% of the meter width, and then drawing the
`<btrix-meter-bar>`s inside that 100% width bar. This changes that, and
instead it now does the following:

- Draws the internal rounded bar to the width of the proportion of their
counts to the total page count;
- Adjusts the `<btrix-meter-bar>`s to be proportional to the completed
page count rather than the total page count
- Uses the `"available"` slot in `<btrix-meter>` to draw the remaining
"No data" bar & tooltip in the remaining space outside of the internal
rounded bar

This also includes a couple unrelated but adjacent changes:

- Changes the page count text to say "Analysis starting" when the
analysis run is starting, because there's no meaningful page count at
that point.
- Uses the pending state when the total page count is falsy (`undefined`
or `0`), rather than just `undefined`
2024-06-21 22:40:56 -07:00
..
.husky Run frontend formatter on pre-commit hook (#461) 2023-01-12 14:04:15 -08:00
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 Use internal rounded bar in <btrix-meter> for QA analysis meters (#1869) 2024-06-21 22:40:56 -07:00
tests Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
xliff Add Repository Index + Chart Rename + Docs Rename (#1708) 2024-04-21 09:42:25 -07:00
.dockerignore Optimizing Frontend Dockerfile (#60) 2021-12-05 18:39:45 -08:00
.editorconfig chore: add editorconfig in frontend 2023-02-24 13:04:11 -08:00
.eslintrc.js Fix missing page component imports (#1610) 2024-03-18 20:55:35 -07:00
.gitignore
.prettierignore Ensure linting & formatting runs in CI (#1512) 2024-01-31 18:25:44 -05:00
.vscode
00-browsertrix-nginx-init.sh
Dockerfile Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
frontend.conf.template quickfix: nginx: have nginx serve the fallback index.html with a 200 instead of a 404 (#1742) 2024-04-24 07:09:08 +02:00
index.d.ts enable a few more useful eslint suggestions & correct some more types (#1517) 2024-02-09 16:14:08 -08:00
lit-localize.json Frontend prod build optimizations (#54) 2021-12-03 18:00:14 -08:00
minio.conf Local Deployment Work: Support running locally + test cluster on CI (#396) 2022-12-02 19:58:34 -08:00
package.json Merge branch 'main' into 1.10.2-release 2024-06-12 23:59:56 -07:00
playwright.config.ts CI: Add Playwright UI e2e tests + CI (#614) 2023-03-22 16:23:22 -07:00
postcss.config.js Org settings layout fix + misc styling & consistency improvements (#1427) 2023-12-13 17:29:35 -05:00
prettier.config.js Fix mismatch in prettier import order config (#1609) 2024-03-18 22:14:13 -04:00
README.md Update frontend local dev guide (#1073) 2023-08-15 12:03:39 -07:00
sample.env.local Frontend build fixes (#191) 2022-03-10 23:26:21 -08:00
tailwind.config.js Reorganize frontend build files (#1803) 2024-05-15 19:46:52 -07:00
tsconfig.eslint.json Upgrade Prettier to 3 (#1513) 2024-01-31 20:56:17 -05:00
tsconfig.json Initial QA Review UI! (#1624) 2024-04-04 15:09:52 -07:00
web-test-runner.config.mjs
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 Emit eslint errors during webpack builds & during dev (#1667) 2024-04-09 17:42:31 -04:00
yarn.lock fix: Prevent ReplayWeb.Page shoelace components from impacting browsertrix (#1861) 2024-06-12 09:20:49 -07:00