wrolpi/app/src/components/ui
Roland 7de1bead98
ui: three silent library defects the agents' reports surfaced
Each of these was reported by an agent working around it rather than patched in
one file, which is why all three are fixed once, for every call site.

Button accepted an `href` and dropped it.  Mantine renders an anchor only when
it also gets `component='a'`; Semantic spelled that `as='a'`.  So a migrated
call site that kept just the href produced something that looks like a download
link and navigates nowhere -- silently, with no warning.  Button and IconButton
now infer the anchor from the href.

The media filter ran twice on nested media.  A `.media` wrapper filters its
subtree as one unit -- the audio player needs that, because its control glyphs
are SVG and the element-type rule does not reach them -- but the poster image
inside also matched that rule.  Two passes of a luminance-to-red matrix is not
one: the second takes 0.2126 of an already-red pixel, so the poster came out
markedly darker than everything around it.  Leaf media inside a filtered
wrapper is now left alone.

Progress had no indeterminate state.  Semantic's `indicating` animated a stripe
when the size was unknown; without it an upload that has not reported yet sits
at 0% and reads as stalled -- and `aria-valuenow="0"` tells a screen reader the
same wrong thing.  It now animates, reports no value, and falls back to a
static fill under prefers-reduced-motion.

Also: night and amber now override an inline `--label-color`.  A call site may
legitimately need many distinguishable colours -- the Flasher's chip badges use
a twelve-colour palette no four tokens can express -- but on a night-adapted
screen a green or blue chip badge defeats the entire mode.  The labels lose
their distinctness there, which is the right trade.
2026-08-05 18:35:43 -06:00
..
Button.tsx ui: three silent library defects the agents' reports surfaced 2026-08-05 18:35:43 -06:00
DataTable.tsx ui: nine leaf files off Semantic, and the components they needed 2026-08-05 18:34:49 -06:00
Feedback.tsx ui: three silent library defects the agents' reports surfaced 2026-08-05 18:35:43 -06:00
Icon.tsx ui: Common.js and thirteen more files off Semantic 2026-08-05 18:34:50 -06:00
index.ts ui: nine leaf files off Semantic, and the components they needed 2026-08-05 18:34:49 -06:00
Inputs.tsx ui: thirty-five files off Semantic, leaving fifteen 2026-08-05 18:34:58 -06:00
Navigation.tsx ui: nine leaf files off Semantic, and the components they needed 2026-08-05 18:34:49 -06:00
Overlays.tsx ui: migrate the extension pages and Configs; five components they needed 2026-08-05 18:34:46 -06:00
SearchBox.tsx ui: fix the cypress failures, and two real defects behind them 2026-08-05 18:35:07 -06:00
Surfaces.tsx ui: thirty-five files off Semantic, leaving fifteen 2026-08-05 18:34:58 -06:00
ThemePicker.tsx ui: media filtering is a per-theme setting, not a night-mode hardcode 2026-08-05 18:34:47 -06:00
toast.ts ui: token-driven component library on Mantine 2026-08-05 18:34:44 -06:00
ui.css ui: three silent library defects the agents' reports surfaced 2026-08-05 18:35:43 -06:00
ui.test.js ui: three silent library defects the agents' reports surfaced 2026-08-05 18:35:43 -06:00