Commit graph

67 commits

Author SHA1 Message Date
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
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 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 e01c76c7e9
Make emoji picker work with vue3 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 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 5ab51613b7
Use StillImage for emoji group header
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
Tusooa Zhu 69b3102fb2
Group custom emojis by pack in emoji picker 2022-09-18 13:19:40 -04:00
Henry Jameson fddb531ed2 --fix 2022-07-31 12:35:48 +03:00
Lain Soykaf 9c8738ff22 EmojiPicker: Workaround to search immediately on mobile
See https://github.com/vuejs/vue/pull/9814
2022-06-12 13:38:12 +02:00
Henry Jameson b6e8c12dbc emoji picker fix 2021-04-25 14:51:00 +03:00
Henry Jameson ef36ca44f6 >boxes 2020-10-28 22:52:20 +02:00
Henry Jameson 2e6c51dfd4 better icon for picker 2020-10-28 22:49:53 +02:00
Henry Jameson 3814218277 Some initial work on replacing icons with FA5 2020-10-20 20:28:11 +03:00
Dym Sohin bb59b8ee56 fixed copy-pasting leftovers 2020-09-21 18:13:31 +02:00
Dym Sohin cff202241b improved algorithm, possibly speed too 2020-09-21 18:10:55 +02:00
Dym Sohin f1e1f20a8d fix 8x spaces inside this paren 2020-09-21 17:42:17 +02:00
Dym Sohin fee654f1ee feat/reorder-emojis-by-position-of-keyword 2020-09-21 17:29:36 +02:00
Dym Sohin 70a5619496 [fix] case in/sensitive emoji search 2020-09-18 11:07:38 +02:00
Henry Jameson a3501d58d8 clear filter on reopen, fix error message in console 2019-11-08 23:57:20 +02:00
Henry Jameson 23137dfd4b reset position when reopening emoji picker 2019-11-08 21:44:36 +02:00
Henry Jameson a69946923b eslint fix 2019-11-08 21:35:58 +02:00
Henry Jameson a43f1614ca fix not being able to see unicode emojis when there few of them when searching
on emoji-a-ton instances
2019-11-08 21:28:51 +02:00
Henry Jameson 9338c81f4a replace sanity button with loading on scroll 2019-11-08 21:25:13 +02:00
Henry Jameson a38d16273d fix search not working, use computer property instead of state 2019-11-08 20:12:01 +02:00
Henry Jameson 0dcb696e26 Merge remote-tracking branch 'upstream/develop' into emoji-optimizations
* upstream/develop: (95 commits)
  Lightbox/modal multi image improvements - #381
  '/api/pleroma/profile/mfa' -> '/api/pleroma/accounts/mfa'
  Add ability to change user's email
  translations-de-batch-1
  eu-translate update
  profile-banner rounding css, fixes #690
  fix indentation
  remove needless ref
  show preview popover when hover numbered replies
  refactor conditions
  do not make too many nested div
  add fetchStatus action
  refactor status loading logic
  split status preview popover into a separate component
  uninstall mobile-detect library
  listen both events
  minor css fix
  restrict distance at top side only
  set different trigger event in desktop and mobile by default
  fix eslint warnings
  ...
2019-11-08 19:48:31 +02:00
Henry Jameson 1400d723f2 fix picker not filling on opening, removed console log 2019-10-10 19:58:00 +03:00