Repository navigation
feat(alert-dashboard): Hub figures, chips, tabs and data pieces from console-ui - #5559
Open
shepherdjerred wants to merge 2 commits into
Open
shepherdjerred wants to merge 2 commits into
shepherdjerred wants to merge 2 commits into
Conversation
…console-ui Why Hub still carried its own copies of the shared look: KPI card grids, pill chips, three tab implementations, a table, sparkline, status matrix and two meters, plus hand-rolled section heads. Every console should use the one set of pieces. What - KPI card grids, glance tiles, `hero-figure` and the CI queue cells become `FigureStrip` (the CI jobs Kueue cells now have the strip's gutter). - `visual-pill` and the mono chips become `Chip`; filter buttons, the cluster, observability, trace, reports-feed and detail tab bars become `Tabs`. - Local DataTable, Sparkline, StatusMatrix and the budget/stacked meters are deleted in favour of the console-ui ones; Hub keeps StackTree, the signal list and the uPlot charts. - Remaining `block-heading` h2s and the promotion page's hand-built section heads and glance strip become `Section` and `FigureStrip`; `.block-heading` and about 1,200 lines of dead CSS are gone. - console-ui Banner text takes the full row on a phone (it wrapped in a narrow column beside the glyph). - Conformance allowlist 85 -> 56 counts (19 -> 13 entries); jscpd baseline tightened. - e2e selectors migrated one for one to roles and labels (tab -> radio, `.metric`/`.eng-kpi-card` -> term cells via a `figure()` helper); expect counts unchanged: alerts 88, ops 136, reports 43, traces 57, volume 68, hub-views 81. Verification - bunx turbo run build typecheck test lint for alert-dashboard and console-ui pass; bunx lefthook run pre-commit and bun run jscpd pass. - bun run test:e2e in alert-dashboard: 161 passed. - Not run: extended tier, CI, deployment. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
|
This change is part of the following stack: Change managed by git-spice. |
Contributor
|
Automatic reviews are disabled for this repository. Configure in Code Review Settings. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
shepherdjerred
marked this pull request as ready for review
December 3, 2026 07:15
…n heads, accent tone Why Review of the H4 stack asked for the Hub workarounds to move into the shared pieces and for the remaining hand-built section heads to go. What - console-ui FigureStrip adds a screen-reader severity word beside the glyph and a `renderLink` slot; a linked figure now stretches over its whole cell. Hub's local severity-word workaround is removed and Home's glance figures use the slot (router link, new-tab link for Tracker). - console-ui StackedMeter segments accept `tone: "accent"`; the "Prior-round saved" gate-outcome segment takes it again. - Home, system, alert detail, areas, attention, flow, new-since-last-visit and the CI stacks heads are Section; the unused section CSS is removed. - README lines and console-ui tests for each. Verification - bunx turbo run test typecheck lint for alert-dashboard and console-ui pass; tests of every console-ui dependent pass except streambot's unrelated moveSession test. - bunx lefthook run pre-commit and bun run jscpd pass. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Hub still carried its own copies of the shared look: KPI card grids, pill chips, three tab implementations, a table, sparkline, status matrix and two meters, plus hand-rolled section heads. This is H4 of the one-look plan; it is stacked on #5550 (which is stacked on #5546).
What
hero-figureand the CI queue cells becomeFigureStrip(the CI jobs Kueue cells now have the strip's gutter).visual-pilland mono chips becomeChip; filter buttons and the cluster, observability, trace, reports-feed and detail tab bars becomeTabs.block-headingh2s and the promotion page's hand-built section heads and glance strip becomeSectionandFigureStrip..block-headingand about 1,200 lines of dead CSS are removed.Bannertext takes the full row on a phone instead of a narrow column beside the glyph.FigureStripgains a screen-reader severity word and arenderLinkslot (the whole cell is the link) and Home's glance figures use it;StackedMetersegments accepttone: "accent"(restores "Prior-round saved"); the remaining hand-builtui-section-headheaders (Home, system, alert detail, areas, attention, flow, new-since-last-visit, CI stacks) areSection..metric/.eng-kpi-card-> term cells via afigure()helper).expect(counts unchanged: alerts 88, ops 136, reports 43, traces 57, volume 68, hub-views 81.Demo
The CI jobs page now has a gutter on the Kueue figure cells, and the Home banner text takes the full row on a phone.
Verification
bunx turbo run build typecheck test lintfor alert-dashboard and console-ui: pass.bunx lefthook run pre-commit,bun run jscpd: pass.bun run test:e2e(alert-dashboard): 161 passed.bun run verify:extendedover the whole affected graph wandered through unrelated dependents, so I ranturbo run test:extendedfor alert-dashboard and console-ui only: pass. Unit tests of every console-ui dependent pass except streambot's unrelatedmoveSessiontest.bun run test:e2e: 161 passed after the follow-ups.🤖 Generated with Claude Code