Skip to content

feat(ui): roll slim click-to-filter stat strip out to all registers#158

Merged
unidoc-ahall merged 1 commit into
masterfrom
feat/stat-strip-rollout
Jul 10, 2026
Merged

feat(ui): roll slim click-to-filter stat strip out to all registers#158
unidoc-ahall merged 1 commit into
masterfrom
feat/stat-strip-rollout

Conversation

@unidoc-ahall

Copy link
Copy Markdown
Contributor

Rolls the slim, always-visible StatStrip (introduced for Tasks in #157) out to the remaining registers, closing #156.

Each register opened with a grid of big stat cards that pushed the list well below the fold. This swaps them for the shared chip strip: count + label, click-to-filter, active chip highlighted — same data, same filtering, a fraction of the height.

Converted: Suppliers, Assets, Legal, Systems, Incidents, Corrective Actions, Objectives, Changes, Risks.

Notes

  • StatStrip gains an optional per-chip static flag — display-only chips for derived metrics that aren't a filter dimension (Critical / Severe / High).
  • Risks: the four summary chips span different filter dimensions (level vs status), so they're display-only; the Risk Map stays in its collapsible "More".
  • Corrective Actions: its summary cards were plain (non-clickable) before — they're now click-to-filter, consistent with the rest.
  • Audit is intentionally left out: it has two stat sections plus a boolean "overdue" toggle mixed into the chips, which doesn't fit the single-v-model strip. Can follow up separately if wanted.

just build-web green. No API/logic changes beyond wiring the existing filter refs to the strip.

…156)

Adopts the shared StatStrip (from #157) across Suppliers, Assets, Legal, Systems,
Incidents, Corrective Actions, Objectives, Changes and Risks — replacing the tall
stat-card grids that pushed each list far down. Counts + filtering stay glanceable
in a fraction of the height.

StatStrip gains an optional per-chip `static` flag for derived metrics that aren't
a filter dimension (Critical / Severe / High), rendered as display-only chips.
Risk's summary chips are display-only (they span different filter dimensions) and
its Risk Map stays in its collapsible "More". Corrective Actions' summary cards
become click-to-filter for the first time, matching the other registers.

Closes #156.
@unidoc-ahall unidoc-ahall added this to the 0.7.1 milestone Jul 10, 2026
@unidoc-ahall unidoc-ahall requested a review from unidoc-alip July 10, 2026 14:21

@unidoc-alip unidoc-alip left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean, mechanical rollout of the shared StatStrip component (from #157) across all nine remaining registers, closing #156. StatStrip gained a well-scoped static flag for display-only chips (Critical/Severe/High), and every view's statusStats/summaryStats computed correctly mirrors the pre-existing stats fields, filter keys, and colors from the card grid it replaces — no dropped states, no orphaned filterStatus wiring, no v-html/new input surfaces. Verified npm run build is green and traced each converted view's fallback logic (stats.total || total || 0, etc.) against the prior markup; all matches.

No must-fix or should-fix issues found.

LGTM

@unidoc-ahall unidoc-ahall merged commit 099ce4d into master Jul 10, 2026
2 checks passed
@unidoc-ahall unidoc-ahall deleted the feat/stat-strip-rollout branch July 10, 2026 14:31
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.

2 participants