Repository navigation
Description
The workflow
My threads spawn sub-agents, so many sidebar rows have sub-threads. Many times a day I hover a row to expand it, or to archive a finished one, without slowing down to aim.
What happens today
Seen on bb 0.46.1, measured on main at e2f4b9d: a parent row keeps its expand chevron right after the title, under the hover actions. When the two collide, useDisclosureActionsClearance slides the actions so the chevron fits between Archive and "…" (L902-L919). So from one row to the next:
- Archive moves. It sits 30 or 58 px from the right edge, before or after the chevron, depending on the title length.
- Archive is 2 px from the chevron. Aim for one and you get the other: a confirmation dialog by default, or, with confirmations off, the thread and all its sub-threads archived.
- No count. A collapsed parent doesn't say how many sub-agents it holds.
- Whose spinner? A collapsed parent shows its sub-threads' work with the same glyph as its own (L542-L572). "Triage open bug reports" below is idle, yet spins.
| Today (main) | Proposal (prototype) |
|---|---|
![]() | ![]() |
![]() | ![]() |
Measured with Playwright in a Ladle story with neutral data (in the branch), against main's ThreadRow and the proposal's, each row hovered in turn:
| Sidebar | Archive from the right edge, today → proposal | Chevron to Archive, today → proposal |
|---|---|---|
| 220 px | 30 px on leaves, 58 px on parents → 30 px everywhere | 2 px → 118 px |
| 288 px | 30 or 58 px, order flips → 30 px everywhere | 2–26 px → 186 px |
| 360 px | 30 px → 30 px | 16–98 px, follows the title → 258 px |
To reproduce:
P=$(bb thread spawn --json --project <project-id> --title "Triage open bug reports" --prompt "Reply only with ok." | jq -r .id)
Q=$(bb thread spawn --json --project <project-id> --title "Migrate billing to Stripe webhooks and retries" --prompt "Reply only with ok." | jq -r .id)
bb thread spawn --project <project-id> --parent-thread "$P" --title "Child" --prompt "Reply only with ok."
bb thread spawn --project <project-id> --parent-thread "$Q" --title "Child" --prompt "Reply only with ok."Then hover a thread without sub-threads, then each parent, and compare where Archive and the chevron land.
What you would expect
Two edges, two jobs. PR: #5910.
- Left edge: disclose. A parent's provider icon turns into the chevron on hover and keyboard focus, and is a chevron on touch screens. With provider icons off, the chevron hangs in the left margin, so titles stay aligned with leaves. Leaf rows don't change.
- Right edge: one slot. Status at rest; Archive and "…" on hover, where a leaf row has them today. The chevron is now 118–258 px away.
- A count after the title.
4sub-threads, or⟳ 2/4while 2 of them work. The glyph keeps the kind of work (runtime, workflow, plan mode, goal). Screen readers get it from the toggle's description: "3 threads, 2 working, Claude Code". - The status glyph is the row's own. Hidden sub-threads still raise attention on it (needs input, draft); their work moves to the count.
Context and alternatives
This is the third pass on this corner of the row. #3821 kept the chevron still so Archive would stop landing under it; #5125 stopped hidden actions from eating title space. The collision measurement that satisfies both is what moves Archive now. The proposal satisfies both without measuring: nothing moves on hover, and parents truncate exactly like leaves.
What other sidebars do. Disclosure leads, or hugs the label; the trailing edge is one hover slot, and disclosure never shares it with a destructive action:
| Product | Disclosure | Trailing edge | Source |
|---|---|---|---|
| Open WebUI | folder icon turns into the chevron on hover | "…" | RecursiveFolder.svelte |
| Apple Mail, HIG | chevron on the leading edge, in a margin outside the icon column | unread count | HIG, Mail |
| VS Code trees | 16 px twistie, leading | inline actions; counts stay at the far right | tree.css, scm.css |
| Fluent 2 Tree | chevron, leading | quick actions replace the badges | useTreeItemLayout.tsx, guidelines |
| Primer TreeView | toggle column, leading | trailing action | TreeView.module.css |
| Zed threads | chevron follows the label (headers) | one slot: rename and Archive (Stop while running) | sidebar.rs |
| Conductor 0.44 | none | the diff stat turns into Archive | changelog |
| Linear | chevron right after the label | muted count | docs |
Exceptions: shadcn's sidebar-08 and Primer NavList put the chevron at the right edge, as the row's only trailing control (nav-main.tsx, NavList.tsx).
Tried and dropped:
- Pin Archive to one side of the chevron: the order holds, but Archive still moves with the title, 2 px from the chevron.
- Reserve fixed columns for the chevron and the actions on every row: stable, but leaves get empty gaps and every title loses about 30 px.
- A chevron column on every row (VS Code): an empty column on every leaf.
What it costs: the chevron moves from the right edge to the left (relearned once), and a parent's provider icon is hidden while the row is hovered.
Checks
- I searched open and closed issues for the same request.
- If an agent wrote this, the body ends with
> AGENT GENERATED.
AGENT GENERATED





Activity
bb-slop-cop commentedon Oct 20, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotuiandconfirmed-repro.Restore sidebar quick-action order on parent threads (get-bb#6088)
Reserve quick-action space only on collapsed parent rows (#8056)