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

Clarify the wording on the device trust authorization dialog #47166

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,28 @@ export const AuthenticateWebDevice = ({

return (
<Dialog open={true}>
{/* 360px was used as a way to do our best to get clusterName as the first item on the second line */}
<DialogContent maxWidth="360px">
{/* 400px was used as a way to do our best to get clusterName as the first item on the second line */}
<DialogContent maxWidth="400px">
<Text>
Would you like to launch an authorized web session for{' '}
Would you like to authorize a device trust web session for{' '}
<b>{clusterName}</b>?
</Text>
</DialogContent>
{attempt.status === 'error' && <Alert>{attempt.statusText}</Alert>}
<Flex>
<Flex flexDirection="column">
<ButtonPrimary
disabled={attempt.status === 'processing'}
block={true}
onClick={run}
mr={3}
mb={3}
>
Launch Web Session
Authorize session
</ButtonPrimary>
<ButtonSecondary
disabled={attempt.status === 'processing'}
onClick={onCancel}
>
Cancel
Continue without device trust
</ButtonSecondary>
</Flex>
</Dialog>
Expand Down
Loading