status board pane — for idiots
Class:
for-idiots· the zero-knowledge walkthrough. What it IS: status-board-design.md · how to use it: status-board-guide.md.
What is the Status board?
Imagine a wall of little coloured lights, one per build pipeline: green if the last build passed, red if it failed, amber if it is still running, grey if it never ran. That wall is the Status board — a tab in the dwarves GUI window.
Why does it exist?
We already taught dwarves to draw a status badge (dwarves badge build). The Status board just shows a whole bunch of them at once, on screen, so you can see the health of every pipeline at a glance.
How it works, simply
- The board has a little list of recent builds (a demo fixture).
- For each pipeline it asks the same helper the
dwarves badgecommand uses: "what did this pipeline's newest build do?" - It paints a coloured chip with that answer.
Because it asks the same helper, the colours on screen always match what the command prints — there is only one place that decides "green means passing."
Clicking a row
Click a pipeline and the full badge picture (an SVG — a tiny self-contained image) opens up as text underneath. Copy that into a web page and you get the exact same badge you saw on the board. Click again to close it.
The interesting rows
- bench is running → amber. (Before, anything not-green was painted red; now a running build gets its own amber colour.)
- history ran twice — passed, then failed. The board shows failing, because it always trusts the newest build.
- unknown-pipe never ran → grey "unknown". That is not a bug; there is just nothing to report yet.