Commit graph

3581 commits

Author SHA1 Message Date
Henry Jameson
c1be65332f always focus search when opening emoji picker 2022-11-01 23:25:34 +02:00
Henry Jameson
11f9a7ba27 update popover styles when caret updates 2022-10-17 21:23:25 +03:00
Henry Jameson
4a1ffced44 fix unit tests 2022-10-10 22:04:49 +03:00
Henry Jameson
faca1b31e3 better autocomplete handling, fix leak 2022-10-10 20:26:32 +03:00
Henry Jameson
692342a77f focus search input when opening emoji picker 2022-10-10 20:11:04 +03:00
Henry Jameson
d2fabe1a71 use anchor for picker 2022-10-10 00:37:59 +03:00
Henry Jameson
8fa1f0b50d move keepOpen to picker 2022-10-10 00:33:58 +03:00
Henry Jameson
296a6fa4e3 some shitty initial implementation of emoji picker with popover 2022-10-09 23:42:36 +03:00
Henry Jameson
518fcf856a fix blinking popup 2022-10-09 23:09:31 +03:00
Henry Jameson
2469415809 fix css 2022-10-09 23:02:42 +03:00
Henry Jameson
05640e4cc1 cleanup 2022-10-09 23:02:39 +03:00
Henry Jameson
4631b1b9f7 suggestor popover 2022-10-09 22:09:50 +03:00
HJ
03b61f0a9c Merge branch 'from/develop/tusooa/grouped-emoji-picker' into 'develop'
Group emojis into packs in emoji picker

See merge request pleroma/pleroma-fe!1408
2022-09-22 08:11:25 +00:00
Tusooa Zhu
a7f836a64e
Make suggestor suggest according to cldr annotations 2022-09-21 23:16:33 -04:00
Tusooa Zhu
cc58b9b93d
Add regional indicators 2022-09-20 21:50:40 -04:00
Tusooa Zhu
980241c1ac
Support filtering by keywords from cldr 2022-09-20 21:06:57 -04:00
Tusooa Zhu
a73f9731f5
Display localized unicode emoji names 2022-09-20 20:44:52 -04:00
tusooa
aa9cae8c71 Merge branch 'add/remove-from-followers' into 'develop'
Added support for removing users from followers

See merge request pleroma/pleroma-fe!1640
2022-09-20 18:58:32 +00:00
Henry Jameson
fa1d9f3fb4 using the half-shit approach since proper approach is full-shit 2022-09-20 00:24:08 +03:00
HJ
8bd27165f3
Fix non-square emojis being truncated 2022-09-18 13:19:55 -04:00
Tusooa Zhu
6e2b87f5af
Fix emoji picker lint 2022-09-18 13:19:55 -04:00
Tusooa Zhu
58b01db9e1
Fix emoji picker lint 2022-09-18 13:19:54 -04:00
Tusooa Zhu
5d6f3a5c8b
Tweak efficiency when changing filter keywords in emoji picker 2022-09-18 13:19:54 -04:00
Tusooa Zhu
09bcb6a5b1
Use trimmed keyword for filtering emojis 2022-09-18 13:19:54 -04:00
Tusooa Zhu
0fd0d6c4c2
Limit the width of unsupported multichar emojis 2022-09-18 13:19:54 -04:00
Tusooa Zhu
e01c76c7e9
Make emoji picker work with vue3 2022-09-18 13:19:54 -04:00
Tusooa Zhu
96564609f8
Make StillImage react to src changes 2022-09-18 13:19:54 -04:00
Tusooa Zhu
fbbeb33f48
Lint 2022-09-18 13:19:54 -04:00
Tusooa Zhu
02de0ed825
Add icons for unicode emoji groups 2022-09-18 13:19:53 -04:00
Tusooa Zhu
8f4f02683f
Make emoji picker use grouped unicode emojis 2022-09-18 13:19:53 -04:00
Tusooa Zhu
38861fc6cc
Scroll active tab header into view in emoji picker 2022-09-18 13:19:53 -04:00
Tusooa Zhu
d9e428ebab
Clean up emoji picker css 2022-09-18 13:19:53 -04:00
Tusooa Zhu
b77259a9a0
Use StillImage to render emojis in emoji picker 2022-09-18 13:19:52 -04:00
Tusooa Zhu
c93da0b865
Fix error on emoji picker first load
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
3156f046b4
Lint
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
06a636db37
Lazy-load emoji picker in post form
When clicking the reply button, we used to load the whole emoji picker.
This causes a considerable delay even if the user is not going to use
the emoji picker. Now the content of the emoji picker is loaded only
after the user has explicitly opened the emoji picker.

Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
9aeffd7634
Fix sticker picker heading tab
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
d00ebc14f1
Fix vertical scrollbar of emoji picker header
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu
5ab51613b7
Use StillImage for emoji group header
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
031a01be79
Remove useless class disabled in emoji picker
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
f1d6e6afce
Clean up unused variables
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
23edc4f7e2
Fix scrol->highlight behaviour
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
8777b6eadd
Clean up legacy code in emoji picker
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
c70cdbb873
Use lozad for lazy image loading
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu
90f757cc6d
Lint 2022-09-18 13:19:51 -04:00
Tusooa Zhu
123913f34f
Optimise emoji picker loading process 2022-09-18 13:19:50 -04:00
Tusooa Zhu
99a368dbb3
Load emoji properly on first showing 2022-09-18 13:19:50 -04:00
Tusooa Zhu
ba1b006e05
Load visible emoji groups when scrolling 2022-09-18 13:19:50 -04:00
Tusooa Zhu
992d57ef69
Display all emoji groups on emoji picker header 2022-09-18 13:19:50 -04:00
Tusooa Zhu
ff2242e85d
Fix load more emoji action 2022-09-18 13:19:50 -04:00