Highlight matched characters in card search

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)

2 Likes

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.

2 Likes

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

1 Like

update almost ready, in testing

2 Likes

this is shipped now https://twitter.com/KinopioClub/status/1493242523829035012

2 Likes