Repository navigation
feat: add Connor Stack sidebar mode with worktree grouping - #3
Merged
Merged
Conversation
Replace the Sidebar V2 beta toggle with a five-way sidebar mode select (Default, Flat, and three Connor modes that group threads by git worktree). Worktree groups carry rename, last-viewed-thread navigation, and a prioritized attention indicator (question/approval, failed, working, unread). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Stack mode (connor-1) now nests worktree cards and local-checkout threads under collapsible project sections, sharing the Default sidebar's project sort (last user message / created at / manual), thread sort (which orders rows inside expanded worktrees), and project-expansion store. The header gains the same sort menu and add-project affordances as the Default sidebar. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Manual project sorting in Stack mode now supports dragging project sections, using the same @dnd-kit setup and shared projectOrder preference as the Default sidebar. A post-drop click guard keeps the drag from also toggling the section's expansion. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Right-clicking a project section offers Hide project (with an Undo toast) alongside new-thread and copy-path items. Hidden projects leave the list until the sort menu's new Filter switch shows them, where they render dimmed with an eye-off badge and an Unhide action. Both the per-project flags and the filter persist in the ui-state store, keyed by the same preference aliases as project expansion. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Connor Mode is now just the Stack take: the mode select offers Default, Flat, and Connor Mode, and the Tree/Focus variant components, their expansion state, and the variant plumbing are gone. Stored "connor-2" / "connor-3" values decode to "connor-1" instead of failing the settings blob, which would have reset every client setting. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed
Adds a new sidebar mode ("Connor Stack") that groups threads by worktree instead of by project, alongside the existing Default and Flat sidebars. Includes:
SidebarModesetting (default/flat/connor-1) that supersedes the legacysidebarV2Enabledboolean while staying backwards compatible with it.SidebarConnor.logic.ts) with collapsed-group status indicators, per-thread status dots, and group navigation (which thread to open when clicking a collapsed group).Why
The Default and Flat sidebars organize threads by project, but a large share of my work happens across parallel git worktrees on the same project. Connor Stack makes the worktree the unit of navigation so I can see, at a glance, which worktree needs attention (approval pending, question asked, working, or unread) without expanding every thread.
UI Changes
New sidebar mode selectable from sidebar settings. Not including screenshots/video here since this is a personal workflow feature, not a general product change - happy to add if useful for review.
Checklist