[bug] Low Emoji Picker performance #334

Open
opened 2023-08-02 19:27:15 +00:00 by a1batross · 2 comments
Contributor

Version

https://akkoma.dev/AkkomaGang/akkoma-fe/commit/42ffce9

What actually happened?

While emoji picker allows to pick the emoji, it's laggy during filtering and picking the emoji.

I made a video demonstration, with a freshly reloaded Firefox: https://share.mentality.rip/akkoma_picker.mp4

To compare with PleromaFE (version): https://share.mentality.rip/pleroma_picker.mp4

Both Akkoma and Pleroma here use the same custom emojis set.

My assumption is that AkkomaFE filter the emojis on each key press, when PleromaFE has a timer, or it does it background. Why AkkomaFE doesn't insert emoji immediately unlike PleromaFE is unknown.

Firefox version: 113.0.1

Severity

I cannot use it as easily as I'd like

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Version https://akkoma.dev/AkkomaGang/akkoma-fe/commit/42ffce9 ### What actually happened? While emoji picker allows to pick the emoji, it's laggy during filtering and picking the emoji. I made a video demonstration, with a freshly reloaded Firefox: https://share.mentality.rip/akkoma_picker.mp4 To compare with PleromaFE ([version](https://git.pleroma.social/pleroma/pleroma-fe/commit/c730c9b6)): https://share.mentality.rip/pleroma_picker.mp4 Both Akkoma and Pleroma here use the same custom emojis set. My assumption is that AkkomaFE filter the emojis on each key press, when PleromaFE has a timer, or it does it background. Why AkkomaFE doesn't insert emoji immediately unlike PleromaFE is unknown. Firefox version: 113.0.1 ### Severity I cannot use it as easily as I'd like ### Have you searched for this issue? - [ ] I have double-checked and have not found this issue mentioned anywhere.
a1batross changed title from [bug] Emoji Picker is slow to [bug] Low Emoji Picker performance 2023-08-02 19:28:07 +00:00

ah i'll just add a debouncer on it one secon

ah i'll just add a debouncer on it one secon

this should be fixed by 3b4208ea41

lemme know if it helps

this should be fixed by 3b4208ea41cad47287719412a44246129892762c lemme know if it helps
Mergan added the
Bug
label 2023-09-05 07:36:33 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma-fe#334
No description provided.