Skip to content

fix(hub): show build status labels in history - #403

Merged
lukasoppermann merged 1 commit into
mainfrom
lukasoppermann-build-status-labels
Nov 26, 2026
Merged

lukasoppermann merged 1 commit into
mainfrom
lukasoppermann-build-status-labels

Conversation

@lukasoppermann

@lukasoppermann lukasoppermann commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: ab320bbbc98147b847af64de877049999d1a2536

Dimension Assessment Rationale
Change confidence 8.5/10 ↑ Reuses the existing Build state component and renders all five states in History.
↑ Hub lint, format, tests, build, and Storybook build passed.
↓ Full Hub CI and a live Rails Hub were not verified.

Why

Build History showed plain status text while Build details used status labels. Consistent labels make Build states easier to recognize.

What changes

History now uses the existing Build status labels. The Multiple story shows queued, superseded, running, failed, and successful Builds together.

Full Hub CI could not run because the configured ports were occupied and the npm registry connection reset. The local preview uses Storybook data rather than a running Rails Hub.

Storybook screenshots

Hub/Pages/Builds/Index - Single: light, 1280 × 720

Single Build history

Hub/Pages/Builds/Index - Unlinked Author: light, 1280 × 720

Build history with an unlinked author

Hub/Pages/Builds/Index - Multiple: light, 1575 × 1232, timeline crop

Build history with all five states

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@lukasoppermann
lukasoppermann requested review from a team and nshki as code owners November 26, 2026 10:49
Copilot AI adaptive review requested due to automatic review settings November 26, 2026 10:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The review records no active issues, and the change is limited to adopting the shared BuildStateLabel presentation with expanded lifecycle-state fixtures.

No open issues 🎉

What changed in this PR

Updates Hub Build History to use the shared BuildStateLabel component, making lifecycle status presentation consistent with Build details.

Changes:

  • Replaces plain history status text with soft Build state labels.
  • Expands the Multiple Storybook story to cover queued, superseded, running, failed, and successful Builds.
  • Updates the latest Build fixture to represent the queued state.
File Description
hub/​app/​javascript/​pages/​builds-index-page/​stories.tsx Expands the Multiple Storybook story with fixtures for all Build lifecycle states and updates the latest Build fixture.
hub/​app/​javascript/​pages/​builds-index-page/​index.tsx Renders shared soft-appearance status labels for each historical Build.

Review effort: Lite (adaptive)

@lukasoppermann
lukasoppermann merged commit 149ac46 into main Nov 26, 2026
42 checks passed
@lukasoppermann
lukasoppermann deleted the lukasoppermann-build-status-labels branch November 26, 2026 11:10
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