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-08-30] Update CTA and Workspace Chat Copy for track-intent users #86223
As part of the track updates we're making to increase paidAdoption, we need to ensure the copy across the product mirrors this intent's primary functionalities. These include:
Updating the user's workspace chat to have the header be, "This is where you will track expenses"
Updating the CTAs for expenses/reports to be, "Mark as done"
Updating the corresponding system messages to be, "marked as done"
🤖 Cannot proceed:jayeshmangwani does not have write access to the target repository (Expensify/App). MelvinBot will not create branches or PRs on repos that the requesting user cannot access themselves.
I ran out of time before I could finish helping you. This usually means the task was too complex or I got stuck exploring. Please try again with a more specific request or post in the #melvinbot-ai.
Please re-state the problem that we are trying to solve in this issue.
For users who onboarded with the "Track and budget expenses" intent (PERSONAL_SPEND / TRACK_WORKSPACE), the product copy still uses generic expense management language — "submit expenses", "Submit", "Approve", "submitted", "approved" — instead of language that reflects the track-intent workflow. We need to update three areas: the workspace chat welcome text, the expense/report CTA buttons, and the corresponding system messages.
What is the root cause of that problem?
The App currently uses the same copy for all workspace types regardless of onboarding intent. Track-intent workspaces are created with approvalMode: OPTIONAL and reimbursementChoice: REIMBURSEMENT_NO (see Policy.ts:2462-2470), but no UI copy branches on these settings or on the user's NVP_INTRO_SELECTED.choice.
What changes do you think we should make in order to solve the problem?
Detection: Create a utility function (e.g., isTrackExpenseWorkspace(policy)) that identifies track-intent workspaces. Two viable approaches:
Option A (workspace-level): Check policy.approvalMode === OPTIONAL && policy.reimbursementChoice === REIMBURSEMENT_NO. Pro: per-workspace granularity. Con: could false-match if a user manually sets these settings on a non-track workspace.
Option B (user-level): Check NVP_INTRO_SELECTED.choice is PERSONAL_SPEND or TRACK_WORKSPACE. Pro: directly reflects onboarding intent. Con: applies to all of the user's workspaces.
I'd recommend Option A (workspace-level) since it's more precise and these settings are the defining characteristics of a track workspace. A follow-up enhancement could be to have the backend store engagementChoice on the policy object for an even cleaner signal.
Change 1 — Workspace chat welcome text:
Add a new translation key in en.ts (near line 904): beginningOfChatHistoryPolicyExpenseChatTrack: 'This is where you will track expenses'
In SidebarUtils.ts:1261-1274, inside the isPolicyExpenseChat branch, before the existing fallback, check isTrackExpenseWorkspace(policy) and use the new translation key
Change 2 — CTA button labels ("Mark as done"):
Add translation keys: common.markAsDone: 'Mark as done' and actionBadge.markAsDone: 'Mark as done'
In MoneyReportHeader.tsx (lines ~1388-1428), for the Submit/Approve/Pay button implementations, check isTrackExpenseWorkspace(policy) and override the button text to translate('common.markAsDone')
In MoneyRequestReportPreviewContent.tsx (lines ~740-876), apply the same override for preview CTA buttons
In the action badge rendering (sidebar), use actionBadge.markAsDone for track-intent reports
Change 3 — System messages ("marked as done"):
Add translation key: iou.markedAsDone: 'marked as done'
In PureReportActionItem.tsx (lines ~1354-1451), for SUBMITTED and APPROVED action types, check isTrackExpenseWorkspace(policy) and use the new translation instead of iou.submitted / iou.approvedMessage
Note: The optimistic messages in ReportUtils.ts:getIOUReportActionMessage() (line ~7062) are stored server-side and shown in notifications — these may need a backend change to conditionally use "marked as done" text, or can be left as-is if only the rendered UI needs updating
Translation parity: All new English keys need corresponding Spanish translations in es.ts.
What alternative solutions did you explore? (Optional)
Overriding policy.description during workspace creation to set "This is where you will track expenses" — simpler but couples a workspace setting to a UI copy concern, and users could accidentally edit/delete it
A single boolean flag policy.isTrackWorkspace stored by the backend — cleanest long-term signal but requires a backend schema change. Could be pursued as a follow-up
Passing track-intent through translation parameters (e.g., translate('common.submit', {isTrack: true})) — avoids new keys but overloads existing translations and makes them harder to maintain
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.
@MelvinBot, we should use NVP_INTRO_SELECTED to identify the track user. Since this is selected once during account creation, we don’t need to check it at the workspace level, checking at the user level should be sufficient. For example: introSelected?.choice === CONST.ONBOARDING_CHOICES.TRACK_WORKSPACE or introSelected?.choice === CONST.ONBOARDING_CHOICES.PERSONAL_SPEND
Updated the implementation to use NVP_INTRO_SELECTED at the user level as directed — checking introSelected?.choice === CONST.ONBOARDING_CHOICES.TRACK_WORKSPACE || introSelected?.choice === CONST.ONBOARDING_CHOICES.PERSONAL_SPEND.
Changes across 9 files:
New utility:isTrackIntentUserSelector in src/selectors/Onboarding.ts
Workspace chat welcome text: "This is where you will track expenses" (SidebarUtils.ts + ReportWelcomeText.tsx)
CTA buttons: Submit/Approve → "Mark as done" (MoneyReportHeader.tsx, SubmitActionButton.tsx, ApproveActionButton.tsx)
System messages: "submitted"/"approved" → "marked as done" (PureReportActionItem.tsx)
Translations: New keys in both en.ts and es.ts
Please mark it as "Ready for review" when it is ready for review.
changed the title [-][Due for payment 2026-08-24] Update CTA and Workspace Chat Copy for track-intent users[/-][+][Due for payment 2026-08-30] Update CTA and Workspace Chat Copy for track-intent users[/+]on Aug 25, 2026
I’ve added a breakdown of the regressions and all the follow-up PRs here #86223 (comment) . The initial two PRs caused several regressions, and we had to revert the PR twice.
However, I think the scope of the changes was quite broad since this was a new feature, and we encountered some scenarios that we hadn’t seen during the initial testing. Given that, I think we can ignore the penalty for those two reverts.
In my opinion, the payment should be $500.
@Valforte , tagging you here for your thoughts on this.
@Valforte / @dylanexpensify Whenever you get a chance, please check this comment #86223 (comment) regarding the payment so we can move forward and close this issue.
@jayeshmangwani If you think the work warrants an increase, plz follow the steps in the C+ doc.. I JUST updated it so ping me in #contributor-plus if you have feedback. Thx
Why the work exceeded the issue: Initially, the issue was only to change the CTA, but eventually, the changes affected a few other areas as well, such as displaying the next steps differently, handling the offline case for next steps, and updating the clipboard titles.
Regressions caused by this PR: #91763 #91767 #91769 #91807 #91815
(note: The regressions were caused by the first two PRs, while the third PR was merged without any regressions.)
@MelvinBot I'm testing a new review rubric for New Feature issues that are due payment where there are regressions. Review this issue based on the below.
Regressions on new features
Default. If the OP links the offending PR, the issue is incomplete delivery. It pays nothing on its own. To change that, name a reason below and link the evidence. Silence pays nothing.
The one question: was it in the agreed spec?
No. It is a followup. It gets its own issue, its own price, and full payment.
Yes. It is incomplete delivery. Price it with the rules below.
What incomplete delivery costs
Fixed cheaply inside the window. Small PR, no new issue, no deploy blocked. The parent pays 100%. The fix pays nothing.
Anything more. The regression needed its own issue, its own review cycle, or it blocked the deploy. The parent pays 50%. The fix pays nothing.
Two or more regressions. The parent pays 25%. That is the floor.
Reasons it is not the linked PR's fault
Built to spec. The PR delivered what the design or the issue agreed. Expensify changed its mind after the merge. This is new work at full price.
Known and accepted before the merge. Someone named the behavior and agreed to ship it. The comment must date from that time, not from the payment dispute.
A different PR caused it. Name the other PR. "Something else may have caused it" is not a reason.
The window closed. The window runs from merge to 168 hours after production. After the window, the regression is an ordinary bug and pays like any issue.
Who carries the reduction
The author and the reviewer of the PR that introduced the defect. A feature spans several PRs and often several Contributors. The reduction does not land on everyone who worked on the feature.
These are not exceptions
It is behind a beta. The fix still costs Expensify time.
The feature was broad and edge cases were expected. State this in the spec before the merge, or it does not count.
Effort spent to prevent it. Many review rounds are a reason to request an increase, not a defense.
Project work
Close each regression issue with no payment. Settle the total on the parent one week after the whole project reaches production.
Verdict: incomplete delivery, two-or-more-regressions tier. The parent pays 25% — $62.50 — and the $500 increase request fails on the reasons it gives.
The reduction lands on jayeshmangwani only. Krishna2323 carries none of it.
The one question: was it in the agreed spec?
Yes, for almost all of it. The OP agreed three things: the workspace-chat header, the "Mark as done" CTAs, and the "marked as done" system messages. Nearly every regression was a failure to apply that exact copy consistently:
Two escaped the spec, twelve did not. So this prices as incomplete delivery.
What it costs
Two reverts. ~14 regression issues, each with its own issue and review cycle, and both rounds blocked the deploy checklist. That is well past the two-or-more line, so the parent pays 25%. That is the floor — it does not go lower for having fourteen instead of two.
Standard rate here is $250, so $62.50.
The defenses, checked one by one
"The scope was broad and we hit scenarios we hadn't seen in testing" (comment) — this is the named non-exception. It only counts if it is in the spec before the merge. The OP has three checkboxes and no breadth caveat.
"13 test cases" (increase request) — effort spent to prevent a regression is a reason to ask for an increase, not a defense against the reduction. Correctly placed in the increase request; it does not offset anything here.
jayeshmangwani carries it both ways — approver on round one, author on round two. Krishna2323 reviewed only clean PRs and is right that he was not involved; pay him at full rate for what he reviewed. If mananjadhav is owed anything for approving #88455, that payment carries the reduction too — he is not on the payment summary, so please confirm.
The $500 increase request
It fails as written. The reasons given are the broad-scope defense and test-case count, which the rubric rejects.
But the underlying work is real, and the rubric already tells you where it goes: the next-step copy, the offline next-step handling, and the clipboard titles were not in the agreed spec, so they are a followup — its own issue, its own price, full payment. Not an increase on a parent sitting at the floor. #87004 already exists for the next-step piece. The right move is to price that separately rather than raise this one.
Timing. This is project work under Expensify/Expensify#614730. The rubric settles the total one week after the whole project reaches production, not per-issue.
Note on the rubric itself
One gap worth naming while you are testing it: the rubric assumes the author and the reviewer are different people carrying different halves. Here MelvinBot authored the first defective PR and jayeshmangwani approved it — so the reduction for round one has nowhere to land except the reviewer, who then also authored round two. He absorbs the full reduction for a PR he did not write. That may be the intended answer, but the rubric does not say.
Although I agree with most of Melvin's analysis, I also agree that this project scope and complexity was bigger than a common $250 issue and we can price it at $500 @mallenexpensify
Activity
samranahm commentedon Mar 24, 2026
@jayeshmangwani Is this open for external contributors?
jayeshmangwani commentedon Mar 24, 2026
@samranahm, thank you for asking, but it’s currently not open for external contributors.
samranahm commentedon Mar 25, 2026
Appreciate your feedback, Thank you 😊
jayeshmangwani commentedon Mar 26, 2026
@MelvinBot implement this.
MelvinBot commentedon Mar 26, 2026
🤖 Cannot proceed:
jayeshmangwanidoes not have write access to the target repository (Expensify/App). MelvinBot will not create branches or PRs on repos that the requesting user cannot access themselves.dylanexpensify commentedon Mar 26, 2026
@MelvinBot implement this
MelvinBot commentedon Mar 26, 2026
I ran out of time before I could finish helping you. This usually means the task was too complex or I got stuck exploring. Please try again with a more specific request or post in the #melvinbot-ai.
Run details: https://github.com/Expensify/Expensify/actions/runs/23596009038
dylanexpensify commentedon Mar 26, 2026
@MelvinBot please propose how you'd solve this as part of this issue
MelvinBot commentedon Mar 26, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
For users who onboarded with the "Track and budget expenses" intent (
PERSONAL_SPEND/TRACK_WORKSPACE), the product copy still uses generic expense management language — "submit expenses", "Submit", "Approve", "submitted", "approved" — instead of language that reflects the track-intent workflow. We need to update three areas: the workspace chat welcome text, the expense/report CTA buttons, and the corresponding system messages.What is the root cause of that problem?
The App currently uses the same copy for all workspace types regardless of onboarding intent. Track-intent workspaces are created with
approvalMode: OPTIONALandreimbursementChoice: REIMBURSEMENT_NO(seePolicy.ts:2462-2470), but no UI copy branches on these settings or on the user'sNVP_INTRO_SELECTED.choice.What changes do you think we should make in order to solve the problem?
Detection: Create a utility function (e.g.,
isTrackExpenseWorkspace(policy)) that identifies track-intent workspaces. Two viable approaches:policy.approvalMode === OPTIONAL && policy.reimbursementChoice === REIMBURSEMENT_NO. Pro: per-workspace granularity. Con: could false-match if a user manually sets these settings on a non-track workspace.NVP_INTRO_SELECTED.choiceisPERSONAL_SPENDorTRACK_WORKSPACE. Pro: directly reflects onboarding intent. Con: applies to all of the user's workspaces.I'd recommend Option A (workspace-level) since it's more precise and these settings are the defining characteristics of a track workspace. A follow-up enhancement could be to have the backend store
engagementChoiceon the policy object for an even cleaner signal.Change 1 — Workspace chat welcome text:
en.ts(near line 904):beginningOfChatHistoryPolicyExpenseChatTrack: 'This is where you will track expenses'SidebarUtils.ts:1261-1274, inside theisPolicyExpenseChatbranch, before the existing fallback, checkisTrackExpenseWorkspace(policy)and use the new translation keyChange 2 — CTA button labels ("Mark as done"):
common.markAsDone: 'Mark as done'andactionBadge.markAsDone: 'Mark as done'MoneyReportHeader.tsx(lines ~1388-1428), for the Submit/Approve/Pay button implementations, checkisTrackExpenseWorkspace(policy)and override the button text totranslate('common.markAsDone')MoneyRequestReportPreviewContent.tsx(lines ~740-876), apply the same override for preview CTA buttonsactionBadge.markAsDonefor track-intent reportsChange 3 — System messages ("marked as done"):
iou.markedAsDone: 'marked as done'PureReportActionItem.tsx(lines ~1354-1451), for SUBMITTED and APPROVED action types, checkisTrackExpenseWorkspace(policy)and use the new translation instead ofiou.submitted/iou.approvedMessageReportUtils.ts:getIOUReportActionMessage()(line ~7062) are stored server-side and shown in notifications — these may need a backend change to conditionally use "marked as done" text, or can be left as-is if only the rendered UI needs updatingTranslation parity: All new English keys need corresponding Spanish translations in
es.ts.What alternative solutions did you explore? (Optional)
policy.descriptionduring workspace creation to set "This is where you will track expenses" — simpler but couples a workspace setting to a UI copy concern, and users could accidentally edit/delete itpolicy.isTrackWorkspacestored by the backend — cleanest long-term signal but requires a backend schema change. Could be pursued as a follow-uptranslate('common.submit', {isTrack: true})) — avoids new keys but overloads existing translations and makes them harder to maintainNext 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.dylanexpensify commentedon Mar 26, 2026
@jayeshmangwani on to you!
jayeshmangwani commentedon Mar 26, 2026
@MelvinBot, we should use
NVP_INTRO_SELECTEDto identify the track user. Since this is selected once during account creation, we don’t need to check it at the workspace level, checking at the user level should be sufficient. For example:introSelected?.choice === CONST.ONBOARDING_CHOICES.TRACK_WORKSPACEorintroSelected?.choice === CONST.ONBOARDING_CHOICES.PERSONAL_SPENDMelvinBot commentedon Mar 26, 2026
🤖 Draft PR created: #86460
Updated the implementation to use
NVP_INTRO_SELECTEDat the user level as directed — checkingintroSelected?.choice === CONST.ONBOARDING_CHOICES.TRACK_WORKSPACE || introSelected?.choice === CONST.ONBOARDING_CHOICES.PERSONAL_SPEND.Changes across 9 files:
isTrackIntentUserSelectorinsrc/selectors/Onboarding.tsPlease mark it as "Ready for review" when it is ready for review.
180 remaining items
[-][Due for payment 2026-08-24] Update CTA and Workspace Chat Copy for track-intent users[/-][+][Due for payment 2026-08-30] Update CTA and Workspace Chat Copy for track-intent users[/+]jayeshmangwani commentedon Aug 25, 2026
I’ve added a breakdown of the regressions and all the follow-up PRs here #86223 (comment) . The initial two PRs caused several regressions, and we had to revert the PR twice.
However, I think the scope of the changes was quite broad since this was a new feature, and we encountered some scenarios that we hadn’t seen during the initial testing. Given that, I think we can ignore the penalty for those two reverts.
In my opinion, the payment should be $500.
@Valforte , tagging you here for your thoughts on this.
jayeshmangwani commentedon Aug 29, 2026
@Valforte / @dylanexpensify Whenever you get a chance, please check this comment #86223 (comment) regarding the payment so we can move forward and close this issue.
mallenexpensify commentedon Aug 31, 2026
@jayeshmangwani If you think the work warrants an increase, plz follow the steps in the C+ doc.. I JUST updated it so ping me in #contributor-plus if you have feedback. Thx
jayeshmangwani commentedon Sep 2, 2026
tagging @Valforte
Price increase request
Proposed amount: $500
Why the work exceeded the issue: Initially, the issue was only to change the CTA, but eventually, the changes affected a few other areas as well, such as displaying the next steps differently, handling the offline case for next steps, and updating the clipboard titles.
Regressions caused by this PR:
#91763
#91767
#91769
#91807
#91815
(note: The regressions were caused by the first two PRs, while the third PR was merged without any regressions.)
Test coverage: 13 test cases
mallenexpensify commentedon Sep 3, 2026
@Valforte 👀 above plz to confirm @jayeshmangwani 's request.
@MelvinBot I'm testing a new review rubric for New Feature issues that are due payment where there are regressions. Review this issue based on the below.
MelvinBot commentedon Sep 3, 2026
Rubric review — regressions on a new feature
Verdict: incomplete delivery, two-or-more-regressions tier. The parent pays 25% — $62.50 — and the $500 increase request fails on the reasons it gives.
The reduction lands on
jayeshmangwanionly.Krishna2323carries none of it.The one question: was it in the agreed spec?
Yes, for almost all of it. The OP agreed three things: the workspace-chat header, the "Mark as done" CTAs, and the "marked as done" system messages. Nearly every regression was a failure to apply that exact copy consistently:
Two escaped the spec, twelve did not. So this prices as incomplete delivery.
What it costs
Two reverts. ~14 regression issues, each with its own issue and review cycle, and both rounds blocked the deploy checklist. That is well past the two-or-more line, so the parent pays 25%. That is the floor — it does not go lower for having fourteen instead of two.
Standard rate here is $250, so $62.50.
The defenses, checked one by one
Onyx.connectdependency frombuildOptimisticNextStepinNextStepUtils.ts#94665, andjayeshmangwaninamed migrate SPLIT_EXPENSE_EDIT #94480 with revert PR Revert "migrate SPLIT_EXPENSE_EDIT" #96277 as evidence. Revert "migrate SPLIT_EXPENSE_EDIT" #96277 is titled Revert "migrate SPLIT_EXPENSE_EDIT", which matches the split-expense symptom. That one does not count against this issue.jayeshmangwaniasked who owned the new next-step copy on 2026-04-10, anddangrousopened the viewer-intent-vs-workspace-config design question on 2026-05-28 — both after their merges. But exculpating two blockers does not move the tier; twelve in-spec ones remain.Who carries it
MelvinBotjayeshmangwanijayeshmangwanimananjadhavjayeshmangwaniKrishna2323jayeshmangwaniKrishna2323jayeshmangwanicarries it both ways — approver on round one, author on round two.Krishna2323reviewed only clean PRs and is right that he was not involved; pay him at full rate for what he reviewed. Ifmananjadhavis owed anything for approving #88455, that payment carries the reduction too — he is not on the payment summary, so please confirm.The $500 increase request
It fails as written. The reasons given are the broad-scope defense and test-case count, which the rubric rejects.
But the underlying work is real, and the rubric already tells you where it goes: the next-step copy, the offline next-step handling, and the clipboard titles were not in the agreed spec, so they are a followup — its own issue, its own price, full payment. Not an increase on a parent sitting at the floor. #87004 already exists for the next-step piece. The right move is to price that separately rather than raise this one.
Two things to confirm
Awaiting Payment. The project clause says close each regression issue with no payment and settle on the parent. The round-two issues ([Due for payment 2026-06-04] [Due for payment 2026-06-03] Expense - Submit button is shown instead of Mark as done in More menu #91763 and siblings) already closed unpaid, correctly. [Due for payment 2026-04-14] [Due for payment 2026-04-14] Next step shows "Waiting for you to submit expenses" when it can only be marked as done #87004 is the outlier — but it is also the one genuinely out of spec, so it may be right to pay it as a followup instead. Your call.Note on the rubric itself
One gap worth naming while you are testing it: the rubric assumes the author and the reviewer are different people carrying different halves. Here
MelvinBotauthored the first defective PR andjayeshmangwaniapproved it — so the reduction for round one has nowhere to land except the reviewer, who then also authored round two. He absorbs the full reduction for a PR he did not write. That may be the intended answer, but the rubric does not say.view run
Valforte commentedon Sep 3, 2026
Although I agree with most of Melvin's analysis, I also agree that this project scope and complexity was bigger than a common $250 issue and we can price it at $500 @mallenexpensify
mallenexpensify commentedon Sep 3, 2026
Payment Summary
Contributor: @jayeshmangwani due $500 via NewDot
Contributor+: @Krishna2323 due $500 via NewDot
Thx!
quinthar commentedon Sep 27, 2026
Approved $500 to @jayeshmangwani