Skip to content

[BT-123] Migrate Money Request (Part 4) #83851

Closed

Description

@mjasikowski

Description

Current State:

  • 6 routes for money request report, tag, and distance steps
  • 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 (6):

Route Constant Path
MONEY_REQUEST_STEP_REPORT :action/:iouType/report/:transactionID/:reportID/:reportActionID?
MONEY_REQUEST_STEP_REPORT_EDIT :action/:iouType/report/:reportID/edit
MONEY_REQUEST_STEP_TAG :action/:iouType/tag/:tagIndex/:transactionID/:reportID/:reportActionID?
MONEY_REQUEST_STEP_DISTANCE :action/:iouType/distance/:transactionID/:reportID
MONEY_REQUEST_STEP_DISTANCE_MANUAL :action/:iouType/distance-manual/:transactionID/:reportID
MONEY_REQUEST_STEP_DISTANCE_RATE :action/:iouType/distanceRate/:transactionID/:reportID

Usages

MONEY_REQUEST_STEP_REPORT:

  • src/pages/iou/request/step/IOURequestStepReport.tsx

MONEY_REQUEST_STEP_REPORT_EDIT:

  • Search for usages in report editing flow

MONEY_REQUEST_STEP_TAG:

  • src/pages/iou/request/step/IOURequestStepTag.tsx:190
  • src/pages/iou/SplitExpenseEditPage.tsx:206
  • src/components/ReportActionItem/MoneyRequestView.tsx:760
  • src/components/MoneyRequestConfirmationListFooter.tsx:681

MONEY_REQUEST_STEP_DISTANCE:

  • src/components/ReportActionItem/MoneyRequestView.tsx:625
  • src/components/MoneyRequestConfirmationListFooter.tsx:519

MONEY_REQUEST_STEP_DISTANCE_MANUAL:

  • Search for usages in manual distance entry flow

MONEY_REQUEST_STEP_DISTANCE_RATE:

  • Search for usages in distance rate 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

  • MONEY_REQUEST_STEP_REPORT
  • MONEY_REQUEST_STEP_REPORT_EDIT
  • MONEY_REQUEST_STEP_TAG
  • MONEY_REQUEST_STEP_DISTANCE
  • MONEY_REQUEST_STEP_DISTANCE_MANUAL
  • MONEY_REQUEST_STEP_DISTANCE_RATE
Issue OwnerCurrent Issue Owner: @suneox

Activity

  1. added
    Weekly
    Internal
    on Mar 2, 2026
  2. melvin-bot commented on May 14, 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!

  3. added
    Weekly
    and removed on May 15, 2026
  4. 23 remaining items

  5. added
    Daily
    and removed
    Reviewing
    Weekly
    on Aug 18, 2026
  6. melvin-bot commented on Aug 18, 2026

    @melvin-bot

    @suneox / @huult

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.55-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-08-25. 🎊

    The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero 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]

  7. suneox commented on Aug 21, 2026

    @suneox
    Contributor

    Not overdue, the implementation plan is finished and waiting for prod deploy.

  8. melvin-bot commented on Aug 24, 2026

    @melvin-bot

    @suneox Whoops! This issue is 2 days overdue. Let's get this updated quick!

  9. suneox commented on Aug 26, 2026

    @suneox
    Contributor

    @mjasikowski All migrations have been deployed to production for a week, so we can close this migration

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