diff --git a/desktop/src-tauri/tauri.conf.json b/desktop/src-tauri/tauri.conf.json index 05dc555339..b3d154171b 100644 --- a/desktop/src-tauri/tauri.conf.json +++ b/desktop/src-tauri/tauri.conf.json @@ -17,8 +17,8 @@ "windows": [ { "title": "", - "width": 800, - "height": 600, + "width": 900, + "height": 650, "maximized": true, "visible": false, "transparent": false, @@ -30,8 +30,8 @@ "y": 25 }, "backgroundThrottling": "disabled", - "minWidth": 800, - "minHeight": 500 + "minWidth": 900, + "minHeight": 650 } ], "macOSPrivateApi": true, diff --git a/desktop/src/features/onboarding/ui/BackupStep.tsx b/desktop/src/features/onboarding/ui/BackupStep.tsx index 03fbf8dab9..00369264c7 100644 --- a/desktop/src/features/onboarding/ui/BackupStep.tsx +++ b/desktop/src/features/onboarding/ui/BackupStep.tsx @@ -29,7 +29,10 @@ import { import { IdentityKeyHelpDialog } from "./IdentityKeyHelpDialog"; import { OnboardingFooter } from "./OnboardingFooter"; import { useOnboardingPreviewCardLayout } from "./OnboardingPreviewShell"; -import { ONBOARDING_PREVIEW_SECONDARY_CTA_CLASS } from "./onboardingPreviewCardStyles"; +import { + ONBOARDING_PREVIEW_NEUTRAL_SURFACE_CLASS, + ONBOARDING_PREVIEW_SECONDARY_CTA_CLASS, +} from "./onboardingPreviewCardStyles"; import { type OnboardingTransitionDirection, OnboardingSlideTransition, @@ -53,6 +56,10 @@ let introPlayed = false; const REVEAL_ANIMATION_CLASS = "animate-in fade-in duration-700 motion-reduce:animate-none"; +const V3_KEY_GUIDANCE_ICON_CLASS = cn( + "flex h-11 w-11 shrink-0 items-center justify-center rounded-full text-foreground/80", + ONBOARDING_PREVIEW_NEUTRAL_SURFACE_CLASS, +); const BACKUP_OPTION_CLASS = "flex min-h-48 w-full flex-col items-start justify-start px-6 py-5 text-left text-foreground"; @@ -222,8 +229,8 @@ export function BackupStep({ >

@@ -256,13 +263,13 @@ export function BackupStep({

{v3Presentation ? ( -
+
- +

@@ -270,7 +277,7 @@ export function BackupStep({

- +

@@ -278,7 +285,7 @@ export function BackupStep({

- +

@@ -486,117 +493,94 @@ export function BackupStep({ className={cn("py-6", cardLayout ? "px-0" : "px-8")} variant="textured" > -

-
- {canUseSpoilerParticles ? ( -
+
+
+ {canUseSpoilerParticles ? ( +
+ +

+ {PREVIEW_KEY_TEXT} +

+
+
+ ) : ( +

+ {isRevealed && nsec ? nsec : maskedKey} +

+ )} +
+ {canUseSpoilerParticles ? null : ( +
- ) : ( - + )}
- {canUseSpoilerParticles ? null : ( - - )} + + {v3Presentation ? ( +
+ +
+ ) : null}
- {v3Presentation ? ( -
- - -
- ) : null} - {copyError ? (

)} - + + {v3Presentation && created ? ( + + ) : null} {v3Presentation && created && showPreviewBackupShortcut ? (

@@ -478,6 +463,7 @@ export function OnboardingPreviewApp() { } else if (page === "identity-key") { content = ( setPage(variant === "v3" ? "backup-options" : "landing")} testId="onboarding-preview-identity-key" total={journey.totalSteps} @@ -540,7 +526,11 @@ export function OnboardingPreviewApp() { content = ( setPage("identity-key")} - onDone={() => setPage("identity-key")} + onDone={() => + variant === "v3" + ? continueFromAccount("identity-key") + : setPage("identity-key") + } session={backupSession} total={journey.totalSteps} v3Presentation={variant === "v3"} diff --git a/desktop/src/features/onboarding/ui/OnboardingPreviewCredentials.tsx b/desktop/src/features/onboarding/ui/OnboardingPreviewCredentials.tsx index eb973de91d..6a25bac693 100644 --- a/desktop/src/features/onboarding/ui/OnboardingPreviewCredentials.tsx +++ b/desktop/src/features/onboarding/ui/OnboardingPreviewCredentials.tsx @@ -238,12 +238,17 @@ export function PreviewCredentialsFields({ />
- +
+ + {passwordHelp ? ( +
{passwordHelp}
+ ) : null} +
) : null}
- {passwordHelp ? ( -
{passwordHelp}
- ) : null} {onConfirmPasswordChange ? (