Skip to content

feat(web): the gauge carries its counts inside the bar - #237

Merged
haribo merged 1 commit into
developfrom
feat/236-counts-inside-the-gauge
Sep 10, 2026
Merged

feat(web): the gauge carries its counts inside the bar#237
haribo merged 1 commit into
developfrom
feat/236-counts-inside-the-gauge

Conversation

@haribo

@haribo haribo commented Sep 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • The gauge drew a thin bar and repeated the same data below as a row of counted icons (let the gauge carry its counts inside the bar #236, validated mockup): one 20px bar now carries its counts inside their own segments — white, bold, tabular — and the icon row is gone
  • A non-empty segment keeps a ~1.7em minimum width, so 214 accepted · 1 refused never hides the 1 — the accepted proportionality trade
  • The segment order is fixed inside the component (to review, accepted, refused, not instrumented) whatever the caller sends: position identifies the status as much as hue (WCAG 1.4.1); the full name stays as tooltip and accessible name
  • Both call sites benefit unchanged: the category table and the case table

Test plan

  • New specs: counts inside their segments with the minimum width held, the fixed order enforced (StateGauge.spec.ts, let the gauge carry its counts inside the bar #236)
  • Full gates: fe-check, fe-test (108), fe-test-e2e (63)
  • Screenshots of the catalogue, both themes, validated

Existing test modified (flagged): "sizes each segment by its count" now asserts the fixed order (reviewer leads) instead of the caller's order — the validated rule.

Closes #236

@haribo
haribo merged commit f17d005 into develop Sep 10, 2026
3 checks passed
@haribo
haribo deleted the feat/236-counts-inside-the-gauge branch September 10, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

let the gauge carry its counts inside the bar

1 participant