feat(ui): ranked fuzzy Settings search with in-place editing (#317) - #331
Merged
Merged
Conversation
Search now ranks every row (label, keywords, description, caption/tab), tolerates typos, and shows the real controls in the results so settings change without leaving the search. Every labelled schema row gets meta keywords. Tray item lists stay out of search. Version 0.21.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KPUNAWcwghXdHCApcKKjSG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KPUNAWcwghXdHCApcKKjSG
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.
Closes #317. Version 0.21.0.
Max (2026-10-03): search should rank matches best to worst, be fairly fuzzy, find settings by meaning (meta keywords), let you change a setting right in the results instead of jumping to its page, and leave the Tray menu list items out.
ui/src/search/search.js(pure) scores each row: label exact > label word-prefix > label substring/fuzzy > keywords > description > card caption / tab name. Every query word must match; scores add up; whole-label and phrase bonuses, shorter labels break ties. Stopwords (in, the, to, ...) never have to match and add only a tie-break.settings-schema.jshas a hiddenkeywordslist (9-19 words: synonyms, shortcut terms, spelling variants). "mouse position", "center", "centered", "edge" find Pointer position and Text cursor position; "night light" finds Warmth; "inertia" finds Release glide; "crosshair" finds Inspect mode. A unit test fails if a row has none.SettingRowwith a quiet tab label, using the page's session and persist handlers. Clicking does not navigate. Advanced rows are always found and editable; ashowIf-gated row shows dimmed.Gates:
build.bat test535 pass,build.bat configbuilds, Playwright 170 pass (20 search tests: ranking, typos, keywords, in-place edits of switch/select/slider/keybind, advanced rows, tray exclusion). Unsigned (no SignPath enrollment yet).🤖 Generated with Claude Code
https://claude.ai/code/session_01KPUNAWcwghXdHCApcKKjSG