dashboard: render step sub-line on rebuild queue entries (closes #437)
Frontend half of #437 — paired with damocles's #501 backend which adds `step: Option<String>` to `QueueEntry` and annotates 9 worker phases across ApplyCommit / Spawn / MetaUpdate / Rebuild pipelines. When `entry.step` is present, render a cyan `↳ <step>` sub-line below the main row in `renderQueueEntry`. Wraps to its own flex line via `flex-basis: 100%`, indented 1.8em to align under the state glyph + kind. Terminal transitions clear `step` on the backend, so the sub-line just disappears on Done / Failed rows — no client-side staleness handling needed. CSS: `.rqe-step` keys off cyan to visually group with the running-spinner color cue (vs the muted `.rqe-when` / `.rqe-reason` chips). `tabular-nums` keeps the indented arrow column stable as step strings change length mid-build. docs/web-ui.md updated to describe the new sub-line behaviour in the R3BU1LD QU3U3 section.
This commit is contained in:
parent
a286ae777c
commit
50986b5a05
3 changed files with 28 additions and 3 deletions
|
|
@ -791,6 +791,18 @@ code {
|
|||
.rqe-source-approval { color: var(--green); border-color: var(--green); }
|
||||
.rqe-when { color: var(--muted); font-size: 0.85em; }
|
||||
.rqe-reason { color: var(--muted); font-size: 0.85em; flex: 1 1 auto; }
|
||||
/* #437: in-flight step indicator on running queue entries — sub-line
|
||||
below the main row, indented under the state glyph + kind. Cyan
|
||||
keeps it visually grouped with the running spinner instead of
|
||||
blending into the muted reason/timing chips. flex-basis: 100% so
|
||||
it always wraps to its own line. */
|
||||
.rqe-step {
|
||||
flex-basis: 100%;
|
||||
margin: 0.1em 0 0 1.8em;
|
||||
color: var(--cyan);
|
||||
font-size: 0.85em;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.rqe-error {
|
||||
flex-basis: 100%;
|
||||
margin: 0.3em 0 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue