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
Reports - When To do section is hidden, Reports > Reports does not show all reports #86532
Version Number: 9.3.50-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:#86426 Email or phone of affected tester (no customers):usdiojsdoijsiodjidosjn@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.2 / Chrome App Component: Search
Action Performed:
Go to staging.new.expensify.com
Log in with a new Gmail account.
Click Skip on work email step.
Select Track and budget expenses.
Complete onboarding.
Go to workspace settings > Workflows.
Enable Approvals and Payments.
Go to workspace chat.
Create two reports with expense in outstanding state.
Create a draft report with expense.
Go to Home.
Click Approve 2 reports.
Go to Inbox, then go to Reports > Reports.
→ Only two reports are shown instead of three reports.
Go to Reports > Expenses, then Reports > Reports.
→ Now it shows three reports.
Expected Result:
In Step 13, 3 reports should be displayed.
Actual Result:
In Step 13, only 2 reports are displayed.
In Step 13, it only shows 3 reports after switching to Expenses then Reports.
👋 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.
Classification: Frontend bug Causing PR: #86426 - "Hide To-do section and Top Spenders for track-intent users on Reports page" by @MelvinBot (High confidence) Related Issues: None
Recommendation: REVERT
PR #86426 introduced logic to hide the To-do section for track-intent users (those who selected "Personal Spend" or "Track Workspace" during onboarding). When the To-do section is hidden, the Reports > Reports view fails to properly display all reports on initial navigation. The reports only appear after navigating to Reports > Expenses and back to Reports > Reports, suggesting a data loading or cache invalidation issue.
Labels: Keeping DeployBlockerCash as this is a frontend bug in the App repository. The issue is not reproducible on production because this is a new feature that only exists on staging.
📋 Detailed Analysis
Evidence
PR #86426 was merged on 2026-03-26 and is included in version 9.3.50-0 (the version where this bug was reported). The PR adds an isTrackIntentUser parameter that conditionally hides the To-do section when set to true.
The bug report shows that after enabling Approvals and Payments, creating 3 reports, and clicking "Approve 2 reports", navigating to Reports > Reports only shows 2 reports initially. All 3 reports only appear after switching to the Expenses tab and back.
Verification
The PR modifies the following files:
src/hooks/useSearchTypeMenuSections.ts - Adds isTrackIntentUser detection based on NVP_INTRO_SELECTED
src/libs/SearchUIUtils.ts - Conditionally hides To-do section when isTrackIntentUser is true
Tests updated to pass isTrackIntentUser: false parameter
The changes affect how menu sections are created and rendered on the Reports page. When the To-do section is hidden, there appears to be a side effect that prevents the Reports > Reports view from properly loading all report data on initial navigation.
Root Cause
The PR introduces conditional rendering of the To-do section based on user onboarding choice. This change appears to have unintended side effects on data loading or caching for the Reports view. When the To-do section is hidden, the Reports > Reports query may not be properly initializing or fetching all available reports on first navigation, but subsequent navigation through Expenses triggers the proper data load.
This is a frontend issue because:
The causing PR is in the App repository
The fix requires reverting or modifying the App code
No backend API changes are needed
The issue is related to UI rendering and data fetching logic in the React Native app
@Beamanator This issue happens because, on the Home tab → For You section, the Begin button for Approve 2 reports redirects to Reports tab with query (search?q=type%3Aexpense-report%20action%3Aapprove%20to%3A21532028) showing only approvable reports.
Since we’re hiding the To-do section for track-intent users, they can’t access To-do → Approve anymore.
So instead, they land on Explore → Reports (as highlighted).
@Beamanator@jayeshmangwani@dylanexpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
Activity
melvin-bot commentedon Mar 27, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #86426
melvin-bot commentedon Mar 27, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Mar 27, 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 Mar 27, 2026
I have failed to help you. I let you down and for that I am sorry. Please try again later. This may be due to a Claude outage (check here).
Failure details: https://github.com/Expensify/Expensify/actions/runs/23647259264
OSBotify commentedon Mar 27, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #86426 - "Hide To-do section and Top Spenders for track-intent users on Reports page" by @MelvinBot (High confidence)
Related Issues: None
Recommendation: REVERT
PR #86426 introduced logic to hide the To-do section for track-intent users (those who selected "Personal Spend" or "Track Workspace" during onboarding). When the To-do section is hidden, the Reports > Reports view fails to properly display all reports on initial navigation. The reports only appear after navigating to Reports > Expenses and back to Reports > Reports, suggesting a data loading or cache invalidation issue.
Labels: Keeping
DeployBlockerCashas this is a frontend bug in the App repository. The issue is not reproducible on production because this is a new feature that only exists on staging.📋 Detailed Analysis
Evidence
PR #86426 was merged on 2026-03-26 and is included in version 9.3.50-0 (the version where this bug was reported). The PR adds an
isTrackIntentUserparameter that conditionally hides the To-do section when set to true.The bug report shows that after enabling Approvals and Payments, creating 3 reports, and clicking "Approve 2 reports", navigating to Reports > Reports only shows 2 reports initially. All 3 reports only appear after switching to the Expenses tab and back.
Verification
The PR modifies the following files:
src/hooks/useSearchTypeMenuSections.ts- AddsisTrackIntentUserdetection based onNVP_INTRO_SELECTEDsrc/libs/SearchUIUtils.ts- Conditionally hides To-do section whenisTrackIntentUseris trueisTrackIntentUser: falseparameterThe changes affect how menu sections are created and rendered on the Reports page. When the To-do section is hidden, there appears to be a side effect that prevents the Reports > Reports view from properly loading all report data on initial navigation.
Root Cause
The PR introduces conditional rendering of the To-do section based on user onboarding choice. This change appears to have unintended side effects on data loading or caching for the Reports view. When the To-do section is hidden, the Reports > Reports query may not be properly initializing or fetching all available reports on first navigation, but subsequent navigation through Expenses triggers the proper data load.
This is a frontend issue because:
jayeshmangwani commentedon Mar 27, 2026
@Beamanator This issue happens because, on the Home tab → For You section, the Begin button for
Approve 2 reportsredirects toReportstab with query (search?q=type%3Aexpense-report%20action%3Aapprove%20to%3A21532028) showing only approvable reports.Since we’re hiding the To-do section for track-intent users, they can’t access To-do → Approve anymore.
So instead, they land on Explore → Reports (as highlighted).
What’s the expected behavior in this scenario?
cc: @dylanexpensify
dylanexpensify commentedon Mar 27, 2026
For track updates this is correct, but only for track
8 remaining items
melvin-bot commentedon Mar 30, 2026
@dylanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Mar 30, 2026
@dylanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Mar 30, 2026
@dylanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
melvin-bot commentedon Apr 1, 2026
@dylanexpensify Huh... This is 4 days overdue. Who can take care of this?
dylanexpensify commentedon Apr 2, 2026
Pushing weekly as we work through the track pieces
melvin-bot commentedon Apr 10, 2026
@Beamanator @jayeshmangwani @dylanexpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
Beamanator commentedon Apr 17, 2026
@dylanexpensify should we close this?