You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Home- Expense opens in transaction thread after switching to table view and reopening expense #104649
Version Number: 9.5.16-0 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#103703 Email or phone of affected tester (no customers):[email protected] Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.5 / Chrome App Component: Money Requests
Action Performed:
Go to staging.new.expensify.com
Go to workspace chat.
Create an expense.
Go to Home.
Open the expense from Recently added section.
Click More > Switch to table view.
→ Expense opens in table view.
Close and reopen the same expense.
→ Expense opens in transaction thread.
Expected Result:
In Step 7, after switching to table view and reopening the expense, expense will remain in table view.
Actual Result:
In Step 7, after switching to table view and reopening the expense, expense opens in transaction thread.
👋 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:
Identify the pull request that introduced this issue and revert it.
Root cause: The PR added !shouldUseTableViewForSingleExpense to the thread-to-report redirect in OneTransactionThreadRedirectHandler.tsx:96-97. Recently added always opens the expense's transaction thread. In expense view, that thread redirects to the parent report. In table view, the redirect never fires, so the user stays on the thread.
This is intended behavior, not a broken build. The PR added it on purpose, so tapping a table row opens the expense thread. A unit test locks it in: keeps the thread route when the user views single-expense reports in the table view. The feature isn't in production, and only users who turn on table view see this.
Roll-forward fix (if product wants the report in table view)
Only skip the redirect in table view when the thread was opened from its own report. That's the table-row case, which passes the report as backTo (useNavigateToTransactionThread.ts:67-73).
Replace !shouldUseTableViewForSingleExpense with !(shouldUseTableViewForSingleExpense && isBackToParentReport).
Update the existing test, and add one for a backTo that isn't the parent report (for example, Home).
Result: a row tap in table view still opens the thread. Recently added (backTo=home) and other entry points redirect to the report, which then shows in table view.
No other PR on the 2026-10-21 staging checklist touches these files.
This was not reproduced live. The conclusion comes from code reading.
Next Steps: Reply with @MelvinBot implement this to create a draft PR with the roll-forward fix, or @MelvinBot <your feedback> to refine this analysis.
Activity
applause-bot commentedon Oct 21, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/1800b03b454a1c81cd9193678b72a45b0e5ad0248ad3ee8f030ed562f1a499b8
melvin-bot commentedon Oct 21, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #103703
melvin-bot commentedon Oct 21, 2026
@Beamanator @mountiny @lakchote @daledah you have been assigned to this deploy blocker because you reviewed the offending PR: #103703
melvin-bot commentedon Oct 21, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Oct 21, 2026
👋 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:
MelvinBot commentedon Oct 21, 2026
Deploy Blocker Analysis
Causing PR: Reapply "Add a More menu option to switch single-expense reports between expense view and table view" (high confidence). The auto-assignment was correct.
Root cause: The PR added
!shouldUseTableViewForSingleExpenseto the thread-to-report redirect in OneTransactionThreadRedirectHandler.tsx:96-97. Recently added always opens the expense's transaction thread. In expense view, that thread redirects to the parent report. In table view, the redirect never fires, so the user stays on the thread.This is intended behavior, not a broken build. The PR added it on purpose, so tapping a table row opens the expense thread. A unit test locks it in:
keeps the thread route when the user views single-expense reports in the table view. The feature isn't in production, and only users who turn on table view see this.Recommendation: Demote after a product owner on [$175] Add a More menu option to switch single-expense reports between expense view and table view confirms the expected behavior. If product wants the report to open, roll forward with the fix below. Don't revert. The feature was already reverted once.
Roll-forward fix (if product wants the report in table view)
Only skip the redirect in table view when the thread was opened from its own report. That's the table-row case, which passes the report as
backTo(useNavigateToTransactionThread.ts:67-73).isBackToParentReportcheck (OneTransactionThreadRedirectHandler.tsx:106) out of the effect, aboveshouldRedirectToParentReport.!shouldUseTableViewForSingleExpensewith!(shouldUseTableViewForSingleExpense && isBackToParentReport).backTothat isn't the parent report (for example, Home).Result: a row tap in table view still opens the thread. Recently added (
backTo=home) and other entry points redirect to the report, which then shows in table view.Investigation details
backTo: ROUTES.HOME(RecentlyAddedSection/index.tsx:71, L92-L97).Next Steps: Reply with
@MelvinBot implement thisto create a draft PR with the roll-forward fix, or@MelvinBot <your feedback>to refine this analysis.view run
m-natarajan commentedon Oct 22, 2026
Chrome / v9.5.16-1
No Switch to table view option
bandicam.2026-10-22.16-14-59-893.mp4
Beamanator commentedon Oct 22, 2026
thanks! closing!