doc: header running + queued job indicators (3d)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 14:42:30 +00:00
co-authored by Claude Opus 4.8
parent ae361d2a2f
commit 56531aedb7
+5 -1
View File
@@ -84,5 +84,9 @@ Favor power-user affordances over guardrails. See memory `sole-user-assume-compe
- [x] `inline` flag plumbed (parser + list/detail endpoints); 3 quick tasks flagged.
- [ ] 3c FileBrowser task action: `task.inline ? openModal : navigate('/jobs/new?...')`. Modal stays
for inline tasks (not retired); shared input form used by both.
- [ ] 3d header running-jobs indicator (`GET /jobs?live=1`).
- [ ] 3d header job indicators — two always-present badges next to the avatar + reload-tasks:
(1) **running** count (0/1) → links to the running job's `/jobs/:id`;
(2) **queued** count → links to the queue (`/jobs`). Backed by a lightweight
`GET /jobs/counts``{ running, runningJobId, queued }`, polled while mounted (cheap, avoids
fetching full lists). Badges hide/dim at 0.
- [ ] 4 push notifications