element-web/test/components/views/messages/__snapshots__
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
..
DateSeparator-test.tsx.snap Use Intl to localise dates and times (#11422) 2023-08-21 19:38:59 +00:00
DecryptionFailureBody-test.tsx.snap
JumpToDatePicker-test.tsx.snap Prevent future date selection in jump to date (#10419) 2023-03-22 11:45:44 -05:00
MBeaconBody-test.tsx.snap
MImageBody-test.tsx.snap Support Matrix 1.1 (drop legacy r0 versions) (#9819) 2023-08-14 09:25:13 +01:00
MLocationBody-test.tsx.snap Fix colour of avatar and colour matching with username (#11470) 2023-08-24 17:12:28 +00:00
MPollBody-test.tsx.snap
MPollEndBody-test.tsx.snap
MVideoBody-test.tsx.snap Support Matrix 1.1 (drop legacy r0 versions) (#9819) 2023-08-14 09:25:13 +01:00
ReactionsRowButton-test.tsx.snap Render custom images in reactions (#11087) 2023-09-01 10:16:24 +00:00
RoomPredecessorTile-test.tsx.snap Show a tile for an unloaded predecessor room if it has via_servers (#10483) 2023-04-12 15:26:45 +00:00
TextualBody-test.tsx.snap Room header UI updates (#11507) 2023-09-01 09:45:50 +00:00