Skip to content

feat: collapse a folder to its most urgent session with ^X C - #169

Merged
brtkwr merged 1 commit into
mainfrom
feat/collapse
Oct 30, 2026
Merged

brtkwr merged 1 commit into
mainfrom
feat/collapse

Conversation

@brtkwr

@brtkwr brtkwr commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

From t3code's collapsible project folders: stops a busy repo from taking over the grouped list.

  • With ^X G grouping on, ^X C collapses the selected session's folder. It shows only its first session in each section, which is the most urgent one since the list is sorted, and the header counts the rest: ▸ api 5 · 4 more. ^X C again expands it.
  • The cursor skips hidden sessions (arrows and wheel). If the selected session gets hidden, the cursor moves to the session its folder shows.
  • Pinned sessions are never hidden. Collapsed folders are saved in sessions.json, so they survive restarts.
  • Ungrouped, ^X C does nothing.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QUnP8jVL2NG9cWmohJTyun

With folders grouped, ^X C collapses the selected session's folder: it
shows only its first, most urgent session in each section, the header
counting the rest (▸ api 5 · 4 more), and the cursor skips the hidden
ones. Again to expand. Collapsed folders are kept in sessions.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUnP8jVL2NG9cWmohJTyun
@brtkwr
brtkwr enabled auto-merge October 30, 2026 09:11
@brtkwr
brtkwr merged commit 71030f3 into main Oct 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant