Skip to content

feat(web): the wizard on create, restore, reset, regenerate, re-found, merge and import (D253) - #183

Merged
allisson merged 1 commit into
mainfrom
feat/wizard-flows-d253
Nov 12, 2026
Merged

allisson merged 1 commit into
mainfrom
feat/wizard-flows-d253

Conversation

@allisson

Copy link
Copy Markdown
Owner

The third part of the v0.7.1 work (D253): the seven other step flows run the same wizard as pairing and sync (#182). One step at a time, "Step N of M · name" with a bar, and Cancel while there is something to cancel.

What changes

  • Create: Write down the Recovery Phrase → Confirm the phrase → Create the local password. Its new Cancel drops the phrase (controller.cancelCreation()) and returns to the start's menu.
  • Restore (and replace): Choose the backup → Open the backup → Create the local password. The replacement's warning stays above the steps.
  • Reset the password: Type the Recovery Phrase → Choose the new password.
  • Regenerate the phrase: Read the warning → Write down the new phrase → Confirm the phrase → Confirm it is you → Done.
  • Re-found: Read the warnings → Confirm it is you → Write down the new phrase → Confirm the phrase → Choose the new local password.
  • Merge: Choose the backup → Open the backup → Merge → Done.
  • Import: Choose the file → Open the file (only when the file has a password, so the count is set once it is read) → Check what comes in → Done.
  • Each flow's own Cancel button gives way to the wizard's. The message keys left unused (restore.cancel, import.cancel, refound.cancel, settings.regenCancel, and pairing.cancel and sync.cancel from feat(web): a wizard for pairing, joining, re-admission and sync (D253) #182) are removed.
  • No step, check, warning or confirmation is removed or reordered. A failure still returns to step 1 with its reason.

Tests

  • controller.test.ts: cancelCreation drops the phrase, and a creation without one does nothing.
  • e2e: the steps checked in onboarding (create and restore, and create's Cancel back to the starts), import, backup-merge, phrase-regeneration and refounding. recovery-phrase now expects the wizard's Cancel next to "I wrote them down" on the phrase screen, which still has no copy or download control.
  • pnpm run ci green. Playwright: Chromium 186 (183 passed, 2 skipped, 1 failure fixed and rerun green), Firefox and WebKit 351 passed, 21 skipped.

Docs

  • docs/roadmap.md: the task for the other flows ticked. D253 already set these steps.

🤖 Generated with Claude Code

…, merge and import (D253)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@allisson
allisson merged commit 46b98b7 into main Nov 12, 2026
7 checks passed
@allisson
allisson deleted the feat/wizard-flows-d253 branch November 12, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant