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-04-14] [Due for payment 2026-04-14] Expense - "marked as done" message when copied shows "submitted" #86990
Version Number: 9.3.52-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:#86460 Email or phone of affected tester (no customers):jsdjosidjiojisojio3@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.2 / Chrome App Component: Money Requests
Action Performed:
Go to staging.new.expensify.com
Log in with new Gmail account.
Skip work email step.
Select Track and budget expenses.
Complete the onboarding.
Go to workspace chat.
Create an expense.
Open the report.
Click Mark as done.
Right click on "marked as done" system message > Copy to clipboard.
Paste the content.
Expected Result:
"marked as done" will be pasted.
Actual Result:
"submitted" is pasted.
It also shows submitted when system message is opened in 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: PR #86460 added "marked as done" display text for track-intent users in the rendering path (PureReportActionItem.tsx:1366-1372) but did not update the clipboard copy path or the thread view text resolution, which still always use the iou.submitted translation.
Recommended Fix: Add the same isTrackIntentUser && isSubmitAndClose(policy) check to the clipboard copy logic in ContextMenuActions.tsx:977-986 so it uses translate('iou.markedAsDone', ...) instead of translate('iou.submitted', ...) for track-intent users. The APPROVED action clipboard path at :987-993 likely needs the same treatment.
Investigation details
Three locations were missed in the original PR:
Clipboard copy for SUBMITTED — src/pages/inbox/report/ContextMenu/ContextMenuActions.tsx:977-986 always calls translate('iou.submitted') without checking track-intent status.
Clipboard copy for APPROVED — ContextMenuActions.tsx:987-993 always uses translate('iou.approvedMessage') instead of translate('iou.markedAsDone') for track-intent users.
Sidebar/LHN last message — src/libs/ReportUtils.ts:5830-5831 reads raw server message text via getReportActionMessageText(reportAction) which contains "submitted" from the server, with no track-intent override.
Correct behavior is demonstrated in PureReportActionItem.tsx:1366-1372 and :1395-1396, where the code checks isTrackIntentUser && isSubmitAndClose(policy) before choosing the translation key. The same pattern needs to be applied to the clipboard and sidebar paths.
Language keys:
iou.submitted (en.ts:1405) → returns "submitted"
iou.markedAsDone (en.ts:1406) → returns "marked as done"
Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, @MelvinBot <your feedback> to refine this analysis, or explain why you are rejecting Melvin's proposal.
changed the title [-]Expense - "marked as done" message when copied shows "submitted"[/-][+][Due for payment 2026-04-14] Expense - "marked as done" message when copied shows "submitted"[/+]on Apr 7, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.52-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@jayeshmangwani 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]
changed the title [-][Due for payment 2026-04-14] Expense - "marked as done" message when copied shows "submitted"[/-][+][Due for payment 2026-04-14] [Due for payment 2026-04-14] Expense - "marked as done" message when copied shows "submitted"[/+]on Apr 7, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.53-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@jayeshmangwani@mallenexpensify 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 Apr 2, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #86460
melvin-bot commentedon Apr 2, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Apr 2, 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 Apr 2, 2026
Issue Analysis
Root Cause: PR #86460 added "marked as done" display text for track-intent users in the rendering path (
PureReportActionItem.tsx:1366-1372) but did not update the clipboard copy path or the thread view text resolution, which still always use theiou.submittedtranslation.Recommended Fix: Add the same
isTrackIntentUser && isSubmitAndClose(policy)check to the clipboard copy logic inContextMenuActions.tsx:977-986so it usestranslate('iou.markedAsDone', ...)instead oftranslate('iou.submitted', ...)for track-intent users. The APPROVED action clipboard path at:987-993likely needs the same treatment.Investigation details
Three locations were missed in the original PR:
Clipboard copy for SUBMITTED —
src/pages/inbox/report/ContextMenu/ContextMenuActions.tsx:977-986always callstranslate('iou.submitted')without checking track-intent status.Clipboard copy for APPROVED —
ContextMenuActions.tsx:987-993always usestranslate('iou.approvedMessage')instead oftranslate('iou.markedAsDone')for track-intent users.Sidebar/LHN last message —
src/libs/ReportUtils.ts:5830-5831reads raw server message text viagetReportActionMessageText(reportAction)which contains "submitted" from the server, with no track-intent override.Correct behavior is demonstrated in
PureReportActionItem.tsx:1366-1372and:1395-1396, where the code checksisTrackIntentUser && isSubmitAndClose(policy)before choosing the translation key. The same pattern needs to be applied to the clipboard and sidebar paths.Language keys:
iou.submitted(en.ts:1405) → returns"submitted"iou.markedAsDone(en.ts:1406) → returns"marked as done"Next Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR,@MelvinBot <your feedback>to refine this analysis, or explain why you are rejecting Melvin's proposal.Valforte commentedon Apr 2, 2026
I don't feel like blocking on this, as it's a very small problem. @jayeshmangwani can you provide a PR with the fix for this?
10 remaining items
[-]Expense - "marked as done" message when copied shows "submitted"[/-][+][Due for payment 2026-04-14] Expense - "marked as done" message when copied shows "submitted"[/+]melvin-bot commentedon Apr 7, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Apr 7, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.52-9 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-04-14. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Apr 7, 2026
@jayeshmangwani 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]
melvin-bot commentedon Apr 7, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)[-][Due for payment 2026-04-14] Expense - "marked as done" message when copied shows "submitted"[/-][+][Due for payment 2026-04-14] [Due for payment 2026-04-14] Expense - "marked as done" message when copied shows "submitted"[/+]melvin-bot commentedon Apr 7, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.53-7 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-04-14. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Apr 7, 2026
@jayeshmangwani @mallenexpensify 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]