fix: persist confirm-tx view across popup close/reopen #81

Closed
clawbot wants to merge 1 commits from fix/77-confirm-tx-persist into main
Collaborator

The confirm-tx view was not in RESTORABLE_VIEWS, so closing and reopening the popup would fall back to the main view, losing the pending transaction confirmation.

Changes:

  • Save pendingTx data to state.viewData when showing confirm-tx
  • Add confirm-tx to RESTORABLE_VIEWS
  • Add restore logic in restoreView() to re-render confirm-tx from persisted data

docker build . passes.

Closes #77

The `confirm-tx` view was not in `RESTORABLE_VIEWS`, so closing and reopening the popup would fall back to the main view, losing the pending transaction confirmation. Changes: - Save `pendingTx` data to `state.viewData` when showing confirm-tx - Add `confirm-tx` to `RESTORABLE_VIEWS` - Add restore logic in `restoreView()` to re-render confirm-tx from persisted data `docker build .` passes. Closes #77
clawbot added 1 commit 2026-02-28 21:26:04 +01:00
fix: persist confirm-tx view across popup close/reopen
All checks were successful
check / check (push) Successful in 22s
d2f7284975
The confirm-tx view was not in RESTORABLE_VIEWS, so closing and
reopening the popup would fall back to the main view, losing the
pending transaction confirmation.

Save pendingTx data to state.viewData when showing confirm-tx and
add confirm-tx to the set of restorable views with proper restore
logic.

Closes #77
clawbot added the
bot
needs-review
labels 2026-02-28 21:26:16 +01:00
clawbot closed this pull request 2026-02-28 21:28:15 +01:00
Author
Collaborator

Closing as duplicate of #79.

Closing as duplicate of #79.
clawbot self-assigned this 2026-02-28 21:37:59 +01:00
clawbot removed their assignment 2026-02-28 21:38:11 +01:00
All checks were successful
check / check (push) Successful in 22s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/AutistMask#81
No description provided.