Add custom emoji to emoji board (#210)

* Display custom emoji in picker

Adds a single category at the start of the emoji picker to display the user's custom emoji

* Show any amount of custom emoji packs in the Emoji Board

* Use thumbnails in emoji picker + mark as emoji

* Fix emoji picker stretching when too many packs are available

* Sprinkle in a few comments for good measure

* Remove emoji-less packs from the emoji picker
This commit is contained in:
Emi
2021-12-29 23:02:49 -05:00
committed by GitHub
parent 9ea9bf4035
commit fd9f734de1
3 changed files with 128 additions and 27 deletions

View File

@@ -166,4 +166,6 @@ function getEmojiForCompletion(room) {
.concat(Array.from(allEmoji.values()));
}
export { getUserImagePack, getShortcodeToEmoji, getEmojiForCompletion };
export {
getUserImagePack, getShortcodeToEmoji, getRelevantPacks, getEmojiForCompletion,
};