Sort emojis by favoritism when auto completing
Problem
When you type comments in GitLab you can add emojis by typing :
and then the name of the emoji. When you type :thu
the first option is :thumbsdown_tone5
when it should really be :thumbsup:
. It should favor more popular emojis over less popular ones. Thumbs up should take precedence to thumbs down. This is the way that it works on Slack.
Proposal
- Store emoji usage on the user level.
- At some point, inject user emoji level into each emoji. Maybe when we build the
emojiCategoryMap
? - Use the same underlying controller for matching award emojis and inline emojis via markdown. We should theoretically be able the existing UX of each and share the underlying emoji list / logic.
Edited by 🤖 GitLab Bot 🤖