0004 — Navigation: sidebar, Inbox, Map, Usage, quick switcher¶
- Status: Accepted; steps (1) and (2) and the quick switcher with saved filters implemented (sidebar, Inbox, Sessions, Activity, Map, Usage; see SPEC §2, switcher, saved filters; the Map was removed in 0.8.2 until agents run inside the program). Replaces the planned top tabs (Board | Review | Settings).
- Size and order: (1) sidebar, Inbox, Sessions, Activity ~1.5–2 agent-days, right after the documentation restructure (0.2.0); (2) Map ~2 and Usage ~1 after environments and access (0010, 0.4.0); (3) Coordinator and Schedules with the runner, 0.11 (no Managers: the owner, 2026-11-16) (0012). Ctrl+K and saved filters ~0.5 (0.4.0).
Goal¶
One place to see everything that needs the owner, and a navigation that grows with relaybay without cluttering the header.
Layout¶
A left sidebar with two levels. Items whose feature does not exist yet are hidden.
Global:
- Inbox / Needs you — everything waiting for the owner: the Review queue
(0007), tasks with
waiting_on= the owner, agent questions, rule proposals (0002),ask-level environment requests (0006), later intake proposals. - All boards — the projects list.
- Coordinator — the desktop coordinator card until the runner exists: status, last reports, "open in desktop"; the coordinator comes from config.
- Map, Usage (0010).
- Activity — the event feed plus the live-actions journal.
- Settings — Integrations, Rules, notifications.
Projects, each expandable: Board, Sessions (hook statuses), Schedules, Stands & access, Docs & rules.
Phone: a bottom bar or a drawer instead of the sidebar.
Model and API¶
No new tables for step (1): Inbox and Activity are queries over tasks, sessions and events. The
owner's name for waiting_on matching comes from config. Inbox counts update live over SSE.
Routes: /inbox, /activity, /p/<slug>/sessions; existing URLs stay.
Quick switcher and saved filters¶
- Ctrl+K: fuzzy search over tasks (key, title), projects and sessions; Enter opens the task dialog, board or session. Not captured inside inputs.
- Saved filters: a named board query (stage, waiting on, session, text) stored in the database, shown under the project.
As built¶
- Search is a JSON endpoint (
GET /switcher) over a subsequence-style score in Python; results go into the page as text. It looks at the 2000 tasks and 500 sessions changed last, so a very old task may need the board's search instead. - A session opens as its row on the Sessions page; sessions have no page of their own.
- With nothing typed: at most 15 recent tasks and every project.
- A filter value that cannot be used shows the unfiltered board with an error line.
- Saved filters hold stage, waiting on, session and text;
archivedandpagestay out. With a filter on, a changed task refetches its column instead of its card, so it can leave or enter the view.
Risks¶
| Risk | Mitigation |
|---|---|
| Sidebar costs width on the board | Collapsible, remembered per browser; drawer on phones |
| Inbox becomes noise | Only items that need the owner; each links to the place where it is resolved |
| Empty items for unbuilt features | Hidden until the feature ships |