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 2025-07-15] [$250] Excluded User Still Sees “Your Split” Label in Split Expense UI #65027
Version Number: 9.1.71-8 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by:@dubielzyk-expensify Slack conversation (hyperlinked to channel name): #Expensify Bugs
Action Performed:
Go to a group chat with 4 members (e.g., Users A, B, C, D)
Have User A create a split expense including all 4 members
Then, have User A create another split expense, but this time include only Users A, C, and D, excluding User B
Login as User B
Observe the expense
Expected Result:
If a user is excluded from a split, the UI should not show “Your split”
Actual Result:
Excluded users see a “Your split” label
Workaround:
Unknown
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
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Excluded User Still Sees “Your Split” Label in Split Expense UI[/-][+][$250] Excluded User Still Sees “Your Split” Label in Split Expense UI[/+]on Jun 26, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.77-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@ahmedGaber93 / @dukenv0307@clarajones-expensify 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]
1a. Result of the original design (eg. a case wasn't considered)
1b. Mistake during implementation
1c. Backend bug
1z. Other:
Where bug was reported:
2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
2b. Reported on staging (eg. found during regression or PR testing)
2d. Reported on a PR
2z. Other:
Who reported the bug:
3a. Expensify user
3b. Expensify employee
3c. Contributor
3d. QA
3z. Other:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Go to a group chat with 4 members (e.g., Users A, B, C, D)
Have User A create a split expense including all 4 members
Then, have User A create another split expense, but this time include only Users A, C, and D, excluding User B
Login as User B
Observe the expense
Verify that If a user is excluded from a split, the UI should not show “Your split”
Activity
melvin-bot commentedon Jun 26, 2025
Triggered auto assignment to @slafortune (
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.m-natarajan commentedon Jun 26, 2025
Proposal by @dukenv0307
Proposal
Please re-state the problem that we are trying to solve in this issue.
Split expense says
Your split: $X.XXeven though th user is not part of the split:What is the root cause of that problem?
The
shouldShowSplitShareis alwaystruefor split billApp/src/libs/TransactionPreviewUtils.ts
Line 324 in 6b934d1
And we always fallback the
splitShareamount withcalculateAmounteven though the current user is not a part of the split billApp/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx
Lines 146 to 152 in 6b934d1
What changes do you think we should make in order to solve the problem?
We can update
shouldShowSplitSharecondition tofalseif the user is not a part of the split bill.App/src/libs/TransactionPreviewUtils.ts
Line 324 in 6b934d1
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
Update
createTransactionPreviewConditionalsunit test to verifyshouldShowSplitShareis only true if the user is a part of the split bill transaction.What alternative solutions did you explore? (Optional)
We can return
0here if the current user is not inparticipantAccountIDsApp/src/components/ReportActionItem/TransactionPreview/TransactionPreviewContent.tsx
Lines 146 to 152 in 6b934d1
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
[-]Excluded User Still Sees “Your Split” Label in Split Expense UI[/-][+][$250] Excluded User Still Sees “Your Split” Label in Split Expense UI[/+]melvin-bot commentedon Jun 26, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021938303481336886209
melvin-bot commentedon Jun 26, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 (
External)melvin-bot commentedon Jun 30, 2025
@ahmedGaber93 Whoops! This issue is 2 days overdue. Let's get this updated quick!
ahmedGaber93 commentedon Jun 30, 2025
reviewing today
22 remaining items
melvin-bot commentedon Jul 8, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 8, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.77-2 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 2025-07-15. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 8, 2025
@ahmedGaber93 / @dukenv0307 @clarajones-expensify 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]
clarajones-expensify commentedon Jul 11, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
clarajones-expensify commentedon Jul 11, 2025
Hi @ahmedGaber93 - would you fill out the above checklist? Thanks!
melvin-bot commentedon Jul 15, 2025
Payment Summary
Upwork Job
BugZero Checklist (@clarajones-expensify)
ahmedGaber93 commentedon Jul 15, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/pull/57614/files#r2208098724
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal Template
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
ahmedGaber93 commentedon Jul 15, 2025
@clarajones-expensify checklist have been completed.
clarajones-expensify commentedon Jul 15, 2025
Payment Summary
C+: @ahmedGaber93 owed $250 via NewDot
Contributor: @dukenv0307 owed $250 via NewDot
@JmillsExpensify good to go
flaviadefaria commentedon Aug 4, 2025
Approved $250 for @dukenv0307
trjExpensify commentedon Nov 5, 2025
approved $250 for @ahmedGaber93.