Skip to content

feat(ui): lightweight data viz for issues, transactions, release health - #318

Merged
ajianaz merged 1 commit into
developfrom
feat/mini-charts
Sep 3, 2026
Merged

feat(ui): lightweight data viz for issues, transactions, release health#318
ajianaz merged 1 commit into
developfrom
feat/mini-charts

Conversation

@ajianaz

@ajianaz ajianaz commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

What

  • Sparkline component: 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)
  • Transactions table: relative duration mini-bar per row (vs the page max) for instant slowest-at-a-glance scanning
  • Release health: crash-rate mini-bar in the table using the same severity thresholds as the number color (<1 success, <5 warning, else destructive)
  • New --abnormal semantic token replacing the last raw orange-500/text-orange-600 dark:text-orange-400 classes

Why

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 build pass; full Playwright suite 16/16
  • Visually validated dark mode: events-per-day chart (uniform bars incl. zero slots), duration bars, crash-rate bar, abnormal legend color

- 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
@ajianaz
ajianaz merged commit 0652cc8 into develop Sep 3, 2026
17 checks passed
@ajianaz
ajianaz deleted the feat/mini-charts branch September 3, 2026 06:55
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.

1 participant