Skip to content

Update domain permissions to support individual camera and microphone modals#2485

Merged
JamesBurnside merged 13 commits intomainfrom
jaburnsi/domainPermissionsUIUpdates
Nov 4, 2022
Merged

Update domain permissions to support individual camera and microphone modals#2485
JamesBurnside merged 13 commits intomainfrom
jaburnsi/domainPermissionsUIUpdates

Conversation

@JamesBurnside
Copy link
Copy Markdown
Member

What

  • Create a base domainpermissions component that each individual permissions component use
  • Create three domainpermissions components: CameraAndMicrophone, Camera, Microphone
  • Repurpose the Try Again button with an optional Continue Anyway button
    • This will be a little strange on mobile until the prompt behavior is changed in an upcoming PR (but call readiness is opted-out currently so not breaking).
  • Update storybook to have appropriate preview args:
    image

Why

New call readiness designs

How Tested

Just in storybook, the prompt logic is changing and will be a separate PR

Before:

DomainPermission Dialog (Before change)
image

After:

CameraAndMicrophone (After changes) Camera (After changes) Microphone (After changes)
image image image

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2022

Calling bundle size is increased❗.

  • Current size: 5333732
  • Base size: 5332646
  • Diff size: 1086

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2022

Chat bundle size is increased❗.

  • Current size: 5442838
  • Base size: 5442386
  • Diff size: 452

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2022

CallWithChat bundle size is increased❗.

  • Current size: 5721315
  • Base size: 5720229
  • Diff size: 1086

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2022

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.

@JamesBurnside JamesBurnside added the update_snapshots Set this label to request automated update of UI snapshots label Nov 3, 2022
@github-actions github-actions Bot removed the update_snapshots Set this label to request automated update of UI snapshots label Nov 3, 2022
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2022

@JamesBurnside JamesBurnside added the update_snapshots Set this label to request automated update of UI snapshots label Nov 3, 2022
@github-actions github-actions Bot removed the update_snapshots Set this label to request automated update of UI snapshots label Nov 3, 2022
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 3, 2022

const theme = useTheme();
return (
<Stack style={{ padding: '2rem', maxWidth: '25.375rem' }} aria-label={strings?.ariaLabel}>
<Stack horizontal style={{ paddingBottom: '1rem' }} horizontalAlign={'space-between'}>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

nit: this should have props.cameraIconName || props.connectorIconName || props.microphoneIconName

Base automatically changed from jaburnsi/move-device-permissions-components-into-folder to main November 4, 2022 17:19
@JamesBurnside JamesBurnside enabled auto-merge (squash) November 4, 2022 17:29
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 4, 2022

@JamesBurnside JamesBurnside force-pushed the jaburnsi/domainPermissionsUIUpdates branch from a33e804 to 5c4f9b9 Compare November 4, 2022 17:42
@JamesBurnside JamesBurnside force-pushed the jaburnsi/domainPermissionsUIUpdates branch from 5c4f9b9 to 18f6929 Compare November 4, 2022 17:47
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 4, 2022

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 4, 2022

@JamesBurnside JamesBurnside merged commit 3aab73e into main Nov 4, 2022
@JamesBurnside JamesBurnside deleted the jaburnsi/domainPermissionsUIUpdates branch November 4, 2022 18:14
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.

3 participants