You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Settings search doesn't index descriptions in their entirety #22917
The "Theme" setting shows up in the search results, because it has the word "dark" (case-insensitive) in its description.
Actual
The "Theme" setting does not show up in the search results. Adding to my confusion, search terms are highlighted in the description, leading me to believe that they should match there as well.
I'm thinking this is the issue as well. This search component does all the 'indexing' client side via FuseJS. I found a tip in the docs that mentions only the first 60 characters are searched. Dark and Light are after that 60 character threshold.
changed the title [-]bug: Settings search does not query description[/-][+]bug: Settings search doesn't index descriptions in their entirety[/+]on Jan 5, 2021
Activity
markstory commentedon Jan 5, 2021
I wonder if it something specific to that form field. I was able to search other form fields by description.
chadwhitacre commentedon Jan 5, 2021
Interesting. I thought it might be entangled with #22915, but I tried on a local install where I am superuser and see the same unexpected behavior.
Furthermore, some strings match the description for "Theme," but not others:
🤔
Oooh! The second "theme" is not highlighted! 😲
chadwhitacre commentedon Jan 5, 2021
The search dropdown disappears when I try to inspect it in Chrome dev tools.
chadwhitacre commentedon Jan 5, 2021
Maybe we only index the first n characters?
markstory commentedon Jan 5, 2021
I'm thinking this is the issue as well. This search component does all the 'indexing' client side via FuseJS. I found a tip in the docs that mentions only the first 60 characters are searched. Dark and Light are after that 60 character threshold.
[-]bug: Settings search does not query description[/-][+]bug: Settings search doesn't index descriptions in their entirety[/+]chadwhitacre commentedon Jan 5, 2021
Sounds about right. Probably easy to tune, though I won't stand in the way of someone more qualified than I closing this issue as
wont-fix. :)github-actions commentedon Jan 27, 2021
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it
Status: Accepted, I will leave it alone ... forever!"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
chadwhitacre commentedon Jan 27, 2021
E.g. @github-actions. Eminently qualified. :)