FoundKey/packages/client
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
..
.vscode improve ide support 2021-11-18 23:52:41 +09:00
@types Fix theme import (#8749) 2022-05-28 21:59:23 +09:00
assets bye room 2022-01-07 17:06:47 +09:00
src client: optimize, simplify and smartify emoji picker search 2022-09-01 08:21:43 -04:00
.eslintrc.js Update .eslintrc.js 2022-07-13 13:26:48 +02:00
package.json chore: remove s-age dependency 2022-08-28 11:35:18 -04:00
tsconfig.json refactor(client): Refine routing (#8846) 2022-07-09 05:56:36 -04:00
vite.config.ts feat: show real local info in instance ticker 2022-08-25 21:22:02 +00:00
vite.json5.ts refactor: use Vite to build instead of webpack (#8575) 2022-05-01 22:51:07 +09:00