browsertrix/frontend/src/pages
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
..
org Use internal rounded bar in <btrix-meter> for QA analysis meters (#1869) 2024-06-21 22:40:56 -07:00
accept-invite.ts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
crawls.ts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
home.ts Fix newly created org missing from user's org list (#1799) 2024-05-20 19:27:19 -07:00
index.ts
join.ts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
log-in.ts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
orgs.ts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
reset-password.ts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
sign-up.ts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00
users-invite.ts Allow superadmins to set role when inviting user (#1801) 2024-05-15 19:47:23 -07:00
verify.ts Add ESLint rules for import ordering (#1608) 2024-03-18 21:50:02 -04:00