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
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.
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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The
confirm-txview was not inRESTORABLE_VIEWS, so closing and reopening the popup would fall back to the main view, losing the pending transaction confirmation.Changes:
pendingTxdata tostate.viewDatawhen showing confirm-txconfirm-txtoRESTORABLE_VIEWSrestoreView()to re-render confirm-tx from persisted datadocker build .passes.Closes #77
Closing as duplicate of #79.
Pull request closed