feat(navigator): add navigator_collapse_workspaces option - #4
Draft
Castrozan wants to merge 1 commit into
Draft
Conversation
Castrozanforce-pushed
the
feature/navigator-open-collapsed
branch
from
July 11, 2026 18:50
33486ef to
4c76122CompareCastrozan
marked this pull request as draft
July 12, 2026 18:08
Castrozanforce-pushed
the
feature/navigator-open-collapsed
branch
from
July 12, 2026 19:17
4c76122 to
33d479aCompareCastrozanforce-pushed
the
feature/navigator-open-collapsed
branch
from
July 12, 2026 19:27
33d479a to
cc4a1d2CompareCastrozan
commented
Jul 12, 2026
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.
Castrozanforce-pushed
the
feature/navigator-open-collapsed
branch
from
July 12, 2026 20:35
cc4a1d2 to
0ad7525Compare
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 freeto 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.
Adds an opt-in
navigator_collapse_workspacesUI option (defaultfalse).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 collapsedto 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.