Repository navigation
Feature: Quick jump to visited folders in Omnibar (Ctrl+G) - #19090
Closed
manuelcontrera wants to merge 1 commit into
Closed
manuelcontrera wants to merge 1 commit into
manuelcontrera wants to merge 1 commit into
Conversation
|
|
Member
|
Merging with #18998. |
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.
Why this feature?
Navigating between deep project directories often means either setting up bookmarks manually or clicking through breadcrumbs repeatedly.
This PR adds an automatic "Go to folder" mode to the Omnibar (shortcut:
Ctrl + G), powered by a frecency algorithm (frequency + recency, similar tozoxideor modern browser address bars).Ctrl + G, type 2–3 letters of the folder name, hitEnter, and you're there.How it works
IVisitedFoldersService: Tracks successful folder navigations inModernShellPageandColumnShellPage. Calculates a frecency score weighted by hours since last visit.visited_folders.jsonin local AppData without blocking the UI thread.OmnibarGoToMode: A 4th native mode inNavigationToolbar.xamlwith auto-focus, live in-place filtering, and keyboard navigation (Up/Down/Enter/Esc).Transparency note
This feature was prototyped with AI-assisted vibe-coding, but thoroughly audited, debugged, and tested locally. A clean build was verified with
-warnaserror(packaging to.msixbundletested end-to-end).Steps used to test these changes
Ctrl + G; verified the Omnibar enters Go-To mode with the folder icon and opens the dropdown with frequent folders.down); verified suggestion list filters instantly in real time.Enter; verified Files navigates immediately to the chosen folder, resets Omnibar back to Breadcrumb mode, and sets focus to the file pane.Esc; verified Omnibar closes cleanly without changing directory.