element-web/src
David Baker 39d453a5a3
Stop using the js-sdk's compare function (#12782)
* Stop using the js-sdk's compare function

The file is supposed to be a js-sdk internal module so we shouldn't
have been using it, and now it uses the native collator, it's completely
trivial. It was also causing Intl.Collator to be accessed at the module
scope which risked it beating the modernizr check.

* add test

* Fix tests

Move the restoreAllMocks to prevent mock leakage and also add
some custom themes to test the ordering of those.

* Move spy to the right place

* Add ANOTHER test

* Add test for integration manager ordering
2024-07-17 13:51:42 +00:00
..
@types Accessibility: Add Landmark navigation (#12190) 2024-07-17 14:46:45 +01: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 Stop using the js-sdk's compare function (#12782) 2024-07-17 13:51:42 +00:00
contexts New user profile UI in User Settings (#12548) 2024-06-06 13:56:38 +00:00
customisations Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
dispatcher Extract focus_search dispatch action into enum (#12721) 2024-07-03 17:02:02 +00:00
editor Don't consider textual characters to be emoji (#12582) 2024-07-04 17:48:07 +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 Align widget_build_url_ignore_dm with call behaviour switch between 1:1 and Widget (#12760) 2024-07-15 09:08:34 +00:00
i18n/strings Accessibility: Add Landmark navigation (#12190) 2024-07-17 14:46:45 +01: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 Fix widgets not being cleaned up correctly. (#12616) 2024-06-17 11:00:41 +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 Clear settings store cache on logout (#12786) 2024-07-17 09:58:07 +00:00
slash-commands Improve types for sendEvent (#12335) 2024-03-25 12:48:48 +00:00
stores Stop using the js-sdk's compare function (#12782) 2024-07-17 13:51:42 +00:00
toasts Fix incoming call toast crash due to audio refactor (#12737) 2024-07-08 12:44:54 +00:00
usercontent
utils Fix HTML export missing a bunch of Compound variables (#12774) 2024-07-15 11:33:41 +01: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 Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01: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 Port more strings to translation keys (#11474) 2023-08-31 07:35:34 +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
Editing.ts
email.ts
HtmlUtils.tsx Don't consider textual characters to be emoji (#12582) 2024-07-04 17:48:07 +00:00
IConfigOptions.ts Add login page option for SSO redirects (#12622) 2024-06-14 10:19:02 +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
index.ts
KeyBindingsDefaults.ts
KeyBindingsManager.ts
Keyboard.ts Accessibility: Add Landmark navigation (#12190) 2024-07-17 14:46:45 +01:00
languageHandler.tsx Update custom translations to support nested fields in structured JSON (#11685) 2023-10-02 10:44:25 +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 Clear settings store cache on logout (#12786) 2024-07-17 09:58:07 +00: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 Switch to Rust crypto stack for all logins (#12630) 2024-06-24 09:14:42 +00:00
MediaDeviceHandler.ts Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
Modal.tsx Fix closing all modals (#12728) 2024-07-05 13:39:13 +00:00
NodeAnimator.tsx Fix regression around read receipt animation from refs changes (#12100) 2024-01-03 11:36:11 +00:00
Notifier.ts Prevent Element appearing in system media controls (#10995) 2024-07-04 18:08:06 +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 Show all labs flags if developerMode enabled (#11746) 2023-10-13 13:24:00 +00:00
Searching.ts Extract SearchScope and SearchInfo into Searching (#12698) 2024-06-26 10:59:04 +00:00
SecurityManager.ts Add logging to encryption setup (#12765) 2024-07-13 13:36:45 +01: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
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
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