Repository navigation
Description
Problem
The Inbox caps each section's list at 300px, and at 160px or 96px under the idle notice, with its own scroll box. With 10 rows in Needs you, one row shows. Each row also spreads over several lines (now line, logs link, harness, cause, actions), so even uncapped it reads slowly.
Decision
A mailbox layout, chosen from three prototypes (variant A of prototype branch prototype/mailbox-inbox, commit 256d528, .scratch/prototypes/mailbox-inbox/README.md):
- Folders. The Inbox sections (Needs you, Ready for review, Landing, Working, Done, Resolved) are a folder list on the left with their counts. One section's rows show at a time. Sections hidden with Sections stay out of the list.
- Folder in the URL. Folders are links,
?section=<name>, so they work without JavaScript, survive reloads and can be shared. With nosection, the first section with rows opens. - One-line rows. State, subject, title, a gist of where the Command stands, and age on one line, ellipsized. Needs you rows end with their Copy button. The rest of a row (harness, cause, PR, actions, Session traces, children) is in Details. The list is never capped; the page scrolls.
- Details pane. The right column is the existing peek. It starts closed; selecting a row opens it, and j/k then move the selection and the pane together.
- Phone. Folders become a sideways-scrolling tab row, the list fills the width, and Details is the existing bottom sheet.
Changed after the prototype, from use against real sample data
- Details starts closed instead of open on the first row, so the list reads first.
- Rows without an issue title use the free space for a gist: the now line, else the first child's issue, finding or cause.
- Copy (from Add Copy to Needs you Console rows #1367) sits at the end of each Needs you row.
- Command details shows facts one per line, nested ones folded closed to drill into. CLI lines, the Dismiss command and Session trace paths stay on one line, cut off at the edge, with Copy at the end; file paths get a copy icon.
- History and Security use the same one-line rows that open Details.
- Times read in this machine's zone to the minute, such as
2026-10-25 17:43 EDT.
Acceptance
All met on branch ui, not yet merged:
- Needs you with 10+ rows shows every row without an inner scroll box.
- Every section name stays visible on a 1440×900 screen (the existing "all section headings fit above the fold" test, reworked for folders).
-
?section=selects the folder with and without JavaScript; live updates keep the folder, selection and pane. - Dismiss, Stop, the logs links and Session traces stay reachable, from Details.
- Works in every built-in Theme (ADR 0018, layout is shared) and keeps the CLI line (ADR 0016).
- 390px phone: folder tabs, full-width rows, bottom-sheet Details.
- Hand-written site pages that describe the Inbox are updated.
Context
Answers part of #917's Round 1: one-line rows (Q2) and full width (Q3). #917 stays open for the header, Stages page and peek contents.
The same branch also folds Experiment, Experiments list and Stages sections to one line each and adds notification and time-format tweaks; those have no issue of their own.
Activity