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-06-17] [Due for payment 2026-06-17] Distance - Full receipt appears when hovered over odometer receipt #93001
Version Number: 9.4.1-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:#92525 Email or phone of affected tester (no customers):jjionjdodsjoijsod@gmail.com 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 odometer expense with receipt.
Open the report.
Hover over the receipt.
Expected Result:
Only the odometer receipt will appear on hover (we don't see full receipt when opened it in full screen).
Actual Result:
Full receipt appears when hovered over odometer receipt.
👋 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.
Please re-state the problem that we are trying to solve in this issue.
After PR #92525, hovering over an odometer distance receipt overlays the full distance e-receipt (map + amount + waypoints). Odometer expenses have no map/route, so the overlay should not appear — only the user's odometer receipt should show.
This flag is meant to identify map-based distance expenses, but it only excludes manual distance requests. An odometer expense has iouRequestType === 'distance-odometer', so:
isDistanceRequest → true (odometer is a distance type)
isManualDistanceRequest(...) → false (type is not distance-manual)
Note: The same logic would also mis-fire for GPS distance requests (distance-gps), which are likewise non-manual. Worth verifying whether GPS should show the overlay before finalizing the gate.
What changes do you think we should make in order to solve the problem?
Add isOdometerDistanceRequest to the existing import from @libs/TransactionUtils (lines 58-67). Consider also excluding GPS distance requests (isGPSDistanceRequest) pending a product decision on whether GPS receipts should show the map overlay.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/93001) to create a draft PR. To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
changed the title [-]Distance - Full receipt appears when hovered over odometer receipt[/-][+][Due for payment 2026-06-17] Distance - Full receipt appears when hovered over odometer receipt[/+]on Jun 10, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.1-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@mountiny 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]. If no checklist is needed for this issue, you can click: [no checklist button]
changed the title [-][Due for payment 2026-06-17] Distance - Full receipt appears when hovered over odometer receipt[/-][+][Due for payment 2026-06-17] [Due for payment 2026-06-17] Distance - Full receipt appears when hovered over odometer receipt[/+]on Jun 10, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.4-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@mountiny 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]. If no checklist is needed for this issue, you can click: [no checklist button]
Activity
applause-bot commentedon Jun 9, 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/62e1977df387ca0e6995dd4e71f237b8066cbcf22b2dcb4f61c4edbe8fcbf5e7
melvin-bot commentedon Jun 9, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #92525
melvin-bot commentedon Jun 9, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jun 9, 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 Jun 9, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
After PR #92525, hovering over an odometer distance receipt overlays the full distance e-receipt (map + amount + waypoints). Odometer expenses have no map/route, so the overlay should not appear — only the user's odometer receipt should show.
What is the root cause of that problem?
PR #92525 added the hover overlay gated on a local
isMapDistanceRequestflag inMoneyRequestReceiptView.tsx:182:This flag is meant to identify map-based distance expenses, but it only excludes manual distance requests. An odometer expense has
iouRequestType === 'distance-odometer', so:isDistanceRequest→true(odometer is a distance type)isManualDistanceRequest(...)→false(type is notdistance-manual)!isManualDistanceRequest(...)→true⟹isMapDistanceRequestbecomestrueSo the overlay at
MoneyRequestReceiptView.tsx:649renders the map distance e-receipt on top of the odometer receipt.Supporting evidence
isDistanceRequestreturns true for every distance subtype, includingDISTANCE_ODOMETER(TransactionUtils/index.ts:145-148,193-199).isOdometerDistanceRequestalready exists (TransactionUtils/index.ts:177-179) but isn't used in the gate.{isMapDistanceRequest && hovered && !!displayedTransaction && <HoveredDistanceEReceipt transaction={displayedTransaction} />}.Note: The same logic would also mis-fire for GPS distance requests (
distance-gps), which are likewise non-manual. Worth verifying whether GPS should show the overlay before finalizing the gate.What changes do you think we should make in order to solve the problem?
Exclude odometer requests from the
isMapDistanceRequestgate inMoneyRequestReceiptView.tsx:182:Add
isOdometerDistanceRequestto the existing import from@libs/TransactionUtils(lines 58-67). Consider also excluding GPS distance requests (isGPSDistanceRequest) pending a product decision on whether GPS receipts should show the map overlay.Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/93001)to create a draft PR.To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
mountiny commentedon Jun 9, 2026
cc @WojtekBoman
mountiny commentedon Jun 9, 2026
CPing straight revert
7 remaining items
[-]Distance - Full receipt appears when hovered over odometer receipt[/-][+][Due for payment 2026-06-17] Distance - Full receipt appears when hovered over odometer receipt[/+]melvin-bot commentedon Jun 10, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jun 10, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.1-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-17. 🎊
melvin-bot commentedon Jun 10, 2026
@mountiny 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]. If no checklist is needed for this issue, you can click: [no checklist button]
fix: don't show distance e-receipt overlay on odometer receipts (Expe…
[-][Due for payment 2026-06-17] Distance - Full receipt appears when hovered over odometer receipt[/-][+][Due for payment 2026-06-17] [Due for payment 2026-06-17] Distance - Full receipt appears when hovered over odometer receipt[/+]melvin-bot commentedon Jun 10, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jun 10, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.4-3 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-17. 🎊
melvin-bot commentedon Jun 10, 2026
@mountiny 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]. If no checklist is needed for this issue, you can click: [no checklist button]