element-web/test/components/views
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
..
audio_messages Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
auth Support registration tokens (#7275) 2023-01-24 12:02:07 +00:00
avatars Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
beacon Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
beta Apply prettier formatting 2022-12-12 12:24:14 +01:00
context_menus Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
dialogs Make localization keys compatible with agglutinative and/or SOV type languages (#10159) 2023-02-22 12:40:18 +01:00
elements Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
location Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
messages Ended poll tiles: add ended the poll message (#10193) 2023-02-22 10:53:12 +00:00
right_panel Remove threads labs flag and the ability to disable threads (#9878) 2023-02-20 14:46:07 +00:00
rooms Support joining non-peekable rooms via the module API (#10154) 2023-02-23 10:29:21 +00:00
settings Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
spaces Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
typography Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
user-onboarding Use the same avatar colour when creating 1:1 DM rooms (#9850) 2023-01-05 17:05:21 +01:00
voip Redesign the picture-in-picture window (#9800) 2023-01-04 04:44:38 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00