element-web/test/components/views/rooms
maheichyk d0c266d4a1
Support joining non-peekable rooms via the module API (#10154)
When previewing a room, we normally do not have a Room object. Currently, when the RoomPreviewBar is instantiated without a room, it doesn't raise the PreviewRoomNotLoggedIn and JoinFromRoomPreview module lifecycle events, meaning that modules are unable to intercept previews of non-peekable rooms.

To fix this, make sure that we pass the room ID into RoomPreviewBar irrespective of whether we have a Room object, and use it to raise the module lifecycle events.

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-02-23 10:29:21 +00:00
..
__snapshots__ Fix 'Failed check: Ellipsis' on Weblate (#10144) 2023-02-14 09:05:01 +00:00
NotificationBadge Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
wysiwyg_composer Hide indent button in rte (#10149) 2023-02-14 11:07:36 +00:00
BasicMessageComposer-test.tsx fix: correctly identify emoticons (#10108) 2023-02-08 17:29:12 +01:00
DecryptionFailureBar-test.tsx Improve decryption error UI by consolidating error messages and providing instructions when possible (#9544) 2022-12-15 17:24:33 +00:00
EventTile-test.tsx Remove threads labs flag and the ability to disable threads (#9878) 2023-02-20 14:46:07 +00:00
MemberList-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
MessageComposer-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
MessageComposerButtons-test.tsx Replace some enzyme tests by @testing-library/react (#9822) 2022-12-23 10:46:14 +00:00
NewRoomIntro-test.tsx Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
ReadReceiptGroup-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomHeader-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
RoomListHeader-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
RoomPreviewBar-test.tsx Support joining non-peekable rooms via the module API (#10154) 2023-02-23 10:29:21 +00:00
RoomPreviewCard-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomTile-test.tsx Use the same avatar colour when creating 1:1 DM rooms (#9850) 2023-01-05 17:05:21 +01:00
SearchBar-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
SearchResultTile-test.tsx Fix "[object Promise]" appearing in HTML exports (#9975) 2023-01-30 14:31:32 +00:00
SendMessageComposer-test.tsx Remove threads labs flag and the ability to disable threads (#9878) 2023-02-20 14:46:07 +00:00
VoiceRecordComposerTile-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00