element-web/test/components/views/rooms
David Baker 6bfdb3e16b
Fix read receipt animation (#12923)
* Fix read receipt animation

The way it was done involved remembering dom nodes and then getting
their position later when animating the receipt to its next position,
but I'm not sure how this worked since the DOM node may not neccessarily
be in the DOM anymore. Instead, just remember the bounding box coordinates.
At worst it might go weird if the window is resized but seems fine in
practice. Also, keeping references to dom nodes feels like a fast road
to memory leaks.

Fixes https://github.com/element-hq/element-web/issues/27916

* Attempt to write a test for read receipts

and fix naming

* Another test

also change a condition to make it testable
2024-09-03 11:59:30 +00:00
..
__snapshots__ Display the indicator even with one message in pinned message banner (#12946) 2024-09-02 15:51:04 +00:00
EventTile Tooltip: Remove extra data attribute (#12483) 2024-05-06 08:54:40 +00:00
NotificationBadge Merge branch 'develop' into andybalaam/stas-demydiuk-membership-type3 2024-03-20 17:25:23 +00:00
RoomHeader Make tests more resilient for React 18 upgrade (#12861) 2024-08-06 17:22:02 +00:00
wysiwyg_composer Rich text Editor: Auto-replace plain text emoticons with emoji (#12828) 2024-08-07 08:39:55 +00:00
AppsDrawer-test.tsx Add a config option to control the default widget container height (#12893) 2024-08-27 09:59:54 +00:00
BasicMessageComposer-test.tsx Escape placeholder before injecting it into the style (#11607) 2023-09-19 05:58:53 +00:00
EditMessageComposer-test.tsx Improve types for sendEvent (#12335) 2024-03-25 12:48:48 +00:00
EventTile-test.tsx Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
ExtraTile-test.tsx Refactor ExtraTile to use functional components (#10191) 2023-02-23 11:57:37 +00:00
LegacyRoomHeader-test.tsx Remove MatrixRTC realted import ES lint exceptions using a index.ts for matrixrtc (#12780) 2024-07-25 12:49:41 +00:00
MemberList-test.tsx Make tests more resilient for React 18 upgrade (#12861) 2024-08-06 17:22:02 +00:00
MemberTile-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
MessageComposer-test.tsx RTE drafts (#12674) 2024-08-22 12:54:01 +00:00
MessageComposerButtons-test.tsx Fix flaky jest tests (#12486) 2024-05-02 14:53:35 +00:00
NewRoomIntro-test.tsx Eliminate the use of MatrixClientPeg in utils (#10910) 2023-05-23 16:24:12 +01:00
PinnedEventTile-test.tsx Add thread information in pinned message list (#12902) 2024-08-21 09:02:35 +00:00
PinnedMessageBanner-test.tsx Always display last pinned message on the banner (#12945) 2024-09-02 15:50:39 +00:00
PresenceLabel-test.tsx Implement new unreachable state and fix broken string ref (#11748) 2023-11-07 10:14:30 +00:00
ReadReceiptGroup-test.tsx Add more tests for ReadReceiptGroup.tsx 2024-05-22 15:56:12 +02:00
ReadReceiptMarker-test.tsx Fix read receipt animation (#12923) 2024-09-03 11:59:30 +00:00
RoomHeader-test.tsx Add chat button on new room header for maximised widgets (#12882) 2024-08-12 13:44:15 +00:00
RoomKnocksBar-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
RoomList-test.tsx Fix React contexts (#12855) 2024-08-01 13:01:05 +01:00
RoomListHeader-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
RoomPreviewBar-test.tsx Make tests more resilient for React 18 upgrade (#12861) 2024-08-06 17:22:02 +00:00
RoomPreviewCard-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
RoomSearchAuxPanel-test.tsx Redesign room search interface (#12677) 2024-07-08 09:57:41 +00:00
RoomTile-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
SearchResultTile-test.tsx Render timeline separator for late event groups (#11739) 2023-10-16 14:14:04 +00:00
SendMessageComposer-test.tsx Allow user to set timezone (#12775) 2024-09-02 09:07:07 +00:00
ThirdPartyMemberInfo-test.tsx Apply strictNullChecks to src/components/views/rooms/* (#10875) 2023-05-21 23:53:23 +00:00
VoiceRecordComposerTile-test.tsx Default intentional mentions (#11602) 2023-09-14 11:36:15 +00:00