Skip to content

Add folder browser and branch switcher dialogs#5

Merged
tspython merged 2 commits into
masterfrom
claude/add-folder-dialogs-WgB1o
Mar 29, 2026
Merged

Add folder browser and branch switcher dialogs#5
tspython merged 2 commits into
masterfrom
claude/add-folder-dialogs-WgB1o

Conversation

@tspython
Copy link
Copy Markdown
Owner

Adds two new modal dialogs that follow the existing modal pattern:

  • Folder browser (b key): Navigate the filesystem to find and open git repos. Shows directories with green dot badges for git repos, supports hidden file toggle (.), backspace to go up, and opens repos on Enter.

  • Branch switcher (B key): Lists local branches, highlights current branch, and checks out the selected branch on Enter.

Both dialogs use the same GPU-rendered modal overlay system with styled rectangles, scrollable lists, and keyboard navigation. Includes new git operations (list_branches, checkout_branch) and toolbar buttons.

https://claude.ai/code/session_01KZkMKjBBxGt2MiRrY8ftiU

claude added 2 commits March 25, 2026 15:16
Adds two new modal dialogs that follow the existing modal pattern:

- Folder browser (b key): Navigate the filesystem to find and open git
  repos. Shows directories with green dot badges for git repos, supports
  hidden file toggle (.), backspace to go up, and opens repos on Enter.

- Branch switcher (B key): Lists local branches, highlights current
  branch, and checks out the selected branch on Enter.

Both dialogs use the same GPU-rendered modal overlay system with styled
rectangles, scrollable lists, and keyboard navigation. Includes new
git operations (list_branches, checkout_branch) and toolbar buttons.

https://claude.ai/code/session_01KZkMKjBBxGt2MiRrY8ftiU
The custom in-app folder browser required tedious manual navigation
from the filesystem root. Replace it with rfd (Rust File Dialog) which
opens the native OS folder picker (Finder on macOS, GTK on Linux,
Explorer on Windows). Users can now browse their actual disk and select
any folder to open as a git repo.

Also removes unused folder browser theme constants and state fields.

https://claude.ai/code/session_01KZkMKjBBxGt2MiRrY8ftiU
@tspython tspython merged commit 6b3685c into master Mar 29, 2026
1 check passed
Sign up for free to 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.

2 participants