Skip to content

fix(runs): shorten stage digests, scroll a long stage strip, fit the trace waterfall and the token split to a narrow window - #397

Merged
harenome merged 2 commits into
ThinkFlowLab:mainfrom
harenome:fix/page-overflow
Nov 24, 2026
Merged

harenome merged 2 commits into
ThinkFlowLab:mainfrom
harenome:fix/page-overflow

Conversation

@harenome

@harenome harenome commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #388

What

  • A stage label names its image by digest: it now shows sha256: and the first 12 hex, as docker images does, with the full label as its tooltip. Shortened once, where the stages are folded (progress.fold), so the page and its live updates show the same label. Names are never cut; labels wrap anywhere.
  • More stages than the width holds scroll sideways inside the strip, each stage at least 7rem wide; the page never scrolls sideways. Under 44rem the strip stacks, as before.
  • Under 640 px the trace waterfall's name column gives way (minmax(0, 3fr) minmax(0, 2fr) 5.5rem instead of 300px 1fr 5.5rem) and its axis keeps only its first and last ticks; bars stay on the one global axis.
  • The job page's token split opens leftwards when it would pass the window's right edge, as the table menus already flip at the left.

Touches

runs (progress), templates and static

Before and after

Before After
before-stage-strip-1280 after-stage-strip-1280
before-stage-strip-390 after-stage-strip-390
before-trace-waterfall-390 after-trace-waterfall-390
before-token-popover-390 after-token-popover-390

Rows: stage strip at 1280 px; stage strip at 390 px; trace waterfall at 390 px; token split at 390 px.

Verified

  • Backend suite (2861 on main as of today, one new: a 64-hex digest becomes 12 hex with the full label kept, a label without one unchanged) and route suite (664), in a clean container.
  • Chromium, a job with 16 stages, nine environments named by image digest, the last ones with long names:
    • 1280 px: before, stage boxes 14 px wide with labels overlapping. After, a row of stages at least 112 px wide, labels at most 10 lines, the strip scrolls in its own box (1804 px of content in 991), page 1280.
    • 390 px: before, page 713 px wide. After, stacked, page 390, labels at most 3 lines.
    • All nine digest labels carry the full 64-hex digest in their tooltip.
    • Trace at 390 px: columns 300px 0px 88px, 4 overlapping ticks, Duration cut, page 437; then 132px 88px 88px, 2 ticks apart, Duration whole, page 390.
    • Token split at 390 px: x 208 to 456 (page 456), then 67 to 315 (page 390).

Risk

A label shows a digest short: two images differing only after the 12th hex would read alike, as in docker images; the tooltip has the full one. A run with 7 or more stages between 44rem and about 60rem of strip now scrolls sideways where it was squeezed. Styles, one toggle listener and one label fold. Undone by a revert.

…plit to a narrow window

A stage label wraps anywhere, and more than eight stages stack at any width. Under 640 px the waterfall's name column gives way and its axis keeps its first and last ticks. A token split that would open past the window's right edge opens leftwards.
…strip in its own box

A stage label names its image by digest; it now shows sha256: and the first 12 hex, as docker images does, with the full label as its tooltip. More stages than the width holds scroll sideways inside the strip, each at least 7rem wide, instead of stacking into a vertical list at any width.
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.

Job and trace pages overflow the window: stage labels overlap, the waterfall and the token popover run off narrow screens

1 participant