From 51ea1b18f37008cc01c9fd9c9a453a054054187d Mon Sep 17 00:00:00 2001 From: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz> Date: Tue, 28 Jul 2026 09:35:20 -0400 Subject: [PATCH] fix(desktop): rename settings row to Password Backup per spec Tyler's spec names the settings entry "Password Backup". Rename the row title and align its description (password, not passphrase) plus the two doc comments that referenced the old row name. No behavior change; test ids unchanged. Co-authored-by: Tyler Longwell Signed-off-by: Tyler Longwell --- desktop/src/features/onboarding/lib/encryptedBackup.ts | 2 +- desktop/src/features/onboarding/ui/EncryptedBackupCreator.tsx | 2 +- desktop/src/features/settings/ui/ProfileSettingsCard.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop/src/features/onboarding/lib/encryptedBackup.ts b/desktop/src/features/onboarding/lib/encryptedBackup.ts index fd448edcf..c8f790591 100644 --- a/desktop/src/features/onboarding/lib/encryptedBackup.ts +++ b/desktop/src/features/onboarding/lib/encryptedBackup.ts @@ -1,6 +1,6 @@ /** * Pure state model for the encrypted-key-backup (NIP-49) creation flow, - * shared by the onboarding BackupStep and the settings Encrypted backup row. + * shared by the onboarding BackupStep and the settings Password Backup row. * * All validation and phase logic lives here so it can be unit-tested without * React. Hosts wire the reducer to the Tauri commands diff --git a/desktop/src/features/onboarding/ui/EncryptedBackupCreator.tsx b/desktop/src/features/onboarding/ui/EncryptedBackupCreator.tsx index 682797d8d..ced5e9e44 100644 --- a/desktop/src/features/onboarding/ui/EncryptedBackupCreator.tsx +++ b/desktop/src/features/onboarding/ui/EncryptedBackupCreator.tsx @@ -29,7 +29,7 @@ type EncryptedBackupCreatorProps = { /** * Passphrase-first NIP-49 backup creation flow, shared by the onboarding - * BackupStep and the settings Encrypted backup row. + * BackupStep and the settings Password Backup row. * * The raw private key never enters this component: it collects a passphrase, * asks Rust to create + persist the encrypted backup, and displays the diff --git a/desktop/src/features/settings/ui/ProfileSettingsCard.tsx b/desktop/src/features/settings/ui/ProfileSettingsCard.tsx index 27f6ac6d9..5326243ff 100644 --- a/desktop/src/features/settings/ui/ProfileSettingsCard.tsx +++ b/desktop/src/features/settings/ui/ProfileSettingsCard.tsx @@ -189,9 +189,9 @@ function EncryptedBackupRow() {
-

Encrypted backup

+

Password Backup

- Protect your key with a passphrase and save a recoverable backup. + Protect your key with a password and save a recoverable backup.