Description
Current State:
- 3 routes for debug tools and final miscellaneous screens
- 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 (3):
| Route Constant |
Path |
CHANGE_POLICY_EDUCATIONAL |
change-workspace-educational |
DETAILS_CONSTANT_PICKER_PAGE |
debug/:formType/details/constant/:fieldName |
DETAILS_DATE_TIME_PICKER_PAGE |
debug/details/datetime/:fieldName |
Usages
CHANGE_POLICY_EDUCATIONAL:
- Search for usages in policy change educational flow
DETAILS_CONSTANT_PICKER_PAGE:
src/pages/Debug/ConstantSelector.tsx:66
DETAILS_DATE_TIME_PICKER_PAGE:
src/pages/Debug/DateTimeSelector.tsx:60
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: @mananjadhav
Description
Current State:
backToparameter for return navigationImplementation:
getRoute(..., backTo)withcreateDynamicRoute()entryScreensarraybackToparameter from route definitionsScope
Routes (3):
CHANGE_POLICY_EDUCATIONALchange-workspace-educationalDETAILS_CONSTANT_PICKER_PAGEdebug/:formType/details/constant/:fieldNameDETAILS_DATE_TIME_PICKER_PAGEdebug/details/datetime/:fieldNameUsages
CHANGE_POLICY_EDUCATIONAL:DETAILS_CONSTANT_PICKER_PAGE:src/pages/Debug/ConstantSelector.tsx:66DETAILS_DATE_TIME_PICKER_PAGE:src/pages/Debug/DateTimeSelector.tsx:60Files to modify:
src/ROUTES.ts- Update route definitionssrc/libs/Navigation/types.ts- RemovebackTofrom paramsMigration Progress
CHANGE_POLICY_EDUCATIONALDETAILS_CONSTANT_PICKER_PAGEDETAILS_DATE_TIME_PICKER_PAGEIssue Owner
Current Issue Owner: @mananjadhav