element-web/src
Andy Balaam b8d502be2e
Support dynamic room predecessors in RoomNotificationStateStore (#10297)
* Tests for RoomNotificationStateStore emitting events

* Support dynamic room predecessors in RoomNotificationStateStore

* Remove unused arguments from emit call.

UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons

but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.

* Fix broken test (wrong expected args to emit)

UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons

but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.

* Update the RoomNotificationStore whenever the predecessor labs flag changes

* Fix type errors

* Fix other tests that trigger our new watcher
2023-03-08 14:18:03 +00:00
..
@types Apply strictNullChecks to src/components/views/auth/* (#10299 2023-03-07 10:45:55 +00:00
accessibility Apply strictNullChecks to src/settings/* (#10252 2023-02-28 10:24:59 +00:00
actions Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
async-components/views/dialogs Apply strictNullChecks to src/async-components/* (#10251 2023-02-28 10:51:27 +00:00
audio Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
autocomplete Sort short/exact emoji matches before longer incomplete matches (#10212) 2023-02-27 17:09:15 +00:00
components Explicitly specify all children props (#10312) 2023-03-08 13:28:07 +00:00
contexts Do not prompt for a password when doing a „reset all“ after login (#10208) 2023-02-23 08:46:49 +01:00
customisations Apply strictNullChecks to src/components/views/avatars/* (#10254) 2023-02-28 10:25:36 +00:00
dispatcher Properly type Modal props to ensure useful typescript checking (#10238 2023-02-28 10:31:48 +00:00
editor Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
effects Make TS strict the effects folder (#10111) 2023-02-08 13:12:14 +01:00
emojipicker Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
events Render poll end events in timeline (#10027) 2023-02-07 21:12:39 +00:00
hooks Refactor pill and add tests (#10304) 2023-03-08 13:06:50 +01:00
i18n/strings Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
indexing Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
integrations Apply strictNullChecks to src/stores/widgets/* (#10324) 2023-03-08 11:48:58 +00:00
mjolnir Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
models Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
modules Fixes user authentication when registering via the module API (#10257) 2023-03-07 16:24:44 +01:00
notifications Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
performance Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
rageshake Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
resizer Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
settings Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
stores Support dynamic room predecessors in RoomNotificationStateStore (#10297) 2023-03-08 14:18:03 +00:00
toasts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
usercontent Apply prettier formatting 2022-12-12 12:24:14 +01:00
utils Refactor pill and add tests (#10304) 2023-03-08 13:06:50 +01:00
voice-broadcast Use compound icons (#10292) 2023-03-08 11:11:01 +01:00
widgets Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
workers
AddThreepid.ts Properly type Modal props to ensure useful typescript checking (#10238 2023-02-28 10:31:48 +00:00
AsyncWrapper.tsx Explicitly specify all children props (#10312) 2023-03-08 13:28:07 +00:00
Avatar.ts Apply strictNullChecks to src/components/views/avatars/* (#10254) 2023-02-28 10:25:36 +00:00
BasePlatform.ts Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
BlurhashEncoder.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
boundThreepids.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
call-types.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
ContentMessages.ts Allow parsing png files to fail if thumbnailing is successful (#10308) 2023-03-07 15:48:23 +00:00
createRoom.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
DateUtils.ts Remove threads labs flag and the ability to disable threads (#9878) 2023-02-20 14:46:07 +00:00
DecryptionFailureTracker.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
DeviceListener.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
Editing.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
email.ts Factor out basic email check (#10244) 2023-02-28 10:39:35 +01:00
emoji.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
HtmlUtils.tsx Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
IConfigOptions.ts Remove hosting link provider from Element (#10270) 2023-03-02 17:36:16 +00:00
identifiers.ts
IdentityAuthClient.tsx Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
ImageUtils.ts Improve typescript null checking in places (#10073 (#10073 2023-02-03 15:27:47 +00:00
index.ts Step 6: Refactor event rendering to stop using getComponent 2022-03-28 14:02:31 -06:00
KeyBindingsDefaults.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
KeyBindingsManager.ts Enable @typescript-eslint/explicit-member-accessibility on /src (#9785) 2022-12-16 12:29:59 +00:00
Keyboard.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
languageHandler.tsx Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
LegacyCallHandler.tsx Apply strictNullChecks to src/stores/widgets/* (#10324) 2023-03-08 11:48:58 +00:00
Lifecycle.ts Fixes user authentication when registering via the module API (#10257) 2023-03-07 16:24:44 +01:00
linkify-matrix.ts Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
Livestream.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
Login.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
Markdown.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
MatrixClientPeg.ts Fix some features not being configurable via features (#10276) 2023-03-03 13:31:51 +00:00
MediaDeviceHandler.ts Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
Modal.tsx Properly type Modal props to ensure useful typescript checking (#10238 2023-02-28 10:31:48 +00:00
NodeAnimator.tsx Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
Notifier.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
PageTypes.ts Delete the remainder of groups (#9357) 2022-10-05 17:44:46 +00:00
PasswordReset.ts Fix some inconsistencies in error messages (#10114) 2023-02-09 10:04:54 +00:00
phonenumber.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
PlatformPeg.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
PosthogAnalytics.ts Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
PosthogTrackers.ts Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
Presence.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
Registration.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
Resend.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
Roles.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomAliasCache.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
RoomInvite.tsx Properly type Modal props to ensure useful typescript checking (#10238 2023-02-28 10:31:48 +00:00
RoomNotifs.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
Rooms.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
ScalarAuthClient.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
ScalarMessaging.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
SdkConfig.ts Apply strictNullChecks to src/components/views/auth/* (#10299 2023-03-07 10:45:55 +00:00
Searching.ts Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
SecurityManager.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
SendHistoryManager.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
sendTimePerformanceMetrics.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
sentry.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
shouldHideEvent.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
SlashCommands.tsx Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
SlidingSyncManager.ts More tests 2023-01-20 12:38:58 +00:00
Terms.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
TextForEvent.tsx Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
theme.ts Update all non-major dependencies (#9766) 2023-03-06 17:21:09 +00:00
Unread.ts Remove threads labs flag and the ability to disable threads (#9878) 2023-02-20 14:46:07 +00:00
UserActivity.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
UserAddress.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
verification.ts TypeScript strict fixes (#10138) 2023-02-10 18:11:57 +00:00
Views.ts Implement Use Case Selection screen (#8984) 2022-07-13 15:43:44 +02:00
VoipUserMapper.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
WhoIsTyping.ts TypeScript strict fixes (#10138) 2023-02-10 18:11:57 +00:00