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
[Due for payment 2026-01-27] Reports- All Data - report level disappears after exporting report via All Data - report level #79404
Version Number: 9.3.0-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:#77740 Email or phone of affected tester (no customers):sidjnsoijdosijndsoij2@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.1 / Chrome App Component: Search
Action Performed:
Go to staging.new.expensify.com
Go to workspace chat.
Create an expense.
Go to Reports > Expenses.
Select the expense via checkbox.
Click dropdown button > Export.
Click All Data - report level.
Click Got it.
Select the expense via checkbox.
Click dropdown button > Export.
Expected Result:
All Data - report level will not disappear after exporting report via All Data - report level.
Actual Result:
All Data - report level disappears after exporting report via All Data - report level.
👋 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: #77740 - "Refactor ConfirmModal usage to useConfirmModal in Search pages" by @nkdengineer (High confidence) Related Issues: None
Recommendation: REVERT
This PR introduced a timing issue in the export flow that causes the "All Data - report level" option to disappear after the first export. The bug is straightforward to understand and the PR can be cleanly reverted.
📋 Detailed Analysis
Evidence
The issue is reproducible only on staging (not production), and PR #77740 was the last PR that modified the export flow in SearchPage.tsx before this issue appeared.
Looking at the changes in beginExportWithTemplate function (lines 247-283 in the PR diff):
The PR refactored from using ConfirmModal component to useConfirmModal hook
The modal is shown AFTER calling queueExportSearchWithTemplate (line 271-276)
When the user clicks "Got it", it calls clearSelectedTransactions(undefined, true) (line 280)
Root Cause
The "All Data - report level" export option only appears when ALL transactions on the report are selected. This is determined by:
The export menu is rebuilt without the "All Data - report level" option
The old code with ConfirmModal had the same logic but the timing was different. The new useConfirmModal implementation processes the confirmation callback in a way that triggers the menu rebuild before the user can interact with it again, making the disappearance immediately visible.
The second parameter true in clearSelectedTransactions(undefined, true) appears to be causing the issue - this parameter likely controls whether to deselect all items, which is too aggressive after a successful export when the user might want to export again.
changed the title [-]Reports- All Data - report level disappears after exporting report via All Data - report level[/-][+][Due for payment 2026-01-27] Reports- All Data - report level disappears after exporting report via All Data - report level[/+]on Jan 20, 2026
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:
@roryabraham@bfitzexpensify 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]
Activity
melvin-bot commentedon Jan 13, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #77740
melvin-bot commentedon Jan 13, 2026
💬 A slack conversation has been started in #expensify-open-source
melvin-bot commentedon Jan 13, 2026
Triggered auto assignment to @bfitzexpensify (
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.github-actions commentedon Jan 13, 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:
mitarachim commentedon Jan 13, 2026
Unable to reproduce issue using Staging while
Use Staging ServerisdisableScreen.Recording.2026-01-13.at.10.39.33.AM.mov
OSBotify commentedon Jan 13, 2026
🔍 Investigation Summary
Classification: Frontend bug
Causing PR: #77740 - "Refactor ConfirmModal usage to useConfirmModal in Search pages" by @nkdengineer (High confidence)
Related Issues: None
Recommendation: REVERT
This PR introduced a timing issue in the export flow that causes the "All Data - report level" option to disappear after the first export. The bug is straightforward to understand and the PR can be cleanly reverted.
📋 Detailed Analysis
Evidence
The issue is reproducible only on staging (not production), and PR #77740 was the last PR that modified the export flow in SearchPage.tsx before this issue appeared.
Looking at the changes in
beginExportWithTemplatefunction (lines 247-283 in the PR diff):ConfirmModalcomponent touseConfirmModalhookqueueExportSearchWithTemplate(line 271-276)clearSelectedTransactions(undefined, true)(line 280)Root Cause
The "All Data - report level" export option only appears when ALL transactions on the report are selected. This is determined by:
The bug occurs because:
clearSelectedTransactions(undefined, true)is called immediately when user clicks "Got it"selectedTransactionIDs.lengthbecomes 0includeReportLevelExportbecomes false (since 0 !== allTransactionsLength)The old code with
ConfirmModalhad the same logic but the timing was different. The newuseConfirmModalimplementation processes the confirmation callback in a way that triggers the menu rebuild before the user can interact with it again, making the disappearance immediately visible.The second parameter
trueinclearSelectedTransactions(undefined, true)appears to be causing the issue - this parameter likely controls whether to deselect all items, which is too aggressive after a successful export when the user might want to export again.15 remaining items
[-]Reports- All Data - report level disappears after exporting report via All Data - report level[/-][+][Due for payment 2026-01-27] Reports- All Data - report level disappears after exporting report via All Data - report level[/+]melvin-bot commentedon Jan 20, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jan 20, 2026
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. 🎊
melvin-bot commentedon Jan 20, 2026
@roryabraham @bfitzexpensify 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]
nkdengineer commentedon Jan 22, 2026
@roryabraham Can I get the partial compensation since I provided the RCA and solution here?
roryabraham commentedon Jan 22, 2026
No - in this case I independently solved the bug and didn't see your comment until after the PR was created.
bfitzexpensify commentedon Jan 27, 2026
Payment summary:
@shubham1206agra due $250 via NewDot manual request
garrettmknight commentedon Apr 2, 2026
$250 approved for @shubham1206agra