Repository navigation
Settings search: additional search words for some settings - #902
Conversation
LeanBitLab
left a comment
There was a problem hiding this comment.
Thanks. Please rebase after #901 and fill in the PR reference. Add a test that every keyword entry points to an existing setting, and remove the runCatching so loading errors aren't hidden. Please also keep the list to words that find something title, description and partial matching miss.
Some settings can't be found by the words people use for them, e.g. "dark" for the colors or "backspace" for the delete swipe. A list of additional words per setting (English and German) is searched after title, title words and description, before parts of words. The list only has words the search doesn't find anyway. A test checks for both languages that every entry points to an existing setting and that each word finds its setting only because of the list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3be9f5f to
e794f0e
Compare
|
Thanks! Rebased onto main after #901. The |
LeanBitLab
left a comment
There was a problem hiding this comment.
Thanks, the requested changes are addressed: runCatching is gone, redundant words are removed, and the new keyword tests pass on current main.
Users search with their own words, which often aren't in the title or description: "dark" for the colors, "haptic" for vibration, "swipe" for gesture typing, "backspace" for the delete swipe.
settings_search_keywordslists additional words per setting key (key|word word ...), English and German for now. Other languages can translate it or leave it out; without it nothing changes.🤖 Generated with Claude Code