Callwithchat mobile: dismissed drawer after device selection#2115
Callwithchat mobile: dismissed drawer after device selection#2115carocao-msft merged 10 commits intomainfrom
Conversation
CallWithChat bundle size is increased❗.
|
Chat bundle size is increased❗.
|
Calling bundle size is increased❗.
|
|
Two things to consider:
|
|
Failed to pass the composite UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
|
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
|
Failed to pass the composite UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
Updated PR with screen recording , verified both participant button and audio/camera selection drawers are dismissed after selection |
|
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
…i-library into carocao/BUG2896714
|
Failed to pass the composite UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
|
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
|
Failed to pass the composite UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
| props.onLightDismiss(); | ||
| }, | ||
| [speakers, onSelectSpeaker] | ||
| [speakers, onSelectSpeaker, props] |
There was a problem hiding this comment.
nit: avoid props as this means any prop change will cause this to be recreated.
Instead update the above const { speakers, onSelectSpeaker } = props;
to have the onLightDismiss:
const { speakers, onSelectSpeaker, onLightDismiss } = props;
and put onLightDismiss into the dependency array
There was a problem hiding this comment.
^^ I second this as well!
| props.onLightDismiss(); | ||
| }, | ||
| [microphones, onSelectMicrophone] | ||
| [microphones, onSelectMicrophone, props] |
There was a problem hiding this comment.
(nit: same here on avoiding props in the dep array)
There was a problem hiding this comment.
^^ I second this as well
| props.onLightDismiss(); | ||
| }, | ||
| [microphones, onSelectMicrophone] | ||
| [microphones, onSelectMicrophone, props] |
There was a problem hiding this comment.
^^ I second this as well
| props.onLightDismiss(); | ||
| }, | ||
| [speakers, onSelectSpeaker] | ||
| [speakers, onSelectSpeaker, props] |
There was a problem hiding this comment.
^^ I second this as well!
|
Failed to pass the composite UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
|
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
|
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
2 similar comments
|
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
|
Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "ui change" label to the PR for updating the snapshot. |
What
Callwithchat mobile: make drawer dismissed after device selection
Why
https://skype.visualstudio.com/SPOOL/_workitems/edit/2896714
Test
Screen.Recording.2022-07-22.at.11.00.58.AM.mov
Screen.Recording.2022-07-22.at.12.16.50.PM.mov