riot-web/src
Robin 54765b4473 Only feed state events to widgets if we believe they update the state
As part of the effort to make room state more reliable, we're looking at changing how state is communicated to widgets. Rather than passing all state events from the timeline through (and forcing the widget to assume that they belong to the server's view of the room state), let's try passing only those state events through that we believe actually belong to the server's view of the room state. When combined with a matrix-js-sdk that supports MSC4222, this improves the reliability of state tracking for widgets.

We would like to later explore a solution that has a separate 'state update' widget action in addition to the generic 'incoming timeline event' widget action, to make the widget API better reflect the shape of the data sources that drive it (like the sync responses of Simplified Sliding Sync or MSC4222).
2024-11-11 17:46:49 -05:00
..
@types Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
accessibility Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
actions Make Sonar happier 2024-10-18 12:56:57 +01:00
async-components Move state update listeners from constructor to componentDidMount (#28341) 2024-11-01 17:39:08 +00:00
audio Change license (#13) 2024-09-09 13:57:16 +00:00
autocomplete Change license (#13) 2024-09-09 13:57:16 +00:00
components Deduplicate icons using Compound Design Tokens (#28419) 2024-11-11 17:27:22 +00:00
contexts Tweak default right panel size to be 320px except for maximised widgets at 420px (#110) 2024-10-04 09:41:00 +00:00
customisations Remove unused Security customisations module (#28350) 2024-11-04 09:49:20 +00:00
dispatcher Remove boilerplate around dispatcher and settings watchers (#28338) 2024-11-01 15:15:04 +00:00
editor Change license (#13) 2024-09-09 13:57:16 +00:00
effects Change license (#13) 2024-09-09 13:57:16 +00:00
emojipicker Change license (#13) 2024-09-09 13:57:16 +00:00
events Change license (#13) 2024-09-09 13:57:16 +00:00
hooks Wire up analytics for Legacy/EC/Jitsi voip options (#28348) 2024-11-04 09:49:41 +00:00
i18n/strings [create-pull-request] automated change (#28409) 2024-11-08 06:24:40 +00:00
indexing Change license (#13) 2024-09-09 13:57:16 +00:00
integrations Change license (#13) 2024-09-09 13:57:16 +00:00
mjolnir Remove boilerplate around dispatcher and settings watchers (#28338) 2024-11-01 15:15:04 +00:00
models Remove boilerplate around dispatcher and settings watchers (#28338) 2024-11-01 15:15:04 +00:00
modules Change license (#13) 2024-09-09 13:57:16 +00:00
notifications Change license (#13) 2024-09-09 13:57:16 +00:00
performance Change license (#13) 2024-09-09 13:57:16 +00:00
rageshake Migrate to stylistic 2024-10-18 14:34:01 +01:00
resizer Change license (#13) 2024-09-09 13:57:16 +00:00
serviceworker Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/repo-merge 2024-10-15 15:38:52 +01:00
settings Remove boilerplate around dispatcher and settings watchers (#28338) 2024-11-01 15:15:04 +00:00
slash-commands Change license (#13) 2024-09-09 13:57:16 +00:00
stores Only feed state events to widgets if we believe they update the state 2024-11-11 17:46:49 -05:00
toasts Remove upgrade encryption in `DeviceListener` and `SetupEncryptionToast` (#28299) 2024-10-29 12:28:41 +00:00
usercontent Update design of files list in right panel (#144) 2024-10-14 18:08:05 +00:00
utils Switch secondary React trees to the createRoot API (#28296) 2024-11-06 12:44:54 +00:00
vector Flatten Vector-override components (#28346) 2024-11-05 15:41:00 +00:00
voice-broadcast Migrate to stylistic 2024-10-18 14:34:01 +01:00
widgets Migrate to stylistic 2024-10-18 14:34:01 +01:00
workers Change license (#13) 2024-09-09 13:57:16 +00:00
AddThreepid.ts Make Sonar happier 2024-10-18 12:56:57 +01:00
AsyncWrapper.tsx Move state update listeners from constructor to componentDidMount (#28341) 2024-11-01 17:39:08 +00:00
Avatar.ts Make Sonar happier 2024-10-18 12:56:57 +01:00
BasePlatform.ts Flatten Vector-override components (#28346) 2024-11-05 15:41:00 +00:00
BlurhashEncoder.ts Change license (#13) 2024-09-09 13:57:16 +00:00
ContentMessages.ts Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in `ContentMessages.ts` (#28238) 2024-10-18 14:44:56 +00:00
CreateCrossSigning.ts Refactor CreateCrossSigningDialog (#28218) 2024-10-22 11:42:07 +00:00
DateUtils.ts Change license (#13) 2024-09-09 13:57:16 +00:00
DecryptionFailureTracker.ts Add PostHog codes for trust requirement failures (#28292) 2024-10-28 13:16:48 +00:00
DeviceListener.ts Remove boilerplate around dispatcher and settings watchers (#28338) 2024-11-01 15:15:04 +00:00
DraftCleaner.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
Editing.ts Change license (#13) 2024-09-09 13:57:16 +00:00
HtmlUtils.tsx Migrate to stylistic 2024-10-18 14:34:01 +01:00
IConfigOptions.ts Add config option to force verification (#29) 2024-09-11 20:55:00 +00:00
IdentityAuthClient.tsx Make Sonar happier 2024-10-18 12:56:57 +01:00
ImageUtils.ts Change license (#13) 2024-09-09 13:57:16 +00:00
KeyBindingsDefaults.ts Change license (#13) 2024-09-09 13:57:16 +00:00
KeyBindingsManager.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Keyboard.ts Change license (#13) 2024-09-09 13:57:16 +00:00
LegacyCallHandler.tsx Migrate to stylistic 2024-10-18 14:34:01 +01:00
Lifecycle.ts Make Sonar happier 2024-10-18 12:56:57 +01:00
Linkify.tsx Change license (#13) 2024-09-09 13:57:16 +00:00
Livestream.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Login.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Markdown.ts Fix markdown escaping wrongly passing html through (#28363) 2024-11-04 11:31:44 +00:00
MatrixClientPeg.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
MediaDeviceHandler.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Modal.tsx Switch ModalManager to the React 18 createRoot API (#28336) 2024-11-04 11:34:00 +00:00
NodeAnimator.tsx Switch away from deprecated ReactDOM findDOMNode (#28259) 2024-10-22 11:58:45 +00:00
Notifier.ts Make Sonar happier 2024-10-18 12:56:57 +01:00
PageTypes.ts Change license (#13) 2024-09-09 13:57:16 +00:00
PasswordReset.ts Change license (#13) 2024-09-09 13:57:16 +00:00
PlatformPeg.ts Change license (#13) 2024-09-09 13:57:16 +00:00
PlaybackEncoder.ts Change license (#13) 2024-09-09 13:57:16 +00:00
PosthogAnalytics.ts Remove boilerplate around dispatcher and settings watchers (#28338) 2024-11-01 15:15:04 +00:00
PosthogTrackers.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Presence.ts Remove boilerplate around dispatcher and settings watchers (#28338) 2024-11-01 15:15:04 +00:00
Registration.tsx Change license (#13) 2024-09-09 13:57:16 +00:00
Resend.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Roles.ts Change license (#13) 2024-09-09 13:57:16 +00:00
RoomAliasCache.ts Change license (#13) 2024-09-09 13:57:16 +00:00
RoomInvite.tsx Update RoomInvite.tsx 2024-10-18 15:38:49 +01:00
RoomNotifs.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
Rooms.ts Change license (#13) 2024-09-09 13:57:16 +00:00
ScalarAuthClient.ts Change license (#13) 2024-09-09 13:57:16 +00:00
ScalarMessaging.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
SdkConfig.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
Searching.ts Change license (#13) 2024-09-09 13:57:16 +00:00
SecurityManager.ts First batch: remove deprecated calls on `MatrixClient` (#28207) 2024-10-21 12:53:39 +01:00
SendHistoryManager.ts Change license (#13) 2024-09-09 13:57:16 +00:00
SlashCommands.tsx Merge pull request #28236 from element-hq/t3chguy/sonar-happy 2024-10-18 15:55:15 +01:00
SlidingSyncManager.ts Merge pull request #28236 from element-hq/t3chguy/sonar-happy 2024-10-18 15:55:15 +01:00
SupportedBrowser.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Terms.ts Make Sonar happier 2024-10-18 12:56:57 +01:00
TextForEvent.tsx Unlabs feature pinning (#22) 2024-09-16 14:51:59 +00:00
TimezoneHandler.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Typeguards.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Unread.ts Change license (#13) 2024-09-09 13:57:16 +00:00
UserActivity.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
UserAddress.ts Change license (#13) 2024-09-09 13:57:16 +00:00
Views.ts Change license (#13) 2024-09-09 13:57:16 +00:00
VoipUserMapper.ts Change license (#13) 2024-09-09 13:57:16 +00:00
WhoIsTyping.ts Change license (#13) 2024-09-09 13:57:16 +00:00
WorkerManager.ts Change license (#13) 2024-09-09 13:57:16 +00:00
boundThreepids.ts Change license (#13) 2024-09-09 13:57:16 +00:00
call-types.ts Change license (#13) 2024-09-09 13:57:16 +00:00
createRoom.ts Change license (#13) 2024-09-09 13:57:16 +00:00
email.ts Change license (#13) 2024-09-09 13:57:16 +00:00
favicon.ts Update license files 2024-09-06 15:44:31 +01:00
identifiers.ts Change license (#13) 2024-09-09 13:57:16 +00:00
index.ts Change license (#13) 2024-09-09 13:57:16 +00:00
languageHandler.tsx Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
linkify-matrix.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
phonenumber.ts Change license (#13) 2024-09-09 13:57:16 +00:00
sendTimePerformanceMetrics.ts Change license (#13) 2024-09-09 13:57:16 +00:00
sentry.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
shouldHideEvent.ts Change license (#13) 2024-09-09 13:57:16 +00:00
theme.ts Change license (#13) 2024-09-09 13:57:16 +00:00
verification.ts First batch: remove deprecated calls on `MatrixClient` (#28207) 2024-10-21 12:53:39 +01:00