FoundKey/packages/client/src
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
..
components client: optimize, simplify and smartify emoji picker search 2022-09-01 08:21:43 -04:00
directives fix: binding is not defined 2022-08-18 15:15:17 +02:00
filters client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
pages refactor: use separate component for birthday dates 2022-08-28 15:27:39 -04:00
scripts client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
themes client: remove _acrylic 2022-08-12 21:25:06 +00:00
types client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
ui client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
widgets Fix lints in timeline and sub-note-content 2022-08-19 15:36:22 -04:00
account.ts client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
config.ts feat: show real local info in instance ticker 2022-08-25 21:22:02 +00:00
const.ts enhance: MediaListでは、サーバーで許可された形式しか表示しないように (#8113) 2022-01-27 00:08:48 +09:00
emojilist.json Supports Unicode Emoji 14.0 (#8699) 2022-05-25 16:35:30 +09:00
events.ts refactoring 2021-11-12 02:02:25 +09:00
i18n.ts refactoring 2021-11-12 02:02:25 +09:00
init.ts client: fix some lints 2022-08-12 08:35:22 +02:00
instance.ts client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
menu.ts client: fix some lints 2022-08-12 08:35:22 +02:00
nirax.ts client: fix some lints 2022-08-12 08:35:22 +02:00
os.ts client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
pizzax.ts fix some lints automatically 2022-08-10 22:42:30 +02:00
plugin.ts client: fix some lints 2022-08-12 08:35:22 +02:00
router.ts fix router for new page editor path 2022-08-18 17:34:20 +02:00
store.ts Update store.ts (#8937) 2022-07-16 11:59:30 -04:00
stream.ts client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
style.scss client: remove _acrylic 2022-08-12 21:25:06 +00:00
theme-store.ts fix some lints automatically 2022-08-10 22:42:30 +02:00