cinny/src/client/state
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
..
auth.js Fix typo 2021-09-14 09:30:37 +02:00
cons.js Auto update room profile on change 2021-12-23 10:03:20 +05:30
navigation.js Add optoins to change room visibility 2021-12-26 15:34:20 +05:30
Notifications.js Fix unable to mark as read some rooms 2021-12-08 13:49:47 +05:30
RoomList.js Auto update room profile on change 2021-12-23 10:03:20 +05:30
RoomsInput.js Add support for sending user emoji using autocomplete (#205) 2021-12-28 08:59:39 +05:30
RoomTimeline.js Fix read receipt count 2021-12-17 17:22:38 +05:30
settings.js Add btn to hide membership events from timeline 2021-12-12 20:53:32 +05:30