Add settings search#5100
Merged
Merged
Conversation
Marc-André Moreau (mamoreau-devolutions)
approved these changes
Jul 15, 2026
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.
This pull request introduces a comprehensive, user-friendly search system for the settings interface, allowing users to quickly find and navigate to specific settings or package manager preferences. The main changes include a hand-authored, locale-aware search index, logic for scoring and ranking search results, and UI updates to display and interact with suggestions. Additionally, it implements logic to scroll to and briefly highlight the relevant setting when a suggestion is selected.
Settings Search Infrastructure
SettingsSearchIndexthat provides a hand-authored, multilingual-aware search index for settings and package manager preferences, including logic for tokenizing, normalizing, and ranking search queries against indexed entries.SettingsSearchResultdata structure to represent a single search result, including fields for the display title, page, manager, and anchor target.ViewModel and UI Integration
MainWindowViewModelto maintain and update a collection ofSettingsSuggestions, handle opening/closing of suggestions, and implement keyboard navigation and selection logic for suggestions. Selecting a suggestion navigates to the correct settings page or manager and, if applicable, scrolls to and highlights the specific control.OpenSettingsPagemethod to accept an optionalanchorparameter, allowing navigation to and highlighting of a specific control within a settings page.Highlighting and Navigation
SettingsAnchorstatic class, which provides logic to scroll a named control into view and briefly highlight it with an animated border, improving user orientation when navigating to a search result.