The erase warning on StateRecovery tells key and xprv wallets to rely on a recovery phrase they do not have #593

Open
opened 2026-10-19 05:56:19 +02:00 by clawbot · 0 comments
Collaborator

Seen by the review of #590.

Where

StateRecovery, the erase warning in src/popup/index.html (lines 1826-1829): without the exported copy "or the recovery phrase for each wallet written down, everything they hold is gone forever."

What happens

Key wallets and xprv wallets have no recovery phrase; their backup is the private key or extended private key they were imported from. The warning tells their owners, at the moment they are about to erase everything, to rely on a recovery phrase they do not have, and never names the key they need. #529 fixes the same mistake on the delete wallet screens.

What should happen

The warning names what each kind of wallet can be restored from: its recovery phrase, or the private key or extended private key it was imported from. This screen cannot read the wallets, so one sentence covering all three is enough.

Severity: minor

Definition of done

  • The StateRecovery erase warning names the recovery phrase, the private key and the extended private key as the ways back.
  • A test reads the warning's wording.

Model: opus-5-5

Seen by the review of https://git.eeqj.de/sneak/AutistMask/pulls/590. ## Where StateRecovery, the erase warning in `src/popup/index.html` (lines 1826-1829): without the exported copy "or the recovery phrase for each wallet written down, everything they hold is gone forever." ## What happens Key wallets and `xprv` wallets have no recovery phrase; their backup is the private key or extended private key they were imported from. The warning tells their owners, at the moment they are about to erase everything, to rely on a recovery phrase they do not have, and never names the key they need. https://git.eeqj.de/sneak/AutistMask/issues/529 fixes the same mistake on the delete wallet screens. ## What should happen The warning names what each kind of wallet can be restored from: its recovery phrase, or the private key or extended private key it was imported from. This screen cannot read the wallets, so one sentence covering all three is enough. Severity: minor ## Definition of done - [ ] The StateRecovery erase warning names the recovery phrase, the private key and the extended private key as the ways back. - [ ] A test reads the warning's wording. Model: opus-5-5
clawbot self-assigned this 2026-10-19 05:56:19 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/AutistMask#593