need a way to delete a wallet. propose options. #13
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/AutistMask#13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wallet Deletion — Proposed Options
Option A: Settings → Delete Wallet (Recommended)
Add a "Delete wallet" button to the settings view for the currently selected wallet.
Flow:
state.wallets[], updateselectedWallet/selectedAddress/activeAddressPros: Simple, consistent with how users manage wallets. Password requirement prevents accidental/unauthorized deletion.
Option B: Long-press / Swipe on Wallet List
Add a delete action to the wallet list on the main view (long-press to reveal delete, or swipe-to-delete).
Pros: More discoverable, quicker.
Cons: Harder to implement well in a popup extension, risk of accidental triggers. Still needs confirmation dialog.
Option C: Edit Mode on Wallet List
Add an "Edit" button to the main view that enters edit mode (showing X buttons on each wallet).
Pros: Familiar iOS-style pattern.
Cons: More UI complexity for a rarely-used action.
My recommendation: Option A
Simplest to implement, safest (password-gated), and the settings view is the natural place for destructive operations. Implementation is ~50 lines of JS:
allowedSites/deniedSites/connectedSitesentries for deleted addressesShould I proceed with Option A, or do you prefer a different approach?
Proposed options for wallet deletion
Option A: Delete from Home screen (inline)
Option B: Delete from Settings
[delete]text linkOption C: Delete from wallet
[info]context[info]buttons. Add a wallet-level[info]or[manage]link next to the wallet name[Delete wallet]linkMy recommendation: Option C
It fits the existing UI patterns best — the
[info]button is already established for addresses, extending it to wallets is natural. It also gives a home for the TODO item "Show wallet's recovery phrase (requires password)" from the README. The wallet management screen would have:All three actions from the README TODO list (delete wallet, delete address, show recovery phrase) could live on this one screen.