Pull pipeline/ from boilerplate e397005: the queue chip counts down a retry

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-09-28 19:43:21 +02:00
1 parent 074a41c6cf
commit 0558ef19ed
2 files changed
+21 -7

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ The same file defines `<desk-queue>`, a chip for a top bar:
<desk-queue href="/jobs">All runs</desk-queue>
```
The chip is a dot, the running count and the first running job's label and progress ("Embedding roles, 6 of 6, +2 waiting"), with the job's message as its tooltip. It is grey and says "Idle" when nothing runs, and shows a red dot and "Offline" while the socket is down; under `40rem` it shrinks to the dot and the count. Pressing it opens a popover listing every running and queued job with its message, done/total, a ticking age and Kill, one Stop run per live cascade of more than one job (`POST /api/cascades/{id}/cancel`), and, with `href`, a link to the app's own page whose text is the element's content ("All runs" without any). It reads the `--desk-jobs-*` properties with fallbacks instead of setting them, so a theme on `:root` or an ancestor reaches it and without one it takes the bar's colour and font. It does not re-raise notices, because it sits next to a `<desk-jobs>` on some pages. `idle="hide"` hides it while idle; `base`, `socket` and `probe` are as above.
The chip is a dot, the running count and the first running job's label and progress ("Embedding roles, 6 of 6, +2 waiting"), with the job's message as its tooltip. It is grey and says "Idle" when nothing runs, and shows a red dot and "Offline" while the socket is down; under `40rem` it shrinks to the dot and the count. Pressing it opens a popover listing every running and queued job with its message, done/total, a ticking age, a countdown for one waiting out a retry, and Kill, one Stop run per live cascade of more than one job (`POST /api/cascades/{id}/cancel`), and, with `href`, a link to the app's own page whose text is the element's content ("All runs" without any). It reads the `--desk-jobs-*` properties with fallbacks instead of setting them, so a theme on `:root` or an ancestor reaches it and without one it takes the bar's colour and font; `--desk-jobs-warn` colours the countdown. It does not re-raise notices, because it sits next to a `<desk-jobs>` on some pages. `idle="hide"` hides it while idle; `base`, `socket` and `probe` are as above.
## Many jobs and one report