Highlighting matched characters would make it less ambiguous why we’re seeing non-exact search results
(per https://futureland.tv/pixouls/entry/134823?fullscreen=1)
Highlighting matched characters would make it less ambiguous why we’re seeing non-exact search results
(per https://futureland.tv/pixouls/entry/134823?fullscreen=1)
For this example, I don’t think anything should be highlighted, unless the full string “wiki” existed somewhere in the results.
How I would approach: If that string exists, highlight it in results, but if it doesn’t, and you are only getting fuzzy results, say “no exact matches” and then list as displayed.
This makes sense to do and I’ll do it. The main thing is making sure that the rendering of highlights is safe (from userscript), but that’s nbd.
for reference, the library i’m using for fuzzy search matching is called, appropriately enough, fuzzy. Generally I don’t use a lot of third party libs in Kinopio, but in the weeds of fuzzy search is not a great place to hang out
this is shipped now https://twitter.com/KinopioClub/status/1493242523829035012