mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
fix(cloud): W10-approved reassign-owner copy; Cancel focused when you give away your own access
This commit is contained in:
@@ -120,16 +120,17 @@ export function CloudWorkspaceConfirmDialog({
|
||||
)
|
||||
: t(
|
||||
'auto.components.cloudWorkspaces.reassignBody',
|
||||
'They can then share, archive or hand it on.'
|
||||
'They can then change who can see it, archive it or make someone else the owner.'
|
||||
)}
|
||||
</DialogDescription>
|
||||
)}
|
||||
</DialogHeader>
|
||||
<DialogFooter>
|
||||
<Button type="button" variant="ghost" onClick={onCancel}>
|
||||
{/* Giving away your own access starts on Cancel, so Enter cannot do it by accident. */}
|
||||
<Button type="button" variant="ghost" onClick={onCancel} autoFocus={losesManagement}>
|
||||
{t('auto.components.cloudWorkspaces.cancel', 'Cancel')}
|
||||
</Button>
|
||||
<Button type="button" onClick={onConfirm} autoFocus>
|
||||
<Button type="button" onClick={onConfirm} autoFocus={!losesManagement}>
|
||||
{pending.kind === 'private'
|
||||
? t('auto.components.cloudWorkspaces.makePrivate', 'Make private')
|
||||
: t('auto.components.cloudWorkspaces.makeOwner', 'Make owner')}
|
||||
|
||||
@@ -20726,7 +20726,7 @@
|
||||
"private": "Private",
|
||||
"privateTooltip": "Private — only {{name}} can open it",
|
||||
"privateTooltipYou": "Private — only you can see it",
|
||||
"reassignBody": "They can then share, archive or hand it on.",
|
||||
"reassignBody": "They can then change who can see it, archive it or make someone else the owner.",
|
||||
"reassignLosesManagement": "You won't be able to manage this workspace after this.",
|
||||
"reassignOwner": "Reassign owner",
|
||||
"reassignTitle": "Make {{name}} the owner?",
|
||||
|
||||
Reference in New Issue
Block a user