FoundKey/packages
Chloe Kudryavtsev 538e81db56 client: optimize, simplify and smartify emoji picker search
The query is split up on spaces, and we search for each of those terms,
in order, anywhere in the emoji name or any aliases/keywords.

This is done in a single filter pass against a compiled regex,
making the process reasonably performant.
Based on rough estimates, it should be between 2 and 5x faster
than the old implementation, depending on several factors.

There is a natural space left in to sort by relevancy (not done yet).
It should also be easy to make the number of matches shown configurable.
The number of matches is relevant, especially pre-sort.
Another consideration is to delay the calculation by up to 300ms.
2022-09-01 08:21:43 -04:00
..
backend pin dependencies 2022-08-29 20:36:01 -04:00
client client: optimize, simplify and smartify emoji picker search 2022-09-01 08:21:43 -04:00
foundkey-js foundkey-js: document change to es modules 2022-08-28 17:17:40 -04:00
shared client: fix some lints 2022-08-12 08:35:22 +02:00
sw add foundkey-js to each workspace package.json 2022-08-26 16:38:41 -04:00
meta.json refactoring 2021-11-12 02:02:25 +09:00