cinny/src/app/organisms
Emi 90621bb1e3
Add support for sending user emoji using autocomplete (#205)
* Add support for sending user emoji using autocomplete

What's included:
- An implementation for detecting user emojis
- Addition of user emojis to the emoji autocomplete in the command bar
- Translation of shortcodes into image tags on message sending

What's not included:
- Loading emojis from the active room, loading the user's global emoji packs, loading emoji from spaces
- Selecting custom emoji using the emoji picker

This is a predominantly proof-of-concept change, and everything here may be subject to
architectural review and reworking.

* Amending PR:  Allow sending multiple of the same emoji

* Amending PR:  Add support for emojis in edited messages

* Amend PR:  Apply requested revisions

This commit consists of several small changes, including:
- Fix crash when the user doesn't have the im.ponies.user_emotes account data entry
- Add mx-data-emoticon attribute to command bar emoji
- Rewrite alt text in the command bar interface
- Remove "vertical-align" attribute from sent emoji

* Amending PR:  Fix bugs (listed below)

- Fix bug where sending emoji w/ markdown off resulted in a crash
- Fix bug where alt text in the command bar was wrong

* Amending PR:  Add support for replacement of twemoji shortcodes

* Amending PR: Fix & refactor getAllEmoji -> getShortcodeToEmoji

* Amending PR: Fix bug: Sending two of the same emoji corrupts message

* Amending PR:  Stylistic fixes
2021-12-28 08:59:39 +05:30
..
create-room Refector sass 2021-12-19 10:28:41 +05:30
emoji-board Add support for sending user emoji using autocomplete (#205) 2021-12-28 08:59:39 +05:30
invite-list Refector sass 2021-12-19 10:28:41 +05:30
invite-user Refector sass 2021-12-19 10:28:41 +05:30
navigation Add separate icon for public rooms and spaces 2021-12-26 11:26:41 +05:30
profile-editor Refector sass 2021-12-19 10:28:41 +05:30
profile-viewer Refector sass 2021-12-19 10:28:41 +05:30
public-rooms Refector sass 2021-12-19 10:28:41 +05:30
pw Add search modal (#132) 2021-12-10 17:22:53 +05:30
read-receipts Fix dialog closing animation jank 2021-12-14 17:26:32 +05:30
room Add support for sending user emoji using autocomplete (#205) 2021-12-28 08:59:39 +05:30
room-optons Refactor RoomOptions component 2021-12-24 15:09:11 +05:30
search Refector sass 2021-12-19 10:28:41 +05:30
settings Open settings on sidebar user profile click 2021-12-19 20:05:13 +05:30
welcome Add RoomSettings comp 2021-12-22 20:18:32 +05:30