Skip to content

[Due for payment 2026-01-27] Background changes to Reports after verifying account and opening expense row in Inbox #79740

Closed

Description

@jponikarchuk

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.3.3-2
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #77657
Email or phone of affected tester (no customers): yonghongkok2+sjdo2isjnds2od@gmail.com
Issue reported by: Applause Internal Team
Bug source: Exploratory - Significant User Experience Deterioration
Device used: Mac 26.1 / Chrome
App Component: Money Requests

Action Performed:

Precondition:

  • User A has submitted two IOU expenses to User B.
  • Perform the steps below as User B.
  1. Go to staging.new.expensify.com
  2. Open chat with User A.
  3. Open the IOU report.
  4. Click Mark as paid.
  5. Enter magic code.
  6. Click Mark as paid.
  7. Click on any expense row.

Expected Result:

Background will remain in Inbox after verifying account and opening expense row.

Actual Result:

Background changes to Reports after verifying account and opening expense row in Inbox.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @johncschuster

Activity

  1. added
    DeployBlockerCash
    Bug
    on Jan 16, 2026
  2. melvin-bot commented on Jan 16, 2026

    @melvin-bot

    You have been assigned to this deploy blocker because you recently merged this PR: #77657

  3. melvin-bot commented on Jan 16, 2026

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  4. melvin-bot commented on Jan 16, 2026

    @melvin-bot

    Triggered auto assignment to @johncschuster (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  5. github-actions commented on Jan 16, 2026

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. OSBotify commented on Jan 16, 2026

    @OSBotify
    Contributor

    🔍 Investigation Summary

    Classification: Frontend bug
    Causing PR: #77657 - "Super wide RHP" by @collectioneur (High confidence)
    Related Issues: None identified

    Recommendation: REVERT

    This PR introduced a new expense report route (e/:reportID) and verification flow that does not preserve the navigation context (Inbox vs Reports tab). When a user verifies their account from the Inbox tab, the navigation incorrectly returns to the Reports tab context instead of maintaining the Inbox context.

    Labels: Keeping DeployBlockerCash as this is a frontend bug affecting the App. No label changes needed.

    📋 Detailed Analysis

    Evidence

    • The issue explicitly references PR Super wide RHP  #77657 in the issue body
    • The bug is reproducible only in staging (where PR Super wide RHP  #77657 is deployed), not in production
    • The PR was merged on 2026-01-15 and is in the current StagingDeployCash checklist

    Verification

    I verified that PR #77657 modified the relevant code paths:

    • Added new route: EXPENSE_REPORT_RHP (e/:reportID) in src/ROUTES.ts
    • Added new screen: EXPENSE_REPORT_VERIFY_ACCOUNT in src/SCREENS.ts
    • Created new page: src/pages/home/report/ExpenseReportVerifyAccountPage.tsx
    • Modified navigation logic: Changes to MoneyReportHeader.tsx, MoneyRequestHeader.tsx, MoneyRequestReportView.tsx, and multiple other files to support the new Super Wide RHP functionality

    Root Cause

    The new ExpenseReportVerifyAccountPage.tsx (line 11) navigates back using:

    <VerifyAccountPageBase navigateBackTo={ROUTES.EXPENSE_REPORT_RHP.getRoute({reportID: route.params.reportID})} />

    This navigation does not preserve the original tab context (Inbox vs Reports). When verification completes, VerifyAccountPageBase.tsx (line 67) calls:

    Navigation.navigate(navigateForwardTo, {forceReplace: true});

    The EXPENSE_REPORT_RHP route does not include information about which tab the user was on originally, causing the navigation to default to the Reports tab context instead of preserving the Inbox context.

    The PR introduced a comprehensive refactoring of expense report navigation to support Super Wide RHP, but did not account for preserving navigation context across the account verification flow when opened from different tabs.

  7. WojtekBoman commented on Jan 16, 2026

    @WojtekBoman
    Contributor

    I'll fix that!

  8. added
    Reviewing
    on Jan 16, 2026
  9. removed
    DeployBlockerCash
    on Jan 16, 2026
  10. mountiny commented on Jan 16, 2026

    @mountiny
    Contributor

    Fixed based on the comment in the pr

  11. added
    Weekly
    Awaiting Payment
    and removed
    Hourly
    on Jan 20, 2026
  12. changed the title [-]Background changes to Reports after verifying account and opening expense row in Inbox[/-] [+][Due for payment 2026-01-27] Background changes to Reports after verifying account and opening expense row in Inbox[/+] on Jan 20, 2026
  13. removed
    Reviewing
    on Jan 20, 2026
  14. melvin-bot commented on Jan 20, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  15. melvin-bot commented on Jan 20, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.4-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-01-27. 🎊

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

  16. melvin-bot commented on Jan 20, 2026

    @melvin-bot

    @ZhenjaHorbach @johncschuster The PR fixing this issue has been merged! 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]

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

Metadata

Metadata

Labels

Awaiting PaymentBugEngineeringWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions