Repository navigation
ui: show panes instead of windows in the sidebar - #109
Merged
Merged
Conversation
Split windows used to collapse into one window row, hiding every agent
but the aggregate. Each pane of a split window now gets its own row:
agent panes show their hook-assigned pane title with per-pane state
glyph and badge, plain shells are numbered ("window · N"), and clicking
a row selects that pane via the existing onSelectPane wiring. Hover
preview and quick reply target the row's own pane.
Single-pane windows render exactly as before (window name, window
badge, onSelectWindow). The worktree count chip and its collapsed
attention dot now count and inspect panes.
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
The sidebar's expanded worktree rows now list panes instead of windows.
pi,claude) with a per-pane state glyph, pulse, and badgewindow · 2— with a split-rectangle glyph (pane titles for shells are usually just the hostname)onSelectPane→WorkspaceManager.selectPanewiring (window + pane focus)Why
Agents running in split panes were invisible in the sidebar: a window row only surfaced the window aggregate, so a 2-agent split showed one row and one state.
Notes
RuntimePanedata andonSelectPaneplumbing already existed end to end; this wires them into the rows.TaskWorktreeRowView) are untouched.Verification
mise run testUI/core suites pass; debug + release builds clean.