element-web/res/css/views
Sumner Evans a54f2ff878
Render custom images in reactions (#11087)
* Add support for rendering custom emojis in reactions

Signed-off-by: Sumner Evans <sumner@beeper.com>

* Include custom reaction short names in tooltips

Signed-off-by: Sumner Evans <sumner@beeper.com>

* Use custom reaction shortcode for accessibility

This uses the shortcode in the following places:

* The aria-label of the reaction buttons
* The alt text for the reaction image

Signed-off-by: Sumner Evans <sumner@beeper.com>

* Remove explicit instantiation of `customReactionName` variable and add types

Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Put custom reaction images behind a labs flag

Signed-off-by: Sumner Evans <sumner@beeper.com>

* Use UnstableValue for finding the shortcode

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>

* Move calculation of whether to render custom reaction images up to ReactionRow

Signed-off-by: Sumner Evans <sumner@beeper.com>

* Make alt text more friendly when custom reaction doesn't have shortcode

Signed-off-by: Sumner Evans <sumner@beeper.com>

* Add test for ReactionsRowButton

Signed-off-by: Sumner Evans <sumner@beeper.com>

* Apply suggestions from code review

Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Don't use Optional

Signed-off-by: Sumner Evans <sumner@beeper.com>

* Fix ReactionsRowButton test

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>

---------

Signed-off-by: Sumner Evans <sumner@beeper.com>
Co-authored-by: Tulir Asokan <tulir@maunium.net>
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-01 10:16:24 +00:00
..
audio_messages Fix blowout of waveform of the voice message player on narror UI 2023-02-20 23:55:59 +09:00
auth Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
avatars Fixes read receipt avatar offset (#11483) 2023-08-30 11:47:35 +00:00
beta Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
context_menus Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
dialogs Change avatar to use Compound implementation (#11448) 2023-08-24 03:48:35 +00:00
directory Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
elements Add face pile to rooms (#11356) 2023-08-30 17:55:02 +00:00
emojipicker Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
location Apply prettier formatting 2022-12-12 12:24:14 +01:00
messages Render custom images in reactions (#11087) 2023-09-01 10:16:24 +00:00
polls/pollHistory Poll history - make poll history independent from dialogs (#10349) 2023-03-12 20:22:30 +00:00
right_panel Room header UI updates (#11507) 2023-09-01 09:45:50 +00:00
room_settings Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
rooms Room header UI updates (#11507) 2023-09-01 09:45:50 +00:00
settings Fix avatars of knock members for people tab of room settings (#11506) 2023-09-01 09:40:35 +00:00
spaces Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
terms Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
toasts Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
verification Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
voip Compound color pass (#11079) 2023-07-12 17:46:49 +00:00