browsertrix/frontend/src
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
..
__generated__
__mocks__
assets
classes
components Merge branch 'main' into 1.10.2-release 2024-06-12 23:59:56 -07:00
controllers Fix browser navigation button usage in QA review (#1776) 2024-05-07 19:42:43 -07:00
features Merge branch 'main' into 1.10.2-release 2024-06-12 23:59:56 -07:00
pages Use internal rounded bar in <btrix-meter> for QA analysis meters (#1869) 2024-06-21 22:40:56 -07:00
types Use standard firstSeed/seedCount fallback for workflows with no name in profile details (#1852) 2024-06-06 14:28:19 -04:00
utils fix: Show correct max depth in settings (#1858) 2024-06-12 15:05:01 -05:00
index.ejs fix: Prevent ReplayWeb.Page shoelace components from impacting browsertrix (#1861) 2024-06-12 09:20:49 -07:00
index.test.ts
index.ts Misc UI fixes (primarily buttons) (#1814) 2024-05-22 15:55:52 -04:00
manifest.webmanifest
replayWebPage.d.ts Auto-load seed url when replaying seeded crawls (#1786) 2024-05-07 14:03:14 -04:00
routes.ts
shoelace.ts
styles.css
theme.stylesheet.css QA review Replay embed improvements (#1775) 2024-05-10 11:30:21 +02:00
theme.ts