riot-web/src/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
..
EventTile Use `RovingAccessibleButton` instead of `RovingAccessibleTooltipButton` (#12539) 2024-05-17 10:29:30 +00:00
NotificationBadge Improve readability of badges and pills (#12360) 2024-03-22 00:27:13 +00:00
RoomHeader Update compound-design-tokens to satisfy compound-web peer dependency (#12808) 2024-07-24 09:49:33 +00:00
wysiwyg_composer Rich text Editor: Auto-replace plain text emoticons with emoji (#12828) 2024-08-07 08:39:55 +00:00
AppsDrawer.tsx Add a config option to control the default widget container height (#12893) 2024-08-27 09:59:54 +00:00
Autocomplete.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
AuxPanel.tsx Iterate landmarks around the app in order to improve a11y (#12064) 2023-12-20 15:32:24 +00:00
BasicMessageComposer.tsx Accessibility: Add Landmark navigation (#12190) 2024-07-17 14:46:45 +01:00
CollapsibleButton.tsx Update dependency typescript to v5.5.2 (#12688) 2024-06-25 16:59:07 +01:00
E2EIcon.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
EditMessageComposer.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
EmojiButton.tsx Migrate more strings to translation keys (#11498) 2023-08-31 11:22:10 +01:00
EntityTile.tsx Implement new unreachable state and fix broken string ref (#11748) 2023-11-07 10:14:30 +00:00
EventTile.tsx Fix read receipt animation (#12923) 2024-09-03 11:59:30 +00:00
ExtraTile.tsx Use `RovingAccessibleButton` instead of `RovingAccessibleTooltipButton` (#12539) 2024-05-17 10:29:30 +00:00
HistoryTile.tsx Remove old pre-join UTD logic (#12464) 2024-05-10 20:20:40 +00:00
JumpToBottomButton.tsx Migrate more strings to translation keys (#11680) 2023-09-29 08:49:26 +01:00
LegacyRoomHeader.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
LinkPreviewGroup.tsx Fixed the drag and drop of X ##27186 (#12450) 2024-04-24 08:56:59 +00:00
LinkPreviewWidget.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
LiveContentSummary.tsx Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
MemberList.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
MemberTile.tsx Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
MessageComposer.tsx RTE drafts (#12674) 2024-08-22 12:54:01 +00:00
MessageComposerButtons.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
MessageComposerFormatBar.tsx Use `RovingAccessibleButton` instead of `RovingAccessibleTooltipButton` (#12539) 2024-05-17 10:29:30 +00:00
NewRoomIntro.tsx Replace setImmediate with setTimeout (#12614) 2024-06-13 15:15:59 +01:00
NotificationBadge.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
PinnedEventTile.tsx Add thread information in pinned message list (#12902) 2024-08-21 09:02:35 +00:00
PinnedMessageBanner.tsx Display the indicator even with one message in pinned message banner (#12946) 2024-09-02 15:51:04 +00:00
PresenceLabel.tsx Add missing presence indicator to new room header (#12865) 2024-08-06 14:51:25 +00:00
ReadReceiptGroup.tsx Fix read receipt animation (#12923) 2024-09-03 11:59:30 +00:00
ReadReceiptMarker.tsx Fix read receipt animation (#12923) 2024-09-03 11:59:30 +00:00
ReplyPreview.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
ReplyTile.tsx Migrate more strings to translation keys (#11680) 2023-09-29 08:49:26 +01:00
RoomBreadcrumbs.tsx Tooltip: improve accessibility in room (#12493) 2024-05-07 10:20:46 +00:00
RoomContextDetails.tsx Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
RoomHeader.tsx Add chat button on new room header for maximised widgets (#12882) 2024-08-12 13:44:15 +00:00
RoomInfoLine.tsx Extract useIsVideoRoom hook (#12843) 2024-07-30 17:36:04 +00:00
RoomKnocksBar.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
RoomList.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
RoomListHeader.tsx MenuItem: fix caption usage (#12455) 2024-04-26 10:17:13 +00:00
RoomPreviewBar.tsx Invite dialog: display MXID on its own line (#11756) 2024-08-01 14:17:49 +00:00
RoomPreviewCard.tsx Extract useIsVideoRoom hook (#12843) 2024-07-30 17:36:04 +00:00
RoomSearchAuxPanel.tsx Show spinner whilst initial search request is in progress (#12883) 2024-08-12 13:44:07 +00:00
RoomSublist.tsx Replace setImmediate with setTimeout (#12614) 2024-06-13 15:15:59 +01:00
RoomTile.tsx Replace setImmediate with setTimeout (#12614) 2024-06-13 15:15:59 +01:00
RoomTileCallSummary.tsx Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
RoomTileSubtitle.tsx Compound Typography pass regression fixes (#11189) 2023-07-04 16:54:28 +00:00
RoomUpgradeWarningBar.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
SearchResultTile.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
SendMessageComposer.tsx Clean up editor drafts for unknown rooms (#12850) 2024-08-07 08:35:57 +00:00
Stickerpicker.tsx Fix Stickerpicker layout crossing multiple CSS stacking contexts (#12126) 2024-01-10 02:19:36 +00:00
ThirdPartyMemberInfo.tsx Remove SpaceScopeHeader (#12785) 2024-07-17 12:54:35 +00:00
ThreadSummary.tsx Collect decryption failure translations together (#12436) 2024-04-18 10:40:25 +00:00
TopUnreadMessagesBar.tsx Migrate more strings to translation keys (#11680) 2023-09-29 08:49:26 +01:00
VoiceRecordComposerTile.tsx Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
WhoIsTypingTile.tsx Stop using the js-sdk's compare function (#12782) 2024-07-17 13:51:42 +00:00