Skip to content

[BT-134] Migrate Room + Search #83856

Closed
Closed

Description

@mjasikowski

Description

Current State:

  • 6 routes for room management and search functionality
  • 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
SPLIT_BILL_DETAILS r/:reportID/split/:reportActionID
ROOM_MEMBERS r/:reportID/members
ROOM_MEMBER_DETAILS r/:reportID/members/:accountID
ROOM_INVITE r/:reportID/invite
SEARCH_REPORT search/view/:reportID/:reportActionID?
EXPENSE_REPORT_RHP e/:reportID

Usages

SPLIT_BILL_DETAILS:

  • src/pages/home/report/PureReportActionItem.tsx:1127
  • src/components/ReportActionItem/MoneyRequestAction.tsx:119

ROOM_MEMBERS:

  • src/pages/RoomInvitePage.tsx:201
  • src/pages/ReportDetailsPage.tsx:398
  • src/pages/RoomMemberDetailsPage.tsx:47

ROOM_MEMBER_DETAILS:

  • src/pages/RoomMembersPage.tsx:367

ROOM_INVITE:

  • src/pages/RoomMembersPage.tsx:132
  • src/pages/ReportDetailsPage.tsx:412

SEARCH_REPORT:

  • src/pages/TransactionDuplicate/Review.tsx:74
  • src/pages/Search/SearchReportVerifyAccountPage.tsx:14
  • src/pages/Search/SearchPage.tsx:493,505,519
  • src/libs/SettlementButtonUtils.ts:43,62
  • src/libs/SearchUIUtils.ts:1635
  • src/libs/ReportUtils.ts:10134
  • src/components/SelectionListWithSections/Search/TransactionGroupListExpanded.tsx:116
  • src/components/Search/index.tsx:835,845
  • src/components/ParentNavigationSubtitle.tsx:161
  • src/components/MoneyRequestReportView/MoneyRequestReportTransactionList.tsx:397
  • src/libs/PaymentUtils.ts:152
  • src/components/ReportActionItem/MoneyRequestAction.tsx:130,138
  • src/components/HTMLEngineProvider/HTMLRenderers/MentionReportRenderer/index.tsx:47

EXPENSE_REPORT_RHP:

  • src/pages/home/report/ExpenseReportVerifyAccountPage.tsx:16,17
  • src/libs/SettlementButtonUtils.ts:47,70
  • src/components/ReportActionItem/MoneyRequestReportPreview/index.tsx:119
  • src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx:526

Files to modify:

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

Migration Progress

  • SPLIT_BILL_DETAILS
  • ROOM_MEMBERS
  • ROOM_MEMBER_DETAILS
  • ROOM_INVITE
  • SEARCH_REPORT
  • EXPENSE_REPORT_RHP
Issue OwnerCurrent Issue Owner: @mananjadhav

Activity

  1. added
    Weekly
    Internal
    on Mar 2, 2026
  2. added
    Weekly
    and removed on May 14, 2026
  3. added
    Reviewing
    Weekly
    and removed
    Weekly
    on May 15, 2026
  4. added
    Weekly
    and removed
    Weekly
    on May 29, 2026
  5. 14 remaining items

  6. mjasikowski commented on Jun 11, 2026

    @mjasikowski
    ContributorAuthor

    Thanks @huult!

  7. added
    Daily
    and removed
    Weekly
    on Jun 11, 2026
  8. changed the title [-][BT-134] Migrate Room + Search[/-] [+][Due for payment 2026-06-18] [BT-134] Migrate Room + Search[/+] on Jun 11, 2026
  9. melvin-bot commented on Jun 11, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.5-6 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-06-18. 🎊

    For reference, here are some details about the assignees on this issue:

    • @mananjadhav requires payment through NewDot Manual Requests
    • @huult requires payment through NewDot Manual Requests
  10. melvin-bot commented on Jun 15, 2026

    @melvin-bot

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

  11. huult commented on Jun 16, 2026

    @huult
    Contributor

    SEARCH_REPORT cannot be migrated to a dynamic route because it already serves as the base route for many existing dynamic routes, and converting it would break the route hierarchy that depends on it.

    EXPENSE_REPORT cannot be migrated because it is already a base report screen and entry point for many dynamic routes, so making it dynamic itself would break the child routes that depend on it.

    cc @mjasikowski @mananjadhav @collectioneur

  12. changed the title [-][Due for payment 2026-06-18] [BT-134] Migrate Room + Search[/-] [+][BT-134] Migrate Room + Search[/+] on Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

DailyInternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions