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

Feat/change device during call #212

Merged
merged 51 commits into from
Dec 16, 2024
Merged

Conversation

malmen237
Copy link
Contributor

@malmen237 malmen237 commented Nov 18, 2024

What does this do?

This PR enables the possibility to trigger the device-fetch, both from the main-page and from the call. This also makes it possible to change the device connected to the call. It will create a small pause in the call due to the fact that the user needs to be disconnected and re-connected in order to switch, but the user should only experience it like a small "reload" in the UI.

Reload-button on the main-page

Skärmavbild 2024-11-18 kl  16 08 12

Update device-button on the call-page

When pressing "change device" there will be a refetch of all devices connected. If the user adds a new device after the button has been pressed there also is a manual button for reloading the device-list.

When pressing "save" the call will disconnect the previous device and re-connect with the new device connected.

Skärmavbild 2024-11-18 kl  16 08 36 Screenshot 2024-12-05 at 15 00 22

Re-fetch devices not working for Firefox-users

It is not possible to reset permissions for users with firefox-browsers, therefore it is not possible to find new devices connected to the computer.

When pressing the reload devices-button, the firefox user is shown a modal instead:

Skärmavbild 2024-11-19 kl  10 09 43

When changing device during a call the firefox-user is shown a warning that any new devices won't show and instructions how to solve this:

Skärmavbild 2024-11-19 kl  10 10 27

Some minor fixes

Also added a small "word-wrap" to break up long-names, if the production or line is given a name that is too long for the screen

Skärmavbild 2024-11-18 kl  16 20 04

@malmen237 malmen237 requested a review from Saelmala November 18, 2024 15:22
@malmen237 malmen237 force-pushed the feat/change-device-during-call branch from 6282142 to a01a15f Compare November 20, 2024 17:47
@malmen237 malmen237 force-pushed the feat/change-device-during-call branch from a01a15f to bc266fe Compare November 29, 2024 14:54
@malmen237 malmen237 marked this pull request as ready for review December 5, 2024 15:36
@martinstark martinstark changed the base branch from main to development December 12, 2024 10:57
malmen237 and others added 20 commits December 13, 2024 14:50
@malmen237 malmen237 changed the base branch from development to feat/multiple-sessions-one-window December 13, 2024 14:28
Base automatically changed from feat/multiple-sessions-one-window to development December 13, 2024 14:32
@malmen237 malmen237 force-pushed the feat/change-device-during-call branch from 04ee700 to 6c3a9ae Compare December 16, 2024 08:33
@malmen237 malmen237 merged commit 7a51cb5 into development Dec 16, 2024
2 checks passed
@malmen237 malmen237 deleted the feat/change-device-during-call branch December 16, 2024 09:51
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.

4 participants