element-web/test/components/views/messages
David Baker a0c029c3c1
Fix alignment of RTL messages (#12837)
* Fix alignment of RTL messages

Inspired by https://github.com/matrix-org/matrix-react-sdk/pull/5453 but
hopefully with the edited marker in the right place.

This is a PoC: types aren't correct and the style needs pulling
out to a class. Plus it would probably need more visual tests added.
If this looks acceptable, I can make these changes.

* Fix spacing between text and edited annotation

* Update snapshot

* Update more snapshots

* More snapshots

* More more snapshots

* Split out style

* Fix emotes

This will cause them always be right-justified if the display name
is rtl.

* Add playwright test for ltr/rtl message rendering

* Better snapshots

* Await on message sending

* Better waiting, hopefully

* Old snapshot files

* Really hopefully fixed screenshots this time

* Don't include the message action bar in the screenshots
2024-07-31 22:23:46 +00:00
..
__snapshots__ Fix alignment of RTL messages (#12837) 2024-07-31 22:23:46 +00:00
shared Apply prettier formatting 2022-12-12 12:24:14 +01:00
CallEvent-test.tsx Fix typing issues 2024-04-15 16:06:01 +02:00
DateSeparator-test.tsx Fix js-sdk types for TImestampToEventResponse (#11928) 2023-11-24 11:40:07 +00:00
DecryptionFailureBody-test.tsx Element-R: Report events with withheld keys separately to Posthog. (#12755) 2024-07-10 09:22:59 +00:00
DownloadActionButton-test.tsx Handle media download errors better (#12848) 2024-07-31 14:07:59 +00:00
EncryptionEvent-test.tsx Change wording from avatar to profile picture (#7015) 2023-07-07 10:54:43 +00:00
JumpToDatePicker-test.tsx Prevent future date selection in jump to date (#10419) 2023-03-22 11:45:44 -05:00
LegacyCallEvent-test.tsx Switch to importing models/event from main js-sdk export (#11363) 2023-08-07 08:24:58 +00:00
MBeaconBody-test.tsx Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
MessageActionBar-test.tsx Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
MessageEvent-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
MessageTimestamp-test.tsx Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
MImageBody-test.tsx Align common_* strings with Element X project in Localazy (#11434) 2023-08-22 18:47:33 +01:00
MKeyVerificationRequest-test.tsx Simplify display of verification requests in timeline (#11931) 2023-11-30 17:41:47 +00:00
MLocationBody-test.tsx Fix flaky jest tests (#12486) 2024-05-02 14:53:35 +00:00
MPollBody-test.tsx Consolidate conjugation i18n strings (#11660) 2023-09-25 12:18:15 +01:00
MPollEndBody-test.tsx Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
MStickerBody-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
MVideoBody-test.tsx Support Matrix 1.1 (drop legacy r0 versions) (#9819) 2023-08-14 09:25:13 +01:00
ReactionsRowButton-test.tsx Add more test for ReactionsRowButton.tsx 2024-05-22 16:24:09 +02:00
RoomPredecessorTile-test.tsx Add MatrixClientPeg::safeGet and use it in tests (#10985) 2023-06-05 18:12:23 +01:00
TextualBody-test.tsx Allow Chrome page translator to translate messages in rooms (#11113) 2024-07-25 16:58:33 +00:00