Skip to content

[BT-145] Migrate Travel (Part 2) #83867

Closed

Description

@mjasikowski

Description

Current State:

  • 5 routes for travel workspace and trip details
  • 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
TRAVEL_WORKSPACE_CONFIRMATION travel/upgrade/workspace/confirmation
TRAVEL_WORKSPACE_ADDRESS travel/:domain/workspace-address
TRAVEL_VERIFY_ACCOUNT travel/verify-account
TRIP_DETAILS r/:reportID/trip/:transactionID
TRIP_SEGMENT_DETAILS r/:reportID/trip/:transactionID/:pnr/:sequenceIndex

Usages

TRAVEL_WORKSPACE_CONFIRMATION:

  • Search for usages in travel workspace confirmation flow

TRAVEL_WORKSPACE_ADDRESS:

  • Search for usages in travel workspace address flow

TRAVEL_VERIFY_ACCOUNT:

  • Search for usages in travel verify account flow

TRIP_DETAILS / TRAVEL_TRIP_DETAILS:

  • src/components/ReportActionItem/MoneyRequestView.tsx:1176
  • src/components/ReportActionItem/TripDetailsView.tsx:152

TRIP_SEGMENT_DETAILS:

  • Search for usages in trip segment details flow

Files to modify:

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

Migration Progress

  • TRAVEL_WORKSPACE_CONFIRMATION
  • TRAVEL_WORKSPACE_ADDRESS
  • TRAVEL_VERIFY_ACCOUNT
  • TRIP_DETAILS
  • TRIP_SEGMENT_DETAILS
Issue OwnerCurrent Issue Owner: @suneox

Activity

  1. added
    Weekly
    Internal
    on Mar 2, 2026
  2. added
    Weekly
    and removed on May 7, 2026
  3. melvin-bot commented on Jun 1, 2026

    @melvin-bot

    This issue has not been updated in over 15 days. @mananjadhav, @mjasikowski, @huult eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  4. added
    Weekly
    and removed on Jun 2, 2026
  5. 25 remaining items

  6. melvin-bot commented on Aug 17, 2026

    @melvin-bot

    This issue has not been updated in over 15 days. @mjasikowski, @suneox, @huult eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  7. added
    Daily
    and removed
    Reviewing
    on Aug 27, 2026
  8. melvin-bot commented on Aug 27, 2026

    @melvin-bot

    @suneox / @huult

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.62-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-09-03. 🎊

    The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]

  9. melvin-bot commented on Aug 28, 2026

    @melvin-bot

    @suneox / @huult

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.63-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

  10. melvin-bot commented on Aug 31, 2026

    @melvin-bot

    @suneox Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

DailyInternalSkip Payment

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions