This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor element call lobby + skip lobby (#12057)
* Refactor ElementCall to use the widget lobby. - expose skip lobby - use the widget.data to build the widget url Signed-off-by: Timo K <[email protected]> * Use shiftKey click to skip the lobby Signed-off-by: Timo K <[email protected]> * remove Lobby component Signed-off-by: Timo K <[email protected]> * update tests + remove EW lobby related tests Signed-off-by: Timo K <[email protected]> * remove lobby device button tests Signed-off-by: Timo K <[email protected]> * i18n Signed-off-by: Timo K <[email protected]> * use voip participant label Signed-off-by: Timo K <[email protected]> * update tests Signed-off-by: Timo K <[email protected]> * fix rounded corners in pip Signed-off-by: Timo K <[email protected]> * allow joining call in legacy room header (without banner) Signed-off-by: Timo K <[email protected]> * Introduce new connection states for calls. And use them for integrated lobby. Signed-off-by: Timo K <[email protected]> * New room header call join Fix broken top container element call. Signed-off-by: Timo K <[email protected]> * i18n Signed-off-by: Timo K <[email protected]> * Fix closing element call in lobby view. (should destroy call if there the user never managed to connect (not clicked join in lobby) Signed-off-by: Timo K <[email protected]> * all cases for connection state Signed-off-by: Timo K <[email protected]> * add correct LiveContentSummary labels Signed-off-by: Timo K <[email protected]> * Theme widget loading (no rounded corner) destroy call when switching room while a call is loading. Signed-off-by: Timo K <[email protected]> * temp Signed-off-by: Timo K <[email protected]> * usei view room dispatcher instead of emitter Signed-off-by: Timo K <[email protected]> * tidy up Signed-off-by: Timo K <[email protected]> * returnToLobby + remove StartCallView Signed-off-by: Timo K <[email protected]> * comment cleanup Signed-off-by: Timo K <[email protected]> * disconnect ongoing calls before making widget sticky. Signed-off-by: Timo K <[email protected]> * linter + jitsi as videoChannel Signed-off-by: Timo K <[email protected]> * stickyPromise type Signed-off-by: Timo K <[email protected]> * fix legacy call (jistsi, cisco, bbb) reopen when clicking call button Signed-off-by: Timo K <[email protected]> * fix tests and connect resolves Signed-off-by: Timo K <[email protected]> * fix "waits for messaging when connecting" test Signed-off-by: Timo K <[email protected]> * Allow to skip awaiting Call session events. This option is used in tests to spare mocking the events emitted when EC updates the room state Signed-off-by: Timo K <[email protected]> * add sticky test Signed-off-by: Timo K <[email protected]> * add test for looby tile rendering Signed-off-by: Timo K <[email protected]> * fix flaky test Signed-off-by: Timo K <[email protected]> * add reconnect after disconnect test (video room) Signed-off-by: Timo K <[email protected]> * add shift click test to call toast Signed-off-by: Timo K <[email protected]> * test for allowVoipWithNoMedia in widget url Signed-off-by: Timo K <[email protected]> * fix e2e tests to search for the right element Signed-off-by: Timo K <[email protected]> * destroy call after test so next test does not fail Signed-off-by: Timo K <[email protected]> * new call test (connection failed) Signed-off-by: Timo K <[email protected]> * reset to real timers Signed-off-by: Timo K <[email protected]> * dont use skipSessionAwait for tests Signed-off-by: Timo K <[email protected]> * code quality (sonar) Signed-off-by: Timo K <[email protected]> * refactor call.disconnect tests (dont use skipSessionAwait) Signed-off-by: Timo K <[email protected]> * miscellaneous cleanup Signed-off-by: Timo K <[email protected]> * only send call notify after the call has been joined (not when just opening the lobby) Signed-off-by: Timo K <[email protected]> * update call notify tests to expect notify on connect. Not on widget creation. Signed-off-by: Timo K <[email protected]> * Update playwright/e2e/room/room-header.spec.ts Co-authored-by: Robin <[email protected]> * Update src/components/views/voip/CallView.tsx Co-authored-by: Robin <[email protected]> * review rename connect -> start isVideoRoom not dependant on feature flags rename allOtherCallsDisconnected -> disconnectAllOtherCalls Signed-off-by: Timo K <[email protected]> * check for EC widget Signed-off-by: Timo K <[email protected]> * dep array Signed-off-by: Timo K <[email protected]> * rename in spyOn Signed-off-by: Timo K <[email protected]> --------- Signed-off-by: Timo K <[email protected]> Co-authored-by: Robin <[email protected]>
- Loading branch information