Commit Graph

48 Commits

Author SHA1 Message Date
tusooa d159031121
Add some aria to post status form 2023-01-21 16:28:33 -05:00
tusooa 76019d1e03
Fix emoji picker off-by-1 error 2023-01-06 13:14:38 -05:00
tusooa 47af5419b1
Clean up code 2023-01-02 14:01:56 -05:00
tusooa 081a416103
Calculate display count from width 2023-01-02 13:42:09 -05:00
tusooa 6cc3b239f6
Load emoji row by row 2023-01-02 13:25:59 -05:00
tusooa 314a4474f6
Fix header indicator 2023-01-02 12:40:03 -05:00
tusooa afd7f5fabe
Use virtual scrolling for emoji picker 2023-01-02 11:49:48 -05:00
tusooa 78081836df
Remove lozad code 2023-01-02 11:48:34 -05:00
Henry Jameson 3c0e7882b1 lint 2022-11-21 22:17:33 +02:00
Henry Jameson 692342a77f focus search input when opening emoji picker 2022-10-10 20:11:04 +03:00
Henry Jameson 296a6fa4e3 some shitty initial implementation of emoji picker with popover 2022-10-09 23:42:36 +03:00
Tusooa Zhu a73f9731f5
Display localized unicode emoji names 2022-09-20 20:44:52 -04:00
Tusooa Zhu 6e2b87f5af
Fix emoji picker lint 2022-09-18 13:19:55 -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 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 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 031a01be79
Remove useless class `disabled` in emoji picker
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 123913f34f
Optimise emoji picker loading process 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 69b3102fb2
Group custom emojis by pack in emoji picker 2022-09-18 13:19:40 -04: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 f561e75553 lint 2020-10-21 00:31:16 +03:00
Henry Jameson 3814218277 Some initial work on replacing icons with FA5 2020-10-20 20:28:11 +03:00
Henry Jameson a69946923b eslint fix 2019-11-08 21:35:58 +02:00
Henry Jameson 9338c81f4a replace sanity button with loading on scroll 2019-11-08 21:25:13 +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 6ade3be5b4 fix loadEmojiInsane button submitting the form 2019-10-27 19:20:38 +02:00
Henry Jameson fa4e69ec8c eslint 2019-10-08 21:38:27 +03:00
Henry Jameson 6511a744a2 arbitrary limit with option to overcome it 2019-10-08 21:38:27 +03:00
Henry Jameson e7532464e3 Replaced most trivial checkboxes with Checkbox component 2019-10-07 20:43:23 +03:00
Henry Jameson 2f26e8acc5 eslint 2019-09-25 20:23:55 +03:00
Henry Jameson 7b4cb38734 split spam mode into two separate options (one in settings page) 2019-09-23 20:36:49 +03:00
Henry Jameson e366adbb6c updated logic for padding with spaces, improved spam mode 2019-09-15 12:30:02 +03:00
Henry Jameson f0cb6fe03f Fixed scrollability not being obvious, added fade effect 2019-09-15 01:16:54 +03:00
Henry Jameson 3505e53756 review/naming + bugfix for stickers 2019-09-12 20:36:43 +03:00
Henry Jameson 0d8b68632b Remove emoji zoom 2019-09-12 20:25:11 +03:00
HJ 4f0195b05c Apply suggestion to src/components/emoji_picker/emoji_picker.vue 2019-09-10 18:39:45 +00:00
Henry Jameson 83f45167b6 added emoji zoom for picker 2019-09-08 16:56:54 +03:00
Henry Jameson 14df84d89b fixed some bugs, added spam mode, minor collateral fixes 2019-09-08 15:51:17 +03:00
Henry Jameson 5851f97eb0 fixed a lot of bugs with emoji picker, improved relevant components 2019-08-12 20:03:48 +03:00
Henry Jameson 579b5c9e77 initial attempts at making emoji-picker somewhat extensible 2019-08-12 14:20:08 +03:00
Henry Jameson 036882d27c rename for consistency 2019-08-12 13:51:05 +03:00