Skip to content

feat: add hidden files toggle to remote file picker - #269

Draft
ethanndickson wants to merge 2 commits into
mainfrom
file-picker-seay
Draft

ethanndickson wants to merge 2 commits into
mainfrom
file-picker-seay

Conversation

@ethanndickson

@ethanndickson ethanndickson commented Sep 15, 2026

Copy link
Copy Markdown
Member

The remote file picker has filtered out dotfiles since #127, and I don't think there was a strong reason for it. It does mean paths like .mux/worktrees/<name> can't be selected as the remote directory for a file sync session.

To fix, this PR adds a Show hidden files checkbox to the bottom of the picker, persisted via @AppStorage, and moves the filtering out of LSResponse.toModels and into the views. The agent already returns dotfiles, so toggling it just filters what's already loaded rather than refetching. If a hidden entry is selected whilst the toggle is turned off, we clear the selection so Select can't submit something that's no longer visible.

@ethanndickson ethanndickson changed the title Add hidden files toggle to remote file picker feat: add hidden files toggle to remote file picker Sep 15, 2026
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.

1 participant