Description
Current State:
- 4 routes for transaction merge flow
- These routes use
backTo parameter for return navigation
Implementation:
- Replace
getRoute(..., backTo) with createDynamicRoute()
- Add source screens to
entryScreens array
- Remove
backTo parameter from route definitions
- Test forward/back navigation
Scope
Routes (4):
| Route Constant |
Path |
MERGE_TRANSACTION_LIST_PAGE |
merge/:transactionID |
MERGE_TRANSACTION_RECEIPT_PAGE |
merge/:transactionID/receipt |
MERGE_TRANSACTION_DETAILS_PAGE |
merge/:transactionID/details |
MERGE_TRANSACTION_CONFIRMATION_PAGE |
merge/:transactionID/confirmation |
Usages
MERGE_TRANSACTION_LIST_PAGE:
src/libs/actions/MergeTransaction.ts
src/pages/TransactionMerge/ReceiptReviewPage.tsx
src/pages/TransactionMerge/DetailsReviewPage.tsx
MERGE_TRANSACTION_RECEIPT_PAGE:
- Search for usages in merge receipt flow
MERGE_TRANSACTION_DETAILS_PAGE:
- Search for usages in merge details flow
MERGE_TRANSACTION_CONFIRMATION_PAGE:
- Search for usages in merge confirmation flow
Files to modify:
src/ROUTES.ts - Update route definitions
src/libs/Navigation/types.ts - Remove backTo from params
- Components listed above
Migration Progress
Issue Owner
Current Issue Owner: @huult
Description
Current State:
backToparameter for return navigationImplementation:
getRoute(..., backTo)withcreateDynamicRoute()entryScreensarraybackToparameter from route definitionsScope
Routes (4):
MERGE_TRANSACTION_LIST_PAGEmerge/:transactionIDMERGE_TRANSACTION_RECEIPT_PAGEmerge/:transactionID/receiptMERGE_TRANSACTION_DETAILS_PAGEmerge/:transactionID/detailsMERGE_TRANSACTION_CONFIRMATION_PAGEmerge/:transactionID/confirmationUsages
MERGE_TRANSACTION_LIST_PAGE:src/libs/actions/MergeTransaction.tssrc/pages/TransactionMerge/ReceiptReviewPage.tsxsrc/pages/TransactionMerge/DetailsReviewPage.tsxMERGE_TRANSACTION_RECEIPT_PAGE:MERGE_TRANSACTION_DETAILS_PAGE:MERGE_TRANSACTION_CONFIRMATION_PAGE:Files to modify:
src/ROUTES.ts- Update route definitionssrc/libs/Navigation/types.ts- RemovebackTofrom paramsMigration Progress
MERGE_TRANSACTION_LIST_PAGEMERGE_TRANSACTION_RECEIPT_PAGEMERGE_TRANSACTION_DETAILS_PAGEMERGE_TRANSACTION_CONFIRMATION_PAGEIssue Owner
Current Issue Owner: @huult