Skip to content

[BT-153] Migrate Settings - Troubleshoot/Misc #83364

@mjasikowski

Description

@mjasikowski

Description

Current State:

  • 5 routes for troubleshooting, keyboard shortcuts, and test tools
  • 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
SETTINGS_EXIT_SURVEY_CONFIRM settings/exit-survey/confirm
KEYBOARD_SHORTCUTS keyboard-shortcuts

Usages

SETTINGS_EXIT_SURVEY_CONFIRM:

  • src/pages/settings/ExitSurvey/ExitSurveyReasonPage.tsx:50

KEYBOARD_SHORTCUTS:

  • src/libs/Navigation/AppNavigator/AuthScreens.tsx:273,276
  • src/pages/settings/AboutPage/AboutPage.tsx:71

Files to modify:

  • src/ROUTES.ts - Update route definitions
  • src/libs/Navigation/types.ts - Remove backTo from params
  • Components listed above

Migration Progress

  • SETTINGS_EXIT_SURVEY_CONFIRM
  • KEYBOARD_SHORTCUTS
Issue OwnerCurrent Issue Owner: @mananjadhav

Metadata

Metadata

Labels

InternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in reviewWeeklyKSv2

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