Skip to content

style(dashboard): rebuild Cycle Time charts in Recharts to match Stabilization#98

Merged
trentas merged 1 commit into
mainfrom
style/cycletime-recharts
Jun 11, 2026
Merged

style(dashboard): rebuild Cycle Time charts in Recharts to match Stabilization#98
trentas merged 1 commit into
mainfrom
style/cycletime-recharts

Conversation

@trentas

@trentas trentas commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Rebuilds the two per-repo Cycle Time charts in the same Recharts format as the Stabilization Distribution chart — which is what "same look and feel" actually meant (the earlier bar-thickness tweak missed it).

Before → after

  • Before: hand-rolled CSS bars (one <div> row per repo, fixed bar height).
  • After: Recharts horizontal BarChart, layout="vertical", with:
    • category Y-axis of repo names (truncated from the start, full name in tooltip),
    • % X-axis (0→100%) with dashed vertical gridlines,
    • fixed 200px container, same var(--color-*) palette and color ramp,
    • custom tooltips.

Identical structure to DeliveryQuality's Stabilization Distribution.

% PRs Merged within 1 Day — by Repo

Single bar per repo (share merged within a day), color-ramped green→orange by speed.

Cycle Time Distribution — by Repo

Stacked bar per repo, the 5 cycle-time buckets normalized to 100%, legend kept below, per-bucket tooltip. Both charts sorted fastest→slowest so they align row-for-row.

Notes

👉 The Vercel preview deploy is the way to confirm it now looks like the Stabilization chart. If the Y-axis width (170px) feels tight in the half-width cards, say the word and I'll trim it.

🤖 Generated with Claude Code

…ilization

The two per-repo Cycle Time charts ("% PRs Merged within 1 Day" and
"Cycle Time Distribution") were hand-rolled CSS bars; the prior tweak
only thickened them, which wasn't the ask. Rebuild both with the same
Recharts horizontal-bar pattern as the Stabilization Distribution chart:
category Y-axis of repo names, % X-axis with dashed gridlines, fixed
200px container, and the existing color ramp / bucket palette via CSS
vars.

- Ranking: single bar per repo (% merged within 1 day), color-ramped.
- Distribution: stacked bar per repo, buckets normalized to 100%, with
  the legend kept below and a per-bucket tooltip.
Both sorted fastest→slowest so the two charts align row-for-row.

No data or types changed — same CycleTimeData.perRepo input.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clickbus-iris Ready Ready Preview, Comment Jun 11, 2026 7:42pm

Request Review

trentas added a commit that referenced this pull request Jun 11, 2026
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@trentas trentas merged commit 858d817 into main Jun 11, 2026
4 checks passed
@trentas trentas deleted the style/cycletime-recharts branch June 11, 2026 19:36
trentas added a commit that referenced this pull request Jun 11, 2026
* fix(platform): sync dashboard footer version (v1.4.3)

The footer renders platform/package.json's version via
NEXT_PUBLIC_BUILD_VERSION, but that file was never part of the release
checklist, so it sat at 1.0.7 while the product shipped v1.4.x. Bump it
to the product version and add platform/package.json to the release
checklist so the footer tracks releases going forward.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs(changelog): note the Cycle Time chart restyle (#98) in v1.4.3

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@clickbussuperuser

Copy link
Copy Markdown

Plan Error

running git clone --depth=1 --branch style/cycletime-recharts --single-branch https://clickbussuperuser:<redacted>@github.com/RocketBus/iris.git /atlantis-data/repos/RocketBus/iris/98/default: Cloning into '/atlantis-data/repos/RocketBus/iris/98/default'...
fatal: Remote branch style/cycletime-recharts not found in upstream origin
: exit status 128

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