cinny/src/app/organisms/room
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
..
common.jsx Fix emoji size in Avatar 2021-11-23 12:27:01 +05:30
PeopleDrawer.jsx Add GeneralSettings component 2021-12-24 15:09:58 +05:30
PeopleDrawer.scss Fix people search icon displacement 2021-12-19 20:32:47 +05:30
Room.jsx Add RoomSettings comp 2021-12-22 20:18:32 +05:30
Room.scss Add RoomSettings comp 2021-12-22 20:18:32 +05:30
RoomSettings.jsx Add optoins to change room visibility 2021-12-26 15:34:20 +05:30
RoomSettings.scss Add GeneralSettings component 2021-12-24 15:09:58 +05:30
RoomView.jsx Auto update room profile on change 2021-12-23 10:03:20 +05:30
RoomView.scss Add GeneralSettings component 2021-12-24 15:09:58 +05:30
RoomViewCmdBar.jsx Add support for sending user emoji using autocomplete (#205) 2021-12-28 08:59:39 +05:30
RoomViewCmdBar.scss Refector sass 2021-12-19 10:28:41 +05:30
RoomViewContent.jsx Fix spolier click not working on some browser 2021-12-25 12:26:20 +05:30
RoomViewContent.scss Refector sass 2021-12-19 10:28:41 +05:30
RoomViewFloating.jsx Fix crashes 2021-12-10 11:45:43 +05:30
RoomViewFloating.scss Separate jump to unread & mark as read 2021-12-19 19:37:38 +05:30
RoomViewHeader.jsx Auto update room profile on change 2021-12-23 10:03:20 +05:30
RoomViewHeader.scss Add RoomSettings comp 2021-12-22 20:18:32 +05:30
RoomViewInput.jsx Add RoomSettings comp 2021-12-22 20:18:32 +05:30
RoomViewInput.scss Refector sass 2021-12-19 10:28:41 +05:30