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

[Bugfix] Microphone lobby fix #3896

Merged
merged 11 commits into from
Dec 11, 2023
Merged

Conversation

dmceachernmsft
Copy link
Member

What

Update disabled state to make sure that the lobby state allows for muting and unmuting

Why

Gives the user more control on the lobby screen

https://skype.visualstudio.com/SPOOL/_workitems/edit/3520938

How Tested

Validating locally

Copy link
Contributor

github-actions bot commented Dec 8, 2023

Copy link
Contributor

github-actions bot commented Dec 8, 2023

Calling bundle size is decreased✅.

  • Current size: 5587766
  • Base size: 5587770
  • Diff size: -4

Copy link
Contributor

github-actions bot commented Dec 8, 2023

Chat bundle size is decreased✅.

  • Current size: 1526469
  • Base size: 1526470
  • Diff size: -1

Copy link
Contributor

github-actions bot commented Dec 8, 2023

CallWithChat bundle size is decreased✅.

  • Current size: 6400950
  • Base size: 6400954
  • Diff size: -4

Copy link
Contributor

github-actions bot commented Dec 8, 2023

@azure/communication-react jest test coverage for stable.

Lines Statements Functions Branches
Base 21227 / 33186
63.96%
21227 / 33186
63.96%
579 / 1003
57.72%
1677 / 2676
62.66%
Current 21224 / 33186
63.95%
21224 / 33186
63.95%
579 / 1003
57.72%
1692 / 2684
63.04%
Diff -3 / 0
-0.01%
-3 / 0
-0.01%
0 / 0
0%
15 / 8
0.38%

Copy link
Contributor

github-actions bot commented Dec 8, 2023

@azure/communication-react jest test coverage for beta.

Lines Statements Functions Branches
Base 43609 / 68811
63.37%
43609 / 68811
63.37%
906 / 1947
46.53%
2606 / 4192
62.16%
Current 43578 / 68809
63.33%
43578 / 68809
63.33%
906 / 1947
46.53%
2594 / 4179
62.07%
Diff -31 / -2
-0.04%
-31 / -2
-0.04%
0 / 0
0%
-12 / -13
-0.09%

@JamesBurnside JamesBurnside self-requested a review December 8, 2023 22:28
Copy link
Contributor

github-actions bot commented Dec 8, 2023

Copy link
Contributor

github-actions bot commented Dec 8, 2023

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

@dmceachernmsft dmceachernmsft added the update_snapshots Set this label to request automated update of UI snapshots label Dec 8, 2023
@github-actions github-actions bot removed the update_snapshots Set this label to request automated update of UI snapshots label Dec 8, 2023
Copy link
Contributor

github-actions bot commented Dec 8, 2023

Copy link
Contributor

github-actions bot commented Dec 8, 2023

@@ -41,8 +41,7 @@ export const Microphone = (props: {
* When call is in Lobby, microphone button should be disabled.
* This is due to to headless limitation where a call can not be muted/unmuted in lobby.
*/
if (_isInLobbyOrConnecting(callStatus)) {
microphoneButtonProps.disabled = true;
if (callStatus === 'Connecting') {
// Lobby page should show the microphone status that was set on the local preview/configuration
// page until the user successfully joins the call.
microphoneButtonProps.checked = isLocalMicrophoneEnabled;
Copy link
Contributor

@mgamis-msft mgamis-msft Dec 9, 2023

Choose a reason for hiding this comment

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

Not related to this PR but getLocalMicrophoneEnabled selector should be changed to getLocalMicrophoneOn or something. The verb 'enabled' makes it sound like it should decide if the button is enabled/disabled.

Copy link
Contributor

github-actions bot commented Dec 9, 2023

@dmceachernmsft dmceachernmsft enabled auto-merge (squash) December 11, 2023 17:03
Copy link
Contributor

@dmceachernmsft dmceachernmsft merged commit a33fb42 into main Dec 11, 2023
36 checks passed
@dmceachernmsft dmceachernmsft deleted the dmceachernmsft/microphone-lobby-fix branch December 11, 2023 17:20
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