-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD] Split - Split preview shows 0 instead of "Your split $0.00" when split amount is 0.00 #41752
Comments
Triggered auto assignment to @nkuoch ( |
👋 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:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Split preview shows 0 instead of "Your split $0.00" when split amount is 0.00 What is the root cause of that problem?
App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Line 316 in 9cad715
What changes do you think we should make in order to solve the problem?We should use a boolean value here. For example we can use isBillSplit or !!splitShare App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Line 316 in 9cad715
The descriptiveText = ' ' that's why in split details we can't see amount. If we want to show $0 then we should also set descriptiveText What alternative solutions did you explore? (Optional) |
@youssef-lr Another one related to Splits. Off the top of my head it doesn't make a whole lot of sense to be able to "split $0" and have it say:
So, curious if we got these steps right. Either way, new feature not a deploy blocker IMO. |
I don't think it makes sense for someone to be the payer of a split and set the amount |
Will start a discussion today. |
@youssef-lr Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Haven't got to this yet, will try tomorrow |
@youssef-lr Huh... This is 4 days overdue. Who can take care of this? |
I'm planning to tackle this in an ongoing PR for delegated splits as I think it's related. I think this might be a common scenario where someone pays for a bill even though they haven't ordered anything. So we should still allow them to input 0 for the amount. |
@youssef-lr Eep! 4 days overdue now. Issues have feelings too... |
No update yet |
No update yet |
No update, I can't prioritize this now given vip-split is paused. Putting it on monthly. |
Still paused. |
Same |
Same |
On hold. |
Same. |
Same |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.71-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
In Step 6, the expense preview will show "Your split $0.00"
In Step 7, the split creator under "Split amount" will show $0.00, or the split creator will not show up under the list
Actual Result:
In Step 6, the expense preview shows "0"
In step 7, the split creator shows up under "Split amount" list with no split amount (0.00) indicated
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6473649_1715080166491.split_zero.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: