fix: disable export-privkey and delete-wallet buttons during async processing #89
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/AutistMask#89
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/issue-86-disable-buttons-during-async"
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?
Closes #86
Disables the
#btn-export-privkey-confirmand#btn-delete-wallet-confirmbuttons (withtext-mutedclass) during async password verification, consistent with howconfirm-tx,approve-tx, andapprove-signalready work.decryptWithPassword, re-enabled infinallyblockdocker build .passes.Disables
#btn-export-privkey-confirmand#btn-delete-wallet-confirmbuttons during async password verification, matching the pattern used byconfirm-tx,approve-tx, andapprove-sign.decryptWithPassword, re-enabled infinallyblockdocker build .passes.e1eb1f15dbto06e12889dcUpdated the branch with a clean commit. Changes:
addressDetail.js:#btn-export-privkey-confirmis now disabled withtext-mutedbefore the asyncdecryptWithPasswordcall, and re-enabled in afinallyblock.deleteWallet.js:#btn-delete-wallet-confirmis now disabled withtext-mutedbefore the async operation, and re-enabled on password verification failure. On success the view navigates away so no re-enable is needed.docker build .passes.Review: ✅ merge-ready
Changes correctly disable
#btn-export-privkey-confirmand#btn-delete-wallet-confirmduring async password verification, matching the existing pattern used byconfirm-tx,approve-tx, andapprove-sign.addressDetail.js: Button disabled beforedecryptWithPassword, re-enabled infinally— correct.deleteWallet.js: Button disabled before decrypt, re-enabled only on wrong-password path (success navigates away) — correct.docker build .passes.Assigned to @sneak for merge.
06e12889dcto886cd38a9b