element-web/test/components/views
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
..
audio_messages Accessibility improvements around aria-labels and tooltips (#12062) 2024-01-05 10:59:41 +00:00
auth Get country names from the browser instead of manual i18n (#11428) 2023-08-22 16:15:16 +00:00
avatars Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
beacon Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
beta Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
context_menus Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
dialogs Fix display of room notification debug info (#12183) 2024-01-29 12:38:37 +00:00
elements Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
emojipicker Fix regression in emoji picker order mangling after clearing filter (#10854) 2023-05-11 13:24:39 +00:00
location Fix colour of avatar and colour matching with username (#11470) 2023-08-24 17:12:28 +00:00
messages Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
polls/pollHistory Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
right_panel Hide the "Message" button in the sidebar if the CreateRooms components should not be shown (#9271) 2024-01-26 14:54:48 +00:00
rooms Add Element call related functionality to new room header (#12091) 2024-01-31 15:18:52 +00:00
settings Add labs flag for Threads Activity Centre (#12137) 2024-01-29 17:52:48 +00:00
spaces Add notification dots to thread summary icons (#12146) 2024-01-25 16:53:41 +00:00
toasts Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
voip Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
VerificationShowSas-test.tsx Load SAS Emoji translations from @matrix-org/spec (#11429) 2023-08-21 08:15:22 +00:00