element-portable/test/components/views
Robin 0e0be08781
Remove "Add Space" button from RoomListHeader when user cannot create spaces (#9129)
* Remove Add Space button in RoomListHeader when user cannot createSpaces

* Reuse the same booleans as SpaceContextMenu

* Code review fixes

* Fix test for standard case

* Refactor tests and add more

* Test the PlusMenu, where the bug originally was

* Add tests for plus menu

* Refactor tests

* add type in functions and use DMRoomMap#setShared

* use of wrapInMatrixClientContext

* Trigger CI

* Ignore enzyme deprecation in RoomListHeader-test.tsx

Co-authored-by: Estelle Comment <estelle.comment@gmail.com>
Co-authored-by: mcalinghee <mcalinghee.dev@gmail.com>
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2022-08-03 15:19:24 +00:00
..
audio_messages Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
beacon Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
context_menus Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
dialogs Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
elements Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
location Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
messages Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
right_panel Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
rooms Remove "Add Space" button from RoomListHeader when user cannot create spaces (#9129) 2022-08-03 15:19:24 +00:00
settings Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
spaces Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
typography Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
voip Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00