-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 for payment 2024-07-26] [$250] Putting an expense on hold causes the Duplicate
message to show in the transaction preview
#44509
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.A duplicate and hold expense shows duplicate in the money request preview header. What is the root cause of that problem?When showing the violation, we only take the first violation. App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Lines 189 to 197 in 403cecb
If we have duplicated and hold, the violation array is: [duplicated, hold], that's why the duplicated is shown instead of hold. We previously prioritized hold in this PR, but was reverted because it caused double Hold to show up. It's because we append the violation message (that contains hold) with another hold text. But it's not guaranteed that the hold violation is always at the first item of the violations. What changes do you think we should make in order to solve the problem?If we want the hold to be prioritized over other violations, then we can set the App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Lines 190 to 191 in 403cecb
OR Sort the violations array which puts hold violation at the first item of the array.
|
Duplicate
message to show in the transaction previewDuplicate
message to show in the transaction preview
Job added to Upwork: https://www.upwork.com/jobs/~01f36e776d0a6fafaa |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
cc @pecanoro as you mentioned in the slack thread you wanted to follow along |
ProposalPlease re-state the problem that we are trying to solve in this issue.The dot separator pattern shows Duplicate What is the root cause of that problem?We always show the first violation in App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Lines 190 to 191 in 1d607ac
What changes do you think we should make in order to solve the problem?We should show the last violation here instead of the first violation
App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Lines 190 to 191 in 1d607ac
What alternative solutions did you explore? (Optional) |
Proposals awaiting review |
Same |
@abdulrahuman5196 Friendly bump to review the proposal! |
@pecanoro, @abdulrahuman5196, @joekaufmanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Hi, Sorry for the delay. Will check on this today. |
TY! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@pecanoro, @abdulrahuman5196, @joekaufmanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@abdulrahuman5196 is there an update here? |
Hi, @joekaufmanexpensify Sorry for the delay. I am having lesser availability now. Kindly re-assign labels for another C+. I am unasigning myself. |
Duplicate
message to show in the transaction previewDuplicate
message to show in the transaction preview
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.9-5 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 2024-07-26. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@DylanDylann Please handle the BZ checklist so we can prep to issue payment this week |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed: [@DylanDylann] The PR that introduced the bug has been identified. Link to the PR: NA Regression Test Proposal
Do we agree 👍 or 👎 |
Looks solid! I will tackle this tomorrow. |
@daledah is your Upwork account no longer active? I am no longer able to view it from when we paid you on a prior issue to send you an offer for this one. |
BZ checklist is complete! |
Payment owed here is:
|
All set to issue payment! |
@DylanDylann $250 sent and contract ended! |
This comment was marked as outdated.
This comment was marked as outdated.
@joekaufmanexpensify It's working well now, could you send an offer to my profile https://www.upwork.com/freelancers/~0138d999529f34d33f Thanks |
@daledah offer sent for $250! |
@joekaufmanexpensify I accepted it now |
@daledah $250 sent and contract ended! |
Upwork job closed. |
All set, thanks everyone! |
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: 9.0.2-0
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: @JmillsExpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1719073168627369
Action Performed:
Have user A submit several expenses to user B on a Collect workspace
As user B, manually hold one of the expenses which is also a duplicate expense
Expected Result:
The dot separator pattern shows
Hold
Actual Result:
The dot separator pattern shows
Duplicate
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @joekaufmanexpensifyThe text was updated successfully, but these errors were encountered: