The processing-pipeline drawer presented a failed parse worst-side-up.
The error card printed the error code twice (headline plus a solid red
pill), gave the most prominent line to the generic "check the logs"
filler, and left the one line that explains the failure — the backend's
own message — last, smallest and greyest. Around it, the waterfall left
roughly half the panel blank, ruled its time axis at 0/124/247/371/494ms
(the raw total cut in four), flung a ROOT/STAGE label to the far right of
every name cell, and drew the stages that an upstream failure had
abandoned as pending rows with dashed stubs pinned to the track edge.
Error card
- Headline says which stage broke; the code appears once, as a quiet
chip. The backend message is promoted to the card's primary line.
- Retry moves into the card, next to the reason, and loses the
brand-green outline it wore against a red failure. It stays in the
toolbar only when a failure carries no last_error.
- The headline no longer uses --td-error-color on the card's own error
tint, which measured around 3:1 in both themes.
Waterfall
- Axis ticks round onto a 1/2/2.5/5 x 10^n step, and bars are positioned
against the rounded axis maximum so bars and ruler cannot disagree.
Gridlines mark each tick behind the bars.
- Kind labels are reserved for `generation` spans instead of stamping
ROOT/STAGE/SPAN on every row via margin-left:auto.
- Depth is carried by indent guides rather than three near-identical row
tints that read as banding.
- Stages abandoned by an upstream failure say "not run" and recede.
Layout and interaction
- The detail panel opens on load, on the failed span or the root, so the
panel is not half empty and the rows are discoverably clickable. It
stays closed once the user closes it.
- The waterfall is content-sized (capped at 60%) and the detail absorbs
the remainder, instead of a fixed 50/50 that clipped rows mid-height.
- The dot-joined meta sentence becomes label/value stats; the panel name
moves to an overline above the filename.
Axis math moves to utils/traceAxis.ts with unit tests. New i18n keys are
added to all five locales; three keys left unreferenced by this change
are removed.