Repository navigation
Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.3.24-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: N/A
Email or phone of affected tester (no customers): N/A
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL: N/A
Issue reported by: Internal
Slack conversation: https://expensify.slack.com/archives/C03U7DCU4/p1771522356898249
Action Performed:
- Create a workspace expense.
- Add multiple attendees to the expense.
- Split the expense between attendees.
- View the expense in the NewDot expense table.
Expected Result:
When an expense is split between multiple attendees, the per-person amount should be clearly displayed in the expense table (e.g., “£11.75 per person”), similar to Classic.
Additionally, attendees should eventually be represented in a dedicated column (e.g., avatars in an “Attendees” column), while maintaining a clean and consistent table layout aligned with NewDot design principles.
This should be accomplished by adding two new columns. Attendees and Amount per attendee:
Tooltips:
- standard user tooltip when hovering over a single user
- text-only tooltip when hovering over the +X
Custom columns in reports are coming here: #82252. These new columns should be visible in reports as well as in the reports page.
Actual Result:
The expense table only displays the total amount. The per-person split amount is not shown, making it less clear how much each attendee is responsible for and how category limits apply.
Workaround:
Users can open the expense details page to manually calculate or review the split amounts. Expensify can still be used without this being fixed, but clarity is reduced when reviewing split expenses.
Platforms:
Select the officially supported platforms where the issue was reproduced:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
Screenshots/Videos
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022025995963017033332
- Upwork Job ID: 2025995963017033332
- Last Price Increase: 2026-03-02
Activity
melvin-bot commentedon Feb 23, 2026
Triggered auto assignment to @shawnborton (
Design), see these Stack Overflow questions for more details.melvin-bot commentedon Feb 23, 2026
Current assignee @twisterdotcom is eligible for the NewFeature assigner, not assigning anyone new.
melvin-bot commentedon Feb 23, 2026
Triggered auto assignment to Design team member for new feature review - @shawnborton (
NewFeature)MelvinBot commentedon Feb 23, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
When a workspace expense has multiple attendees and the cost is split between them, the expense table (in both the MoneyRequestReportView and Search results) only displays the total amount. Users cannot see the per-person split amount at a glance — they must open the expense details to manually calculate it. This reduces clarity when reviewing split expenses.
What is the root cause of that problem?
The
TotalCellcomponent (src/components/TransactionItemRow/DataCells/TotalCell.tsx:10-28) — which renders the amount column in expense tables — only displays the total transaction amount viagetTransactionDetails(transactionItem)?.amount. It does not check whether the transaction has multiple attendees, and does not compute or display a per-person amount.The per-person amount pattern already exists in two other views:
MoneyRequestView.tsx:304-305): computesactualAmount / transactionAttendees.lengthand displays it as"· $X.XX per person"when attendees > 1.MoneyRequestConfirmationList.tsx:393-396): uses the same pattern.However, this logic was never added to the table cell component.
What changes do you think we should make in order to solve the problem?
Part 1: Show per-person amount in the expense table's TotalCell
Modify
src/components/TransactionItemRow/DataCells/TotalCell.tsxto:transactionItem.modifiedAttendees ?? transactionItem.comment?.attendees).attendees.length > 1, compute the per-person amount:amount / attendees.length."· $X.XX per person"using thecommon.perPersontranslation key (already available in all locales aten.ts:216).This single component serves both the MoneyRequestReportView table and the Search results table (via
TransactionItemRow), so the change will appear in both contexts.Both the wide layout (desktop,
TransactionItemRow/index.tsx:498-509) and narrow layout (mobile, lines ~659-680) render TotalCell, so both will benefit.Part 2 (future consideration): Attendees column
The issue also mentions an "Attendees" column with avatars. This is a larger scope change that would require:
AttendeesCelldata cell componentTABLE_COLUMNS.ATTENDEESconstantgetColumnsToShow()inSearchUIUtils.tsMoneyRequestReportTableHeaderandSearchTableHeaderThis should likely be a separate follow-up issue given the scope.
What alternative solutions did you explore? (Optional)
Adding a new separate column for per-person amount — This would keep the total amount column clean but adds horizontal space. Given that the existing pattern (MoneyRequestView) appends per-person info inline, keeping it in the same cell is more consistent and space-efficient.
Creating a shared utility for per-person amount calculation — Currently the
amount / attendees.lengthformula is duplicated inline in MoneyRequestView and MoneyRequestConfirmationList. A shared utility inTransactionUtilscould consolidate this, but creating that abstraction is an optional improvement, not required for the fix.Relevant code references:
TotalCell(table amount cell):src/components/TransactionItemRow/DataCells/TotalCell.tsx:10-28src/components/ReportActionItem/MoneyRequestView.tsx:304-305src/types/onyx/Transaction.ts:57-58andTransaction.ts:500-501getAttendees()utility:src/libs/TransactionUtils/index.ts:1188-1196src/languages/en.ts:216—common.perPerson: 'per person'Next Steps for Contributor+ team: Reply with
@MelvinBot implement thisto create a draft PR, or@MelvinBot <your feedback>to refine this analysis.nkdengineer commentedon Feb 23, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
When an expense is split between multiple attendees, the expense table only displays the total amount. The per-person split amount (e.g., "$4.75/person") is not shown in the table, making it unclear how much each attendee is responsible for and how category limits apply. Additionally, attendees are not represented in a dedicated column.
What is the root cause of that problem?
The
TotalCellcomponent insrc/components/TransactionItemRow/DataCells/TotalCell.tsxonly renders the total amount and does not consider whether the transaction has multiple attendees:App/src/components/TransactionItemRow/DataCells/TotalCell.tsx
Lines 10 to 28 in d58572f
The per-person amount is already computed and displayed in the expense detail view (
MoneyRequestView.tsx) but is not surfaced in the table row:App/src/components/ReportActionItem/MoneyRequestView.tsx
Lines 304 to 305 in d58572f
There is also no
ATTENDEESentry inTABLE_COLUMNSor corresponding column cell component, so attendees cannot appear as a column in the table:App/src/CONST/index.ts
Lines 7339 to 7389 in d58572f
What changes do you think we should make in order to solve the problem?
1. Show per-person amount below the total in
TotalCellIn
src/components/TransactionItemRow/DataCells/TotalCell.tsx, compute the per-person amount when the transaction has multiple attendees and display it below the total:App/src/components/TransactionItemRow/DataCells/TotalCell.tsx
Lines 10 to 28 in d58572f
2. Add an
ATTENDEEScolumn with horizontal avatar lista. Add
ATTENDEEStoTABLE_COLUMNSinsrc/CONST/index.ts:App/src/CONST/index.ts
Line 7339 in d58572f
b. Create a new
AttendeesCelldata cell component atsrc/components/TransactionItemRow/DataCells/AttendeesCell.tsxthat renders the attendees as a horizontalMultipleAvatarscomponent:c. Add the
ATTENDEEScolumn entry to thecolumnComponentmap insrc/components/TransactionItemRow/index.tsxfollowing the same pattern as other columns:App/src/components/TransactionItemRow/index.tsx
Lines 269 to 581 in d58572f
d. Include
ATTENDEESin theEXPENSEcustom columns insrc/CONST/index.tsso it can be toggled on from the Columns page:App/src/CONST/index.ts
Lines 7135 to 7163 in d58572f
e. Add
getReportTableColumnStylessupport for the newATTENDEEScolumn and the corresponding translation key inen.ts.67 remaining items
mallenexpensify commentedon Apr 16, 2026
@hungvu193 @nkdengineer did the PR for this issue cause a regression? Looks like it
nkdengineer commentedon Apr 16, 2026
@mallenexpensify It's a new feature where we can have some edge cases that are missed during testing. As we raised a fix for this quickly, it would be appreciated if there's no penalty for regression here.
mallenexpensify commentedon Apr 16, 2026
@justinpersaud 👀 please on @nkdengineer 's comment above. Generally for projects that grow in size, I prefer to raise the price for the additional work then have the regression penalty to make it a wash, that way we're consistently applying the penalty (while also acknowledging that issues/feature can take more time/work, which makes it more likely to have regressions. hx
melvin-bot commentedon Apr 21, 2026
@mallenexpensify Huh... This is 4 days overdue. Who can take care of this?
mallenexpensify commentedon Apr 22, 2026
@justinpersaud 👀 above plz
justinpersaud commentedon Apr 22, 2026
This was an issue found in a new feature, right? It looks that way. I don't think we have to penalize for it unless it was listed as a requirement in the original request and we failed to implement it properly.
mallenexpensify commentedon Apr 22, 2026
Payment Summary
Contributor: @nkdengineer due $250 via NewDot
Contributor+: @hungvu193 due $250 via NewDot
@hungvu193 plz complete the BZ checklist and tag me in a post once you have. Thx
hungvu193 commentedon Apr 23, 2026
Regression test:
Precondition:
Do we 👍 or 👎 ?
hungvu193 commentedon Apr 23, 2026
This is new feature so we only need the regression test, I commented above @mallenexpensify
JmillsExpensify commentedon Apr 23, 2026
$250 approved for @hungvu193
twisterdotcom commentedon May 18, 2026
$250 approved for @nkdengineer in Report ID: R00Nb3enhIU7.
Zapier Logs
Run ID: 00040eee-72f3-abfe-9486-2087abc85184SO: https://stackoverflowteams.com/c/expensify/questions/7582