Skip to content

feat(navigator): add navigator_collapse_workspaces option - #4

Draft
Castrozan wants to merge 1 commit into
upstream-masterfrom
feature/navigator-open-collapsed
Draft

feat(navigator): add navigator_collapse_workspaces option#4
Castrozan wants to merge 1 commit into
upstream-masterfrom
feature/navigator-open-collapsed

Conversation

@Castrozan

@CastrozanCastrozan commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Adds an opt-in navigator_collapse_workspaces UI option (default false).

The Navigator/goto picker currently expands every workspace to its panes
on open, so a session with many workspaces opens fully cascaded. When
navigator_collapse_workspaces = true, the picker instead opens collapsed
to workspace-level rows; a non-empty query still expands to matching panes.

Default behavior is unchanged: with the option off (the default), the
picker expands all workspaces exactly as before.

@Castrozan
Castrozanforce-pushed the feature/navigator-open-collapsed branch from 33486ef to 4c76122CompareJuly 11, 2026 18:50
@Castrozan
Castrozan changed the base branch from tmux-session-switcher to upstream-masterJuly 12, 2026 18:08
@Castrozan
Castrozan marked this pull request as draft July 12, 2026 18:08
@Castrozan
Castrozanforce-pushed the feature/navigator-open-collapsed branch from 4c76122 to 33d479aCompareJuly 12, 2026 19:17
@CastrozanCastrozan changed the title feat(navigator): open goto picker collapsed to workspace level by defaultfeat(navigator): add navigator_collapse_workspaces optionJul 12, 2026
@Castrozan
Castrozanforce-pushed the feature/navigator-open-collapsed branch from 33d479a to cc4a1d2CompareJuly 12, 2026 19:27
@Castrozan

Copy link
Copy Markdown
OwnerAuthor

Upstream tracking. Proposed as a config option on the herdr discussion "Make goto panel's workspace expansion configurable": herdrdev#1051 (my comment: herdrdev#1051 (comment)).

Related discussions: herdrdev#1258 (goto_depth tree-depth variant) and herdrdev#1248 (collapse single-pane tabs).

Holding this PR until a maintainer approves the contribution path per herdr CONTRIBUTING: features go through a discussion first, and a first-time contributor needs a maintainer /approve into APPROVED_CONTRIBUTORS before an upstream PR.

The Navigator/goto picker expands every workspace to its panes on open.
Add an opt-in navigator_collapse_workspaces UI option (default false) that
instead opens the picker collapsed to workspace-level rows; a non-empty
query still expands to matching panes. Default behavior is unchanged.
@Castrozan
Castrozanforce-pushed the feature/navigator-open-collapsed branch from cc4a1d2 to 0ad7525CompareJuly 12, 2026 20:35
Sign up for freeto 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

@Castrozan