element-web/test/unit-tests/components/structures
Michael Telatynski b87437d439
Improve performance of RoomContext in RoomHeader (#28574)
* Improve performance of RoomContext in RoomHeader

This allows a component to subscribe to only part of the RoomContext so they do not need to re-render on every single change

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Prettier

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add comment

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-12-02 09:49:52 +00:00
..
__snapshots__ Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in RoomView (#28278) 2024-11-26 21:34:32 +00:00
auth Remove usage of legacyRoot in RTL tests (#28485) 2024-11-20 18:09:51 +00:00
AutocompleteInput-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ContextMenu-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
FilePanel-test.tsx Improve coverage 2024-11-08 16:41:57 +00:00
LargeLoader-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
LeftPanel-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
LegacyCallEventGrouper-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
LoggedInView-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MainSplit-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MatrixChat-test.tsx Use CryptoApi.getKeyBackupInfo instead of deprecated MatrixClient.getKeyBackupVersion (#28450) 2024-11-25 09:30:42 +00:00
MatrixClientContextProvider-test.tsx Use new CryptoEvent import (#128) 2024-10-16 12:56:10 +01:00
MessagePanel-test.tsx Improve performance of RoomContext in RoomHeader (#28574) 2024-12-02 09:49:52 +00:00
PictureInPictureDragger-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
PipContainer-test.tsx Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
ReleaseAnnouncement-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RightPanel-test.tsx Remove unused types & imports 2024-11-05 18:35:31 +00:00
RoomSearchView-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomStatusBar-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomStatusBarUnsentMessages-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomView-test.tsx Merge branch 'develop' of https://github.com/vector-im/element-web into dbkr/stateafter 2024-11-27 10:47:35 +00:00
SpaceHierarchy-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
TabbedView-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ThreadPanel-test.tsx Improve performance of RoomContext in RoomHeader (#28574) 2024-12-02 09:49:52 +00:00
ThreadView-test.tsx Improve performance of RoomContext in RoomHeader (#28574) 2024-12-02 09:49:52 +00:00
TimelinePanel-test.tsx Merge branch 'develop' of https://github.com/vector-im/element-web into dbkr/stateafter 2024-11-27 10:47:35 +00:00
UploadBar-test.tsx Remove unused types & imports 2024-11-05 18:35:31 +00:00
UserMenu-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ViewSource-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00