element-web/src
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
..
@types Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
accessibility Accessibility: Add Landmark navigation (#12190) 2024-07-17 14:46:45 +01:00
actions Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
async-components/views/dialogs Cleanup tasks in SecurityManager/SetupEncryptionStore (#12764) 2024-07-13 10:27:59 +00:00
audio Prevent Element appearing in system media controls (#10995) 2024-07-04 18:08:06 +00:00
autocomplete Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
components Fix read receipt animation (#12923) 2024-09-03 11:59:30 +00:00
contexts Allow user to set timezone (#12775) 2024-09-02 09:07:07 +00:00
customisations Handle media download errors better (#12848) 2024-07-31 14:07:59 +00:00
dispatcher Extract focus_search dispatch action into enum (#12721) 2024-07-03 17:02:02 +00:00
editor Ignore permalink_prefix when serializing pills (#11726) 2024-08-01 11:17:44 +00:00
effects Migrate more strings to translation keys (#11579) 2023-09-08 09:58:31 +01:00
emojipicker
events Stop displaying verification done messages in timeline (#11932) 2023-12-01 09:12:38 +00:00
hooks Don't emit decrypted event for the banner (#12944) 2024-09-02 15:45:25 +00:00
i18n/strings Allow user to set timezone (#12775) 2024-09-02 09:07:07 +00:00
indexing Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
integrations Stop using the js-sdk's compare function (#12782) 2024-07-17 13:51:42 +00:00
mjolnir Improve types for sendStateEvent (#12331) 2024-03-20 14:27:29 +00:00
models Upgrade target to es2022 (#12852) 2024-08-01 16:14:28 +00:00
modules Replace SecurityCustomisations with CryptoSetupExtension (#12342) 2024-04-12 15:15:17 +00:00
notifications Fix: sync intentional mentions push rules with legacy rules (#11667) 2023-09-27 00:03:38 +00:00
performance
rageshake Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
resizer Enable strictFunctionTypes (#11201) 2023-07-07 13:37:26 +01:00
settings Allow user to set timezone (#12775) 2024-09-02 09:07:07 +00:00
slash-commands Improve types for sendEvent (#12335) 2024-03-25 12:48:48 +00:00
stores Implement download_file in widget driver (#12931) 2024-08-30 14:45:25 +00:00
toasts Stop the ongoing ring if another device joins the call session. (#12866) 2024-08-07 11:45:31 +00:00
usercontent
utils Display pinned messages on a banner at the top of a room (#12917) 2024-08-29 14:26:10 +00:00
voice-broadcast Prevent Element appearing in system media controls (#10995) 2024-07-04 18:08:06 +00:00
widgets Align widget_build_url_ignore_dm with call behaviour switch between 1:1 and Widget (#12760) 2024-07-15 09:08:34 +00:00
workers Appease the linter 2023-11-18 21:37:49 +01:00
AddThreepid.ts Refactor the various email/phone management UI into a single component (#12884) 2024-08-14 13:13:57 +00:00
AsyncWrapper.tsx Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
Avatar.ts Fixes read receipt avatar offset (#11483) 2023-08-30 11:47:35 +00:00
BasePlatform.ts Element-R: pass pickleKey in as raw key for indexeddb encryption (#12543) 2024-06-05 08:52:28 +00:00
BlurhashEncoder.ts Fix paths and extensions 2023-11-13 20:10:55 +01:00
boundThreepids.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
call-types.ts Extract types for re-use in matrix-js-sdk.d.ts (#12350) 2024-03-19 10:19:38 +00:00
ContentMessages.ts Improve types for sendEvent (#12335) 2024-03-25 12:48:48 +00:00
createRoom.ts Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
DateUtils.ts Allow user to set timezone (#12775) 2024-09-02 09:07:07 +00:00
DecryptionFailureTracker.ts Element-R: Report events with withheld keys separately to Posthog. (#12755) 2024-07-10 09:22:59 +00:00
DeviceListener.ts Report verification and recovery state to posthog (#12516) 2024-05-21 14:37:00 +00:00
DraftCleaner.ts RTE drafts (#12674) 2024-08-22 12:54:01 +00:00
Editing.ts
email.ts
HtmlUtils.tsx Fix alignment of RTL messages (#12837) 2024-07-31 22:23:46 +00:00
IConfigOptions.ts Add a config option to control the default widget container height (#12893) 2024-08-27 09:59:54 +00:00
identifiers.ts
IdentityAuthClient.tsx Fix Identity Server terms accepting not working as expected (#12109) 2024-01-08 10:27:03 +00:00
ImageUtils.ts Conform more of the codebase to strictNullChecks (#10573) 2023-04-13 08:52:57 +01:00
index.ts
KeyBindingsDefaults.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
KeyBindingsManager.ts Conform more code to strictNullChecks (#10374) 2023-03-16 11:07:29 +00:00
Keyboard.ts Accessibility: Add Landmark navigation (#12190) 2024-07-17 14:46:45 +01:00
languageHandler.tsx Preparations for React 18 (#12860) 2024-08-05 07:59:27 +00:00
LegacyCallHandler.tsx Align widget_build_url_ignore_dm with call behaviour switch between 1:1 and Widget (#12760) 2024-07-15 09:08:34 +00:00
Lifecycle.ts Merge branch 'master' into develop 2024-08-06 11:46:52 +01:00
linkify-matrix.ts Enable redirected media by default (#12142) 2024-02-11 07:32:57 +00:00
Linkify.tsx Support s tags for strikethrough for Matrix v1.10 (#12604) 2024-06-13 13:44:48 +00:00
Livestream.ts Pass around MatrixClients instead of using MatrixClientPeg (#10984) 2023-06-01 14:43:24 +01:00
Login.ts Replace SecurityCustomisations with CryptoSetupExtension (#12342) 2024-04-12 15:15:17 +00:00
Markdown.ts Support s tags for strikethrough for Matrix v1.10 (#12604) 2024-06-13 13:44:48 +00:00
MatrixClientPeg.ts Remove unused CryptoCallbacks implementations (#12919) 2024-08-23 14:00:18 +00:00
MediaDeviceHandler.ts Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
Modal.tsx Close any open modals on logout (#12777) 2024-07-23 08:08:22 +00:00
NodeAnimator.tsx Fix regression around read receipt animation from refs changes (#12100) 2024-01-03 11:36:11 +00:00
Notifier.ts Rework how the onboarding notifications task works (#12839) 2024-07-30 14:55:08 +00:00
PageTypes.ts
PasswordReset.ts Stop using deprecated methods, fields & exports (#12524) 2024-05-15 14:58:28 +00:00
phonenumber.ts Get country names from the browser instead of manual i18n (#11428) 2023-08-22 16:15:16 +00:00
PlatformPeg.ts
PlaybackEncoder.ts Reuse single PlaybackWorker between Playback instances (#12520) 2024-05-14 14:56:33 +00:00
PosthogAnalytics.ts Update all non-major dependencies (#12468) 2024-04-30 14:41:46 +00:00
PosthogTrackers.ts Update dependency @vector-im/compound-web to v0.9.4 (#11891) 2023-12-14 11:10:01 +00:00
Presence.ts Switch to updating presence via /sync calls instead of PUT /presence (#11824) 2023-11-01 10:49:47 +00:00
Registration.tsx Migrate more strings to translation keys (#11608) 2023-09-19 07:17:31 +01:00
Resend.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
Roles.ts Migrate more strings to translation keys (#11498) 2023-08-31 11:22:10 +01:00
RoomAliasCache.ts
RoomInvite.tsx Remove room key history sharing (#12618) 2024-06-14 13:13:41 +00:00
RoomNotifs.ts Mark as Unread (#12254) 2024-03-19 13:28:20 +00:00
Rooms.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
ScalarAuthClient.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
ScalarMessaging.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
SdkConfig.ts Update tests for new unsupported browser view (#12836) 2024-07-30 13:16:21 +00:00
Searching.ts Extract SearchScope and SearchInfo into Searching (#12698) 2024-06-26 10:59:04 +00:00
SecurityManager.ts Remove unused CryptoCallbacks implementations (#12919) 2024-08-23 14:00:18 +00:00
SendHistoryManager.ts Switch to importing models/event from main js-sdk export (#11363) 2023-08-07 08:24:58 +00:00
sendTimePerformanceMetrics.ts
sentry.ts Update dependency @sentry/browser to v8.15.0 (#12749) 2024-07-09 15:22:40 +00:00
shouldHideEvent.ts Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
SlashCommands.tsx Remove room key history sharing (#12618) 2024-06-14 13:13:41 +00:00
SlidingSyncManager.ts Remove code smell assertion identified by Sonar (#12547) 2024-05-21 13:49:12 +00:00
SupportedBrowser.ts Ignore desktop for minimum browser support. (#12928) 2024-08-27 09:41:49 +00:00
Terms.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
TextForEvent.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
theme.ts Stop using the js-sdk's compare function (#12782) 2024-07-17 13:51:42 +00:00
TimezoneHandler.ts Allow user to set timezone (#12775) 2024-09-02 09:07:07 +00:00
Typeguards.ts RTE plain text mentions as pills (#10852) 2023-05-16 11:54:16 +00:00
Unread.ts Pop out of Threads Activity Centre (#12136) 2024-02-07 13:49:40 +00:00
UserActivity.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
UserAddress.ts
verification.ts Remove references to matrix-js-sdk/src/crypto/verification (#12365) 2024-03-25 17:44:45 +00:00
Views.ts Lock out the first tab if Element is opened in a second tab. (#11425) 2023-08-24 08:28:43 +00:00
VoipUserMapper.ts Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
WhoIsTyping.ts Migrate more strings to translation keys (#11530) 2023-09-05 10:44:41 +01:00
WorkerManager.ts Load web workers in a way that Webpack 5 can bundle them 2023-11-11 16:03:08 +01:00