Skip to content

feat(web): group worktree threads into sidebar cards - #35

Merged
connorch merged 1 commit into
mainfrom
connorch/sidebar-worktree-grouping
Sep 18, 2026
Merged

connorch merged 1 commit into
mainfrom
connorch/sidebar-worktree-grouping

Conversation

@connorch

Copy link
Copy Markdown
Owner

The default sidebar lists every thread on its own, so the threads working in one worktree scatter across the list as activity and ordering change. Keeping them together meant living on the separate Connor Mode sidebar.

This makes the default sidebar gather the pinned and active threads of one worktree into a single card. The card is a read-time view over the flat, server-ordered thread list: members gather behind their highest-ranking member, and nothing is stored for the card itself. Rows are unchanged; the card is a shared well with flush rows.

  • Dragging any row lifts the whole card and writes a contiguous key block to every member, so mobile and other devices show them adjacent too. Dropping a card on Settled settles every member.
  • Option at press, or a still hold before moving, drags one row inside its card.
  • Pin and unpin fan out to every member from the context menu, command palette, mod+shift+p, and drag. Labels read "Pin worktree" / "Unpin worktree" when siblings exist.
  • Snoozed and settled threads leave the card for their shelves. Search results stay flat. Mobile is untouched.
  • Toggle: Settings > General > Worktree cards (sidebarGroupWorktreeThreads, on by default, default sidebar only).

Docs: new "Worktree cards" section in the thread sidebar guide and a glossary entry.

No screenshots attached; the design was picked from static mocks and this fork PR is self-merged.

Built by Claude Fable 5.1 in Claude Code (T3 Code).

Threads that share a worktree render as one card in the default sidebar.
A card is a read-time view over the flat, server-ordered thread list:
members gather behind their highest-ranking member, drag moves the card
as a block, and pin/unpin fan out to every member from every entry point.
Toggle under Settings > General > Worktree cards.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@connorch
connorch merged commit 6133edf into main Sep 18, 2026
7 of 16 checks passed
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XL labels Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant