Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the jobs and builds cards are folded by default

Both cards on the jobs tab start shut and read nothing until opened; a link
with ?run= opens the builds card. The fold-and-build-on-first-open part of the
hives card is now one LazyDisclosure, which the hives card uses too. Docs
follow.
This commit is contained in:
iris 2026-10-26 20:09:17 +01:00
commit 8f5b3a2fa8

View file

@ -472,7 +472,10 @@ previous repo's issues under the error.
### Builds
The builds sit in a card under the job graph on the **jobs** tab. The old `/builds` address redirects there and keeps its query.
The builds sit in a card under the job graph on the **jobs** tab. Both cards are
folded when the tab opens, and each reads nothing until you open it; a link to
a build opens the builds card. The old `/builds` address redirects there and
keeps its query.
The **builds** card lists the agent config PR heads the swarm builder built,
newest first, from `GET /api/builder/runs`. Each card shows the repo and PR,
@ -482,7 +485,7 @@ read it: for a failed build, what `nix` printed; for a built one, the system
closure; for an error, why no build came back.
The **Details** link on a `swarm-builder` commit status opens the jobs tab as
`/jobs?run=<id>`, with that build's card open and in view. Links made before the
`/jobs?run=<id>`, with the builds card open and that build's card in view. Links made before the
builds moved, to `/builds?run=<id>`, redirect to the same place. The builder keeps
its newest 100 builds, so a link to an older one shows a note instead.