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
[Payment due 2026-03-13] Payment issue for E/App PR#83103 #83104
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2InternalRequires API changes or must be handled by Expensify staffTask
Note: This issue (#83104) is a payment tracking issue for PR Expensify/App#83103. The underlying technical bug is tracked in Expensify/Expensify#601056. Below is the analysis of the technical problem and the proposed fix.
Please re-state the problem that we are trying to solve in this issue.
When a user opens an existing expense report and clicks "Add expense" (or "Create expense" from the composer's + menu), the expense confirmation screen still shows a "To:" section displaying the destination participant. This is confusing because the destination is already implicitly determined by the current report — the user intended to add the expense to that report, not submit it elsewhere. Showing the "To:" field introduces potential misrouting risk and unnecessary UI clutter.
What is the root cause of that problem?
In MoneyRequestConfirmationList.tsx, the sections useMemo (line ~820-863) always pushes a "To:" section for non-split expense types, regardless of how the expense creation flow was initiated:
The existing isFromGlobalCreateAndCanEditParticipant flag (derived from transaction?.isFromGlobalCreate at line ~331) only controls whether the participant rows are interactive (clickable with a navigation caret) — it does not control whether the "To:" section is visible.
The flow works as follows:
From within a report:AttachmentPickerWithMenuItems.tsx:232 or MoneyReportHeader.tsx:1624 calls startMoneyRequest(iouType, report.reportID) with the actual report's ID. Since this ID maps to an existing report in Onyx, isFromGlobalCreate is set to false in IOURequestStartPage.tsx:121. The participant is auto-assigned from the report context (via MoneyRequest.ts:331), and the user skips participant selection.
From global FAB:FloatingActionButtonAndPopover.tsx:190,444 generates a random optimistic reportID. Since this ID doesn't exist in Onyx, isFromGlobalCreate is true, and the user goes through participant selection with an editable "To:" section.
In both cases, the "To:" section is rendered — the only difference is interactivity. There was no mechanism to hide it entirely.
What changes do you think we should make in order to solve the problem?
The fix in PR Expensify/App#83103 adds a shouldHideToSection prop to MoneyRequestConfirmationList:
IOURequestStepConfirmation.tsx: Compute shouldHideToSection using isMoneyRequestReport(reportWithDraftFallback). When the report associated with the expense flow is a money request report (type 'expense' or 'iou'), the destination is already known, so the "To:" section should be hidden.
MoneyRequestConfirmationList.tsx: Accept the new shouldHideToSection prop (default false). In the sections useMemo, wrap the "To:" section push in a if (!shouldHideToSection) guard, so the section is completely omitted when the expense is being added to an existing report.
The memo comparison function is also updated to include the new prop.
What alternative solutions did you explore?
An alternative would be to reuse the existing isFromGlobalCreate flag to determine visibility. However, isFromGlobalCreate is stored on the transaction draft and depends on whether the route's reportID resolves in Onyx — it controls participant editability, not section visibility. Using isMoneyRequestReport(reportWithDraftFallback) is more semantically correct because it directly answers the question "is the user already inside a money request report?" rather than inferring it from the transaction's creation context.
Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, or @MelvinBot <your feedback> to refine this analysis.
changed the title [-][Payment maybe due 2026-03-13] Payment issue for E/App PR#83103[/-][+][Payment due 2026-03-13] Payment issue for E/App PR#83103[/+]on Mar 10, 2026
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2InternalRequires API changes or must be handled by Expensify staffTask
Activity
melvin-bot commentedon Feb 20, 2026
Triggered auto assignment to @heyjennahay (
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.MelvinBot commentedon Feb 20, 2026
🔍 Issue Analysis
Note: This issue (#83104) is a payment tracking issue for PR Expensify/App#83103. The underlying technical bug is tracked in Expensify/Expensify#601056. Below is the analysis of the technical problem and the proposed fix.
Please re-state the problem that we are trying to solve in this issue.
When a user opens an existing expense report and clicks "Add expense" (or "Create expense" from the composer's
+menu), the expense confirmation screen still shows a "To:" section displaying the destination participant. This is confusing because the destination is already implicitly determined by the current report — the user intended to add the expense to that report, not submit it elsewhere. Showing the "To:" field introduces potential misrouting risk and unnecessary UI clutter.What is the root cause of that problem?
In
MoneyRequestConfirmationList.tsx, thesectionsuseMemo (line ~820-863) always pushes a "To:" section for non-split expense types, regardless of how the expense creation flow was initiated:The existing
isFromGlobalCreateAndCanEditParticipantflag (derived fromtransaction?.isFromGlobalCreateat line ~331) only controls whether the participant rows are interactive (clickable with a navigation caret) — it does not control whether the "To:" section is visible.The flow works as follows:
AttachmentPickerWithMenuItems.tsx:232orMoneyReportHeader.tsx:1624callsstartMoneyRequest(iouType, report.reportID)with the actual report's ID. Since this ID maps to an existing report in Onyx,isFromGlobalCreateis set tofalseinIOURequestStartPage.tsx:121. The participant is auto-assigned from the report context (viaMoneyRequest.ts:331), and the user skips participant selection.FloatingActionButtonAndPopover.tsx:190,444generates a random optimisticreportID. Since this ID doesn't exist in Onyx,isFromGlobalCreateistrue, and the user goes through participant selection with an editable "To:" section.In both cases, the "To:" section is rendered — the only difference is interactivity. There was no mechanism to hide it entirely.
What changes do you think we should make in order to solve the problem?
The fix in PR Expensify/App#83103 adds a
shouldHideToSectionprop toMoneyRequestConfirmationList:IOURequestStepConfirmation.tsx: ComputeshouldHideToSectionusingisMoneyRequestReport(reportWithDraftFallback). When the report associated with the expense flow is a money request report (type'expense'or'iou'), the destination is already known, so the "To:" section should be hidden.MoneyRequestConfirmationList.tsx: Accept the newshouldHideToSectionprop (defaultfalse). In thesectionsuseMemo, wrap the "To:" section push in aif (!shouldHideToSection)guard, so the section is completely omitted when the expense is being added to an existing report.The memo comparison function is also updated to include the new prop.
What alternative solutions did you explore?
An alternative would be to reuse the existing
isFromGlobalCreateflag to determine visibility. However,isFromGlobalCreateis stored on the transaction draft and depends on whether the route's reportID resolves in Onyx — it controls participant editability, not section visibility. UsingisMoneyRequestReport(reportWithDraftFallback)is more semantically correct because it directly answers the question "is the user already inside a money request report?" rather than inferring it from the transaction's creation context.Next Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR, or@MelvinBot <your feedback>to refine this analysis.heyjennahay commentedon Feb 24, 2026
PR not yet deployed, setting payment date for 7 days from now to check again
[-]Payment issue for E/App PR#83103[/-][+][Payment maybe due 2026-03-02] Payment issue for E/App PR#83103[/+]justinpersaud commentedon Feb 24, 2026
@MelvinBot what caused you to run an issue analysis on this issue which is just a payment issue? #83104 (comment)
17 remaining items
melvin-bot commentedon Mar 9, 2026
@heyjennahay, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
[-][Payment maybe due 2026-03-13] Payment issue for E/App PR#83103[/-][+][Payment due 2026-03-13] Payment issue for E/App PR#83103[/+]heyjennahay commentedon Mar 10, 2026
Payment not due yet
melvin-bot commentedon Mar 13, 2026
@heyjennahay, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!
heyjennahay commentedon Mar 16, 2026
Hi @situchan I have sent you an Upwork offer. Can you please accept it so I can send your payment?
https://www.upwork.com/nx/wm/offer/110792358
heyjennahay commentedon Mar 18, 2026
Hi @situchan gentle bump on ^^
heyjennahay commentedon Mar 24, 2026
Payment summary:
@situchan paid $250 via Upwork + contract closed.
Thanks for your work!