cinny/src/app
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
..
atoms Add optoins to change room visibility 2021-12-26 15:34:20 +05:30
hooks Implement sending read receipt in new pagination 2021-12-07 21:04:07 +05:30
molecules Use jumbo emoji for short emoji-only messages (#207) 2021-12-27 10:24:07 +05:30
organisms Add support for sending user emoji using autocomplete (#205) 2021-12-28 08:59:39 +05:30
pages Updated dependencies 2021-11-19 13:20:34 +05:30
partials Refector sass 2021-12-19 10:28:41 +05:30
templates Add RoomSettings comp 2021-12-22 20:18:32 +05:30