Description
Current State:
- 5 routes for onboarding flow start
- 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 (5):
| Route Constant |
Path |
ONBOARDING_ROOT |
onboarding |
ONBOARDING_PERSONAL_DETAILS |
onboarding/personal-details |
ONBOARDING_PRIVATE_DOMAIN |
onboarding/private-domain |
ONBOARDING_EMPLOYEES |
onboarding/employees |
ONBOARDING_ACCOUNTING |
onboarding/accounting |
Usages
ONBOARDING_ROOT:
- Search for usages in onboarding entry flow
ONBOARDING_PERSONAL_DETAILS:
- Search for usages in personal details flow
ONBOARDING_PRIVATE_DOMAIN:
- Search for usages in private domain flow
ONBOARDING_EMPLOYEES:
- Search for usages in employees selection flow
ONBOARDING_ACCOUNTING:
- Search for usages in accounting selection 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: @mananjadhav
Description
Current State:
backToparameter for return navigationImplementation:
getRoute(..., backTo)withcreateDynamicRoute()entryScreensarraybackToparameter from route definitionsScope
Routes (5):
ONBOARDING_ROOTonboardingONBOARDING_PERSONAL_DETAILSonboarding/personal-detailsONBOARDING_PRIVATE_DOMAINonboarding/private-domainONBOARDING_EMPLOYEESonboarding/employeesONBOARDING_ACCOUNTINGonboarding/accountingUsages
ONBOARDING_ROOT:ONBOARDING_PERSONAL_DETAILS:ONBOARDING_PRIVATE_DOMAIN:ONBOARDING_EMPLOYEES:ONBOARDING_ACCOUNTING:Files to modify:
src/ROUTES.ts- Update route definitionssrc/libs/Navigation/types.ts- RemovebackTofrom paramsMigration Progress
ONBOARDING_ROOTONBOARDING_PERSONAL_DETAILSONBOARDING_PRIVATE_DOMAINONBOARDING_EMPLOYEESONBOARDING_ACCOUNTINGIssue Owner
Current Issue Owner: @mananjadhav