diff --git a/docs/jobs-unification.md b/docs/jobs-unification.md index 1c4945d0..61092002 100644 --- a/docs/jobs-unification.md +++ b/docs/jobs-unification.md @@ -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