Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add skipLobby to params #1730

Merged
merged 4 commits into from
Oct 25, 2023
Merged

Add skipLobby to params #1730

merged 4 commits into from
Oct 25, 2023

Conversation

toger5
Copy link
Contributor

@toger5 toger5 commented Oct 11, 2023

Previously preload automatically was skipping the lobby. In our effort to make the url params more specific instead of hiding a bunch of changes behind one parameter that is named based on usage (embed -> confineToRoom... preload -> preload + skipLobby).

Before preload was also skipping the lobby. Now its two different things so we can also skip the lobby without using preload (most likely for the mobile 1:1 call experience).
fixes: #1734

Signed-off-by: Timo K <toger5@hotmail.de>
@toger5 toger5 requested a review from a team as a code owner October 11, 2023 12:44
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (5900b76) 29.96% compared to head (5897104) 29.96%.

Additional details and impacted files
@@           Coverage Diff            @@
##           livekit    #1730   +/-   ##
========================================
  Coverage    29.96%   29.96%           
========================================
  Files           47       47           
  Lines         1879     1879           
  Branches       329      329           
========================================
  Hits           563      563           
  Misses        1272     1272           
  Partials        44       44           
Flag Coverage Δ
unittests 29.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/UrlParams.ts 75.92% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@robintown robintown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question. Also, we should make sure to create a companion PR for Element Web adding this URL parameter, otherwise this will break EC integration on web

src/room/GroupCallView.tsx Outdated Show resolved Hide resolved
@toger5 toger5 requested a review from robintown October 13, 2023 13:16
robintown added a commit to robintown/matrix-react-sdk that referenced this pull request Oct 13, 2023
The semantics of the preload parameter are changing as detailed here, meaning we now have to additionally specify skipLobby to get the desired behavior out of Element Call: element-hq/element-call#1730
robintown added a commit to robintown/matrix-react-sdk that referenced this pull request Oct 13, 2023
The semantics of the preload parameter are changing as detailed here, meaning we now have to additionally specify skipLobby to get the desired behavior out of Element Call: element-hq/element-call#1730
Copy link
Member

@robintown robintown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, and I've created the Element Web companion PR so this can be unblocked

github-merge-queue bot pushed a commit to matrix-org/matrix-react-sdk that referenced this pull request Oct 16, 2023
…11749)

The semantics of the preload parameter are changing as detailed here, meaning we now have to additionally specify skipLobby to get the desired behavior out of Element Call: element-hq/element-call#1730
Signed-off-by: Timo K <toger5@hotmail.de>
Signed-off-by: Timo K <toger5@hotmail.de>
Signed-off-by: Timo K <toger5@hotmail.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add skip lobby url flag
3 participants