You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: global fold/unfold β collapse or expand all repositories at onceΒ #68
Currently the TUI only supports β / β to fold/unfold a single repository at a time. This feature adds a single shortcut to toggle the folded state of all repositories simultaneously.
Acceptance criteria
A single shortcut (e.g. Shift+β / Shift+β, or Z) collapses / expands all repository sections at once
Toggling is idempotent: pressing "fold all" when all are already folded has no visible effect (or cycles to unfold)
The cursor remains visible after the toggle (scroll offset adjusts if needed)
Keyboard shortcut is documented in docs/reference/keyboard-shortcuts.md
Implementation notes
Logic lives in src/tui.ts (keyboard handler) β no pure-function module change needed unless toggling state warrants a helper
The per-repo fold state is stored in the foldedRepos set; "fold all" = add every repo key; "unfold all" = clear the set
After toggling, call the existing cursor-visibility logic to ensure the view scrolls correctly
Branch
feat/tui-global-fold-unfold β merge into feat/tui-navigation-result-management
Validation
bun test
bun run lint
bun run format:check
bun run knip
Activity
Add fast navigation: gg/G top/bottom, Page Up/Down, Ctrl+U/D
Add fast navigation: gg/G top/bottom, Page Up/Down, Ctrl+U/D