Files
amethyst/desktopApp/plans
nrobi144andClaude Opus 4.8 b6210e9fd0 feat(desktop): guided first-run key backup + reachable settings backup
Reworks the Desktop new-account key backup after testing surfaced that the
original card never rendered and the settings entry sat on dead code.

- Guided 3-step "Save your keys" onboarding (NewKeyOnboardingScreen), full
  window + scrollable so it never clips. Used by BOTH the cold-start login and
  the in-app "+ Add Account" generate paths. Retires NewKeyWarningCard.
- Split key generation from activation (AccountManager.buildNewAccount +
  activateAccount + begin/finish/cancelNewAccountOnboarding). generateNewAccount
  previously flipped account state immediately, tearing down the screen before
  any backup UI could show — the root cause of "no save-your-keys prompt".
- Move BackupKeysCard into the reachable Settings screen (RelaySettingsScreen);
  the old ProfileScreen host had no call sites.
- Fix the password show/hide eye (was a non-clickable Icon) in both the
  onboarding and settings encrypted-copy sections.
- Run NIP-49 encryption off the UI thread so the "Copy encrypted" button stays
  responsive and reliably flips to "Copied!"; match the plain copy button style.
- Add EncryptedKeyBackupTest: nsec -> hex -> Nip49 encrypt -> decrypt round-trip
  (and wrong-password fails).
- Plans + manual testing sheet under desktopApp/plans/.

Known follow-up: Desktop loginWithKey does not yet import ncryptsec1, so
encrypted backups can't be restored on Desktop yet (Android already handles it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-13 06:54:55 +03:00
..

desktopApp plans

Audited 2026-06-30. 13 plans: 10 shipped (archived), 2 in-progress, 1 queued, 0 abandoned.

In progress

Plan Summary
2026-05-12-feat-desktop-wallet-zapping-test-coverage-plan.md Desktop wallet/zap test coverage; NWC handler + RPC round-trip tests shipped, wallet-column-state and zap-dialog-logic tests still missing.
2026-06-21-napplet-desktop-host.md Desktop NIP-5A/5D host; shared core extractions done, desktop engine/scheme-handler/transport/UI edge not yet built.

Queued

Plan Summary
2026-05-21-embedded-wallet-phase2-research.md Research for an embedded self-custodial Lightning wallet (Breez/ldk-node/lightning-kmp); parked, no code.

Archived (shipped)

Plan Summary
archive/2026-05-09-embedded-local-relay-plan.md In-process SQLite local relay with write-through + startup hydration + settings UI.
archive/2026-05-11-wallet-zapping-brainstorm.md Brainstorm map for the desktop wallet & zapping experience (NWC parity shipped).
archive/2026-05-12-wallet-zapping-phase1-2-plan.md NWC wallet column (connect/balance/send/receive) plus upgraded zapping UX.
archive/2026-05-19-fix-desktop-deb-launch-crash-brainstorm.md Fix .deb launch crash via jlink modules + CI launch smoke test.
archive/2026-05-20-wallet-zapping-manual-testing-sheet.md Manual QA sheet for the desktop wallet & zapping feature.
archive/2026-05-23-feat-send-dialog-lnurl-pay-brainstorm.md Brainstorm for LNURL-pay / lightning-address support in the send dialog.
archive/2026-05-23-feat-send-dialog-lnurl-pay-plan.md Send dialog accepts LNURL + lightning addresses with auto-detect/resolve flow.
archive/2026-05-23-fix-nsec-session-persistence-brainstorm.md Fix nsec sessions not persisting across restarts (save on App-level scope).
archive/2026-06-08-feat-desktop-image-compression-plan.md JPEG re-encode/downscale upload pipeline with EXIF strip + failure dialog, shared with CLI.
archive/2026-06-17-feat-app-launch-optimization-plan.md Launch testing/benchmark foundation + targeted launch-path fixes (all in-scope phases landed).