Problem
Navigating a deep Folder tree leaves many branches open, and returning to a compact overview requires closing each Folder one at a time. Starting from a collapsed tree likewise requires opening each branch individually when someone wants to scan everything.
Desired behavior
Add one state-aware action to the sidebar header:
- When all visible Folders are collapsed, the action expands every Folder.
- When any visible Folder is expanded, the action collapses every Folder.
- The icon, tooltip, and accessible label describe the action that will run.
- The result uses the existing per-workspace Folder expansion persistence.
- Hide the action when the sidebar has no Folders.
This follows the compact file-explorer controls used by tools such as Obsidian, VS Code, and Zed while preserving Hubble's existing sidebar layout.
Problem
Navigating a deep Folder tree leaves many branches open, and returning to a compact overview requires closing each Folder one at a time. Starting from a collapsed tree likewise requires opening each branch individually when someone wants to scan everything.
Desired behavior
Add one state-aware action to the sidebar header:
This follows the compact file-explorer controls used by tools such as Obsidian, VS Code, and Zed while preserving Hubble's existing sidebar layout.