Repository navigation
feat(fleet-sync): shell-style path autocomplete (Tab, arrows), ~ expands in transfers - #63
Merged
Merged
Conversation
…fers Fleet Sync's source and destination path boxes now complete as you type: ~/pro offers ~/projects/, /ho offers /home/. Tab completes the shared prefix (or the one match), arrows pick, Enter or a click takes one, and taking a folder keeps the list open on its contents. The source path lists the source (this machine or a server over SFTP); the destination path lists the first ticked destination. Listings are cached for 30 s per directory. Over SFTP there is no ~, so ~/x is listed as the home-relative x. Locally, rsync runs without a shell, so a ~/site source used to reach it literally: resolveEndpoint now expands a leading ~ for local endpoints, keeping a trailing slash. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 free
to 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.
Fleet Sync's path boxes complete like a shell.
~/proand it offers~/projects/;/hooffers/home/. Folders first, dotfiles only after a..~/xpath reached rsync literally (no shell expands it).resolveEndpointnow expands a leading~for local endpoints, keeping a trailing slash.Tests:
src/lib/path-complete.test.ts(8) andexpand-home.test.ts(2); desktop suite 214/214. Rendered with the mock bridge in both themes:~/lists the server's home,~/re+ Tab gives~/releases/.🤖 Generated with Claude Code