-
Notifications
You must be signed in to change notification settings - Fork 78
[bugfix] Mobile configuration page enable devices button when camera or microphone is available #3944
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
Merged
edwardlee-msft
merged 7 commits into
main
from
elee/bugfix-mobile-devices-button-config-page
Dec 27, 2023
Merged
[bugfix] Mobile configuration page enable devices button when camera or microphone is available #3944
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3831204
Mobile configuration page enable device button when either microphone…
edwardlee-msft 725e4ce
Change files
edwardlee-msft 21c40e5
Duplicate change files for beta release
edwardlee-msft f4c4d74
Merge branch 'main' into elee/bugfix-mobile-devices-button-config-page
edwardlee-msft ba6dbc9
Merge branch 'main' into elee/bugfix-mobile-devices-button-config-page
edwardlee-msft 679bb39
Add speaker condition as well
edwardlee-msft ccd666e
Merge branch 'main' into elee/bugfix-mobile-devices-button-config-page
edwardlee-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
change-beta/@azure-communication-react-edeccae0-dcdf-4a87-b2ca-465f6367ffc6.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "type": "patch", | ||
| "area": "fix", | ||
| "workstream": "LocalPreview", | ||
| "comment": "Mobile configuration page enable device button when either microphone or camera is available", | ||
| "packageName": "@azure/communication-react", | ||
| "email": "edwardlee@microsoft.com", | ||
| "dependentChangeType": "patch" | ||
| } |
9 changes: 9 additions & 0 deletions
9
change/@azure-communication-react-edeccae0-dcdf-4a87-b2ca-465f6367ffc6.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "type": "patch", | ||
| "area": "fix", | ||
| "workstream": "LocalPreview", | ||
| "comment": "Mobile configuration page enable device button when either microphone or camera is available", | ||
| "packageName": "@azure/communication-react", | ||
| "email": "edwardlee@microsoft.com", | ||
| "dependentChangeType": "patch" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose technically we should be checking both the permission cross referencing those if there are devices for each?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking of the case where we have cameras, but no camera permission
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although no permission maybe means we have no cameras... Though not sure if no camera via the role capability means that
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually yeah no we just need to check the camera permission - ignore all this ^_^There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reopening -- but only because we might have no camera permission and no mic permission -- but still want to change the speaker.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No! I was thinking of the case where we have camera permission, but no cameras and we have microphones but no microphone permission (and lets assume no speakers). Then the button won't be disabled when it should be
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you tell its the Friday before xmas 🎅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this, as it does a check for when devices have no microphone or camera present despite having permissions.
However, the hasNoDevices does something similar here for this specific case so we are covered I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there's still a couple edge cases: