element-web/test/unit-tests/components/structures
David Baker 6a8493c6eb
Update for compatibility with v12 rooms (#30452)
* Update for compatibility with v12 rooms

Stop using powerLevelNorm and reading PL events manually.

To support https://github.com/matrix-org/matrix-js-sdk/pull/4937

* Add test for leave space dialog

* Don't compute stuff if we don't need it

* Use room.client

* Use getSafeUserId

* Remove client arg

* Use getJoinedMembers

and add doc

* Fix tests

* Fix more tests

* Fix other test

* Clarify comment

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-08-05 11:10:30 +00:00
..
__snapshots__ Move Flex & Box component into shared component folder (#30357) 2025-07-22 16:25:45 +00:00
auth Delegate to new ResetIdentityDialog from SetupEncryptionBody (#29701) 2025-04-30 10:08:38 +00:00
AutocompleteInput-test.tsx Update react monorepo to v19 (major) (#28914) 2025-04-09 19:03:09 +00:00
ContextMenu-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
FileDropTarget-test.tsx Disable file drag-and-drop if insufficient permissions (#30186) 2025-06-24 13:26:03 +00:00
FilePanel-test.tsx Update usages of refs for React 19 compatibility (#29536) 2025-03-28 10:07:41 +00:00
LargeLoader-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
LeftPanel-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
LegacyCallEventGrouper-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
LoggedInView-test.tsx Reuse PushProcessor from MatrixClient (#29561) 2025-03-21 11:34:06 +00:00
MainSplit-test.tsx Update all non-major dependencies (#29415) 2025-03-04 17:03:32 +00:00
MatrixChat-test.tsx Update for compatibility with v12 rooms (#30452) 2025-08-05 11:10:30 +00:00
MatrixClientContextProvider-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
MessagePanel-test.tsx Switch away from nesting React trees and mangling the DOM (#29586) 2025-03-26 20:25:03 +00:00
PictureInPictureDragger-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
PipContainer-test.tsx Update react monorepo to v19 (major) (#28914) 2025-04-09 19:03:09 +00:00
ReleaseAnnouncement-test.tsx Remove release announcement on thread activity centre (#29892) 2025-05-07 13:26:32 +00:00
RightPanel-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
RoomSearchView-test.tsx Switch from defer to Promise.withResolvers (#29078) 2025-05-08 10:03:43 +00:00
RoomStatusBar-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
RoomStatusBarUnsentMessages-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
RoomView-test.tsx Add sanity checks to prevent users from ignoring themselves (#30079) 2025-06-04 17:39:19 +00:00
SpaceHierarchy-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
SpaceRoomView-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
TabbedView-test.tsx Add new verification section to user profile (#29200) 2025-02-10 11:22:58 +00:00
ThreadPanel-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
ThreadView-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
TimelinePanel-test.tsx Remove virtual rooms (#29635) 2025-04-16 09:36:34 +01:00
UploadBar-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
UserMenu-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
ViewSource-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00