Skip to content

[BT-148] Migrate Onboarding (Part 1) #83870

@mjasikowski

Description

@mjasikowski

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

  • ONBOARDING_ROOT
  • ONBOARDING_PERSONAL_DETAILS
  • ONBOARDING_PRIVATE_DOMAIN
  • ONBOARDING_EMPLOYEES
  • ONBOARDING_ACCOUNTING
Issue OwnerCurrent Issue Owner: @mananjadhav

Metadata

Metadata

Labels

InternalRequires API changes or must be handled by Expensify staffMonthlyKSv2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions