feat(ui): lightweight data viz for issues, transactions, release health - #318
Merged
Conversation
- Sparkline component (dependency-free flex bars) with aria-label; renders per-day event buckets on the issue detail page (last 14 days, sampled from up to 100 events) - Transactions table: relative duration mini-bar against the page max - Release health: crash-rate mini-bar using the existing severity thresholds; add --abnormal semantic token and drop the last raw orange palette classes
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.
What
Sparklinecomponent: dependency-free bar chart (flex divs, semantic tokens,role=img+ aria-label). Renders an events-per-day chart on the issue detail page (last 14 days, bucketed from up to 100 sampled events)--abnormalsemantic token replacing the last raworange-500/text-orange-600 dark:text-orange-400classesWhy
An error tracker benefits from at-a-glance trends, but the bundle is embedded in a single Rust binary — so charts are built from plain DOM/SVG-free primitives instead of pulling in a charting library. Only data already returned by the API is visualized (no new endpoints).
Testing
npm run check(0 errors),npm run buildpass; full Playwright suite 16/16