Repository navigation
Add F5 shortcut to refresh file/folder pickers and comparison view - #30
Merged
svenbuild merged 4 commits intoNov 19, 2026
Merged
Conversation
- Add optional cache-bypass support to listDirectory IPC so manual refreshes reflect file modifications, creations, and deletions on disk. - Bind F5 on the Setup screen to reload open directories in Local compare panes (preserving navigation history and selection) and the Git repository browser. - Bind F5 on the Compare screen to invoke the existing runCompareFromToolbar handler directly, guarded so hidden mounted instances do not trigger while Settings or dialogs are open.
added 3 commits
November 19, 2026 17:41
Folders visited before the refresh now reload on the next visit instead of showing the renderer copy from before the refresh.
…rowser hook The renderer already forgets every cached folder on F5, but the main process could still serve an old listing for a revisited folder whose mtime did not change. GitRepositoryBrowser is not mounted anywhere, so its F5 handler never ran and is removed again.
Owner
|
Thanks, merged! Changes I pushed on top before merging:
|
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.
Summary
F5keyboard shortcut support on the Setup screen to refresh files and folders in the local file/folder pickers (bypassing both renderer and main-process directory caches so newly created, deleted, or modified files appear immediately without losing navigation history) as well as the Git repository browser.F5keyboard shortcut support on the Compare screen by invoking the existingrunCompareFromToolbar()handler directly instead of duplicating reload logic, guarded so it only triggers when the Compare screen is active and no modal dialog is open.(F5)shortcut.explorer-service.testValidation
npm run checknpm testnpm run electron:packageNotes
I have no experience with TypeScript, Svelte, or Electron, so I delegated the code implementation to an AI assistant and verified the behavior locally on Windows. Please review carefully for any idiomatic improvements or edge cases I might have missed.