element-web-Github/test/components/views/rooms
Timo 73b16239a5
Add Element call related functionality to new room header (#12091)
* New room header
 - add chat button during call
 - close lobby button in lobby
 - join button if session exists
 - allow to toggle call <-> timeline during call with call button

Compound style for join button in call notify toast.

Signed-off-by: Timo K <toger5@hotmail.de>

* dont show start call, join button in video rooms.

Signed-off-by: Timo K <toger5@hotmail.de>

* Make active call check based on participant count
Not based on available call object

Signed-off-by: Timo K <toger5@hotmail.de>

* fix room header tests

Signed-off-by: Timo K <toger5@hotmail.de>

* fix room header tests

Signed-off-by: Timo K <toger5@hotmail.de>

* remove chat button test for displaying.
Chat button display logic is now part of the RoomHeader.

Signed-off-by: Timo K <toger5@hotmail.de>

* remove duplicate notification Tread icon

Signed-off-by: Timo K <toger5@hotmail.de>

* remove obsolete jest snapshot

Signed-off-by: Timo K <toger5@hotmail.de>

* Update src/components/views/rooms/RoomHeader.tsx

Co-authored-by: Robin <robin@robin.town>

* update isECWidget logic

Signed-off-by: Timo K <toger5@hotmail.de>

* remove dead code

Signed-off-by: Timo K <toger5@hotmail.de>

* refactor call options
Add menu to choose if there are multiple options

Signed-off-by: Timo K <toger5@hotmail.de>

* join ec when clicking join button (dont start jitsi)
Use icon buttons
don't show call icon when join button is visible

Signed-off-by: Timo K <toger5@hotmail.de>

* refactor isViewingCall

Signed-off-by: Timo K <toger5@hotmail.de>

* fix room header tests

Signed-off-by: Timo K <toger5@hotmail.de>

* fix header snapshot

Signed-off-by: Timo K <toger5@hotmail.de>

* sonar proposals

Signed-off-by: Timo K <toger5@hotmail.de>

* fix event shiftKey may be undefined

Signed-off-by: Timo K <toger5@hotmail.de>

* more lobby time before timeout
only await sticky promise on becoming sticky.

Signed-off-by: Timo K <toger5@hotmail.de>

* don't allow starting new calls if there is an ongoing other call.

Signed-off-by: Timo K <toger5@hotmail.de>

* review

Signed-off-by: Timo K <toger5@hotmail.de>

* fix translation typo

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Robin <robin@robin.town>
2024-01-31 15:18:52 +00:00
..
__snapshots__ Add Element call related functionality to new room header (#12091) 2024-01-31 15:18:52 +00:00
EventTile Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
NotificationBadge Add notification dots to thread summary icons (#12146) 2024-01-25 16:53:41 +00:00
RoomHeader Add Element call related functionality to new room header (#12091) 2024-01-31 15:18:52 +00:00
wysiwyg_composer Expose apps/widgets (#12071) 2024-01-22 10:53:27 +00:00
BasicMessageComposer-test.tsx Escape placeholder before injecting it into the style (#11607) 2023-09-19 05:58:53 +00:00
EditMessageComposer-test.tsx Default intentional mentions (#11602) 2023-09-14 11:36:15 +00:00
EventTile-test.tsx Add notification dots to thread summary icons (#12146) 2024-01-25 16:53:41 +00:00
ExtraTile-test.tsx Refactor ExtraTile to use functional components (#10191) 2023-02-23 11:57:37 +00:00
LegacyRoomHeader-test.tsx Add labs flag for Threads Activity Centre (#12137) 2024-01-29 17:52:48 +00:00
MemberList-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
MemberTile-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
MessageComposer-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +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 Eliminate the use of MatrixClientPeg in utils (#10910) 2023-05-23 16:24:12 +01:00
PinnedEventTile-test.tsx Apply strictNullChecks to src/components/views/rooms/* (#10875) 2023-05-21 23:53:23 +00:00
PresenceLabel-test.tsx Implement new unreachable state and fix broken string ref (#11748) 2023-11-07 10:14:30 +00:00
ReadReceiptGroup-test.tsx Migrate more strings to translation keys (#11694) 2023-10-03 19:17:26 +01:00
RoomHeader-test.tsx Add Element call related functionality to new room header (#12091) 2024-01-31 15:18:52 +00:00
RoomKnocksBar-test.tsx Consolidate conjugation i18n strings (#11660) 2023-09-25 12:18:15 +01:00
RoomList-test.tsx Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
RoomListHeader-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
RoomPreviewBar-test.tsx Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
RoomPreviewCard-test.tsx Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00:00
RoomTile-test.tsx Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
SearchBar-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
SearchResultTile-test.tsx Render timeline separator for late event groups (#11739) 2023-10-16 14:14:04 +00:00
SendMessageComposer-test.tsx Allow adding extra icons to the room header (#11799) 2023-11-01 12:03:10 +00:00
ThirdPartyMemberInfo-test.tsx Apply strictNullChecks to src/components/views/rooms/* (#10875) 2023-05-21 23:53:23 +00:00
VoiceRecordComposerTile-test.tsx Default intentional mentions (#11602) 2023-09-14 11:36:15 +00:00