Description
Current State:
- 4 routes for workspace confirmation and referral
- 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 |
WORKSPACE_CONFIRMATION |
workspace/confirmation |
CURRENCY_SELECTION |
workspace/confirmation/currency |
MIGRATED_USER_WELCOME_MODAL |
onboarding/migrated-user-welcome |
REFERRAL_DETAILS_MODAL |
referral/:contentType |
Usages
WORKSPACE_CONFIRMATION:
src/libs/ReportUtils.ts:11552
src/pages/workspace/WorkspacesListPageHeaderButton.tsx:37,59
src/pages/workspace/WorkspacesEmptyStateComponent.tsx:37
src/pages/home/sidebar/FloatingActionButtonAndPopover.tsx:673
CURRENCY_SELECTION:
- Search for usages in currency selection flow
MIGRATED_USER_WELCOME_MODAL:
- Search for usages in migrated user flow
REFERRAL_DETAILS_MODAL:
src/components/ReferralProgramCTA.tsx
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):
WORKSPACE_CONFIRMATIONworkspace/confirmationCURRENCY_SELECTIONworkspace/confirmation/currencyMIGRATED_USER_WELCOME_MODALonboarding/migrated-user-welcomeREFERRAL_DETAILS_MODALreferral/:contentTypeUsages
WORKSPACE_CONFIRMATION:src/libs/ReportUtils.ts:11552src/pages/workspace/WorkspacesListPageHeaderButton.tsx:37,59src/pages/workspace/WorkspacesEmptyStateComponent.tsx:37src/pages/home/sidebar/FloatingActionButtonAndPopover.tsx:673CURRENCY_SELECTION:MIGRATED_USER_WELCOME_MODAL:REFERRAL_DETAILS_MODAL:src/components/ReferralProgramCTA.tsxFiles to modify:
src/ROUTES.ts- Update route definitionssrc/libs/Navigation/types.ts- RemovebackTofrom paramsMigration Progress
WORKSPACE_CONFIRMATIONCURRENCY_SELECTIONMIGRATED_USER_WELCOME_MODALREFERRAL_DETAILS_MODALIssue Owner
Current Issue Owner: @huult