Skip to content

[BT-120] Migrate Debug + Final Misc #83848

Description

@mjasikowski

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

  • CHANGE_POLICY_EDUCATIONAL
  • DETAILS_CONSTANT_PICKER_PAGE
  • DETAILS_DATE_TIME_PICKER_PAGE
Issue OwnerCurrent Issue Owner: @mananjadhav

Metadata

Metadata

Labels

DailyKSv2InternalRequires API changes or must be handled by Expensify staff

Type

No type

Fields

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