add recently used emojis panel to emoji picker #283
No reviewers
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#283
Loading…
Reference in a new issue
No description provided.
Delete branch "flisk/akkoma-fe:recent-emojis"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(not intended for merging yet, just submitting this for preliminary review and discussion)this patch adds a tab with recently used emojis to the emoji picker: https://akko.lain.gay/notice/ASoGCtyoiXbYPJjqpk
there's a couple of things i'm
still trying to work outnot totally happy with and i'd appreciate any feedback on them:displayName
each time, which i'm not sure is idealemoji reactions on posts added through the picker are picked up by the recentEmojis module, but clicks on existing emoji reactions are not, becausethis works now and does the same stupid full search of all emojis by their name which i guess is less bad because this only happens when you hit a reaction emoji button that already existedaddReaction
inreact_button.js
only currently receives the replacement and not the full emoji object (if there even is one wherever that method is called from)3484f9255e
to27a4455c5c
--wip-- show recently used emojis in emoji pickerto add recently used emojis panel to emoji pickermade reaction emoji clicks add emojis to the panel as well. pending feedback i'm done with this for now
an array search shouldn't be too expensive, even on larger emoji sets
this should be good, and it works as described
i tested it against an instance with quite a few emoji and it performed well
thanks a lot!