-
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 for payment 2024-06-06] [$250] Pay-On pay money, description in preview changed to expense after few seconds #40585
Comments
Triggered auto assignment to @kevinksullivan ( |
We think this issue might be related to the #vip-vsb. |
BE is setting the merchant to |
ProposalPlease re-state the problem that we are trying to solve in this issue.On using pay someone option, merchant set by backend shows instead of description. What is the root cause of that problem?In ReportPreview, if formattedMerchant is available, then it is being shown. In this case, we are getting the merchant as "Expense" from the backend.
What changes do you think we should make in order to solve the problem?Put a check on either the merchant name or the report type. If merchant name is "Expense", we can show the description instead since the merchant name is not relevant here.
Else we can also put check on the type (send money/pay someone). |
ProposalPlease re-state the problem that we are trying to solve in this issue.The send money request shows merchant as Expense after a few seconds. What is the root cause of that problem?When we create a new send money request, we always set the merchant to "(none)" since the user isn't allowed to set a merchant for sending money. After the request is completed, BE returns the merchant as "Expense". This confuses the user because of the value inconsistency between FE and BE. It could be a BE issue, but maybe we intentionally change it since the user is not allowed to set a merchant for a send request. What changes do you think we should make in order to solve the problem?Set the merchant value for send money optimistically to "Expense". Line 4819 in a04f40e
|
@kevinksullivan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@kevinksullivan Eep! 4 days overdue now. Issues have feelings too... |
@kevinksullivan 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Adding to vip-split. |
Job added to Upwork: https://www.upwork.com/jobs/~018753cc78d651b6ba |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
Current assignee @ntdiary is eligible for the External assigner, not assigning anyone new. |
Taking over as C+ |
First of all, we need to clarify the expectations for this case. When creating a new send money request, should we add the default merchant as "Expense"? @shawnborton Could you help to give a thought from the UX perspective ? 🎀👀🎀 C+ reviewed Also want to hear an option from the internal engineer |
Triggered auto assignment to @marcaaron, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Hmm yeah, I would think we should use the description in this case and not the backup merchant text of "Expense" - flagging this one for @trjExpensify and @JmillsExpensify - do you have any context here? But yeah, agree this is a bug, I wouldn't expect the description to change to "Expense" in this flow. |
As for this requirement, @nkdengineer's proposal looks good. Let's go with them 🎀👀🎀 C+ reviewed |
Current assignee @mountiny is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.77-11 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-06-06. 🎊 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:
|
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: This caused by BE changes Regression Test Proposal
Do we agree 👍 or 👎 |
@kevinksullivan, @mountiny, @DylanDylann, @nkdengineer Eep! 4 days overdue now. Issues have feelings too... |
Regression test created and payments made in upwork. All set |
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: 1.4.63-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Go to https://staging.new.expensify.com/home
Tap on a report
Enter an amount and tap next
Enter description
Tap pay elsewhere
Note IOU preview details
Expected Result:
When we pay money, description or merchant must be displayed without getting altered.
Actual Result:
When we pay money, description is shown in preview and after few seconds it is changed to "expense"(merchant)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6453941_1713460523330.govinda.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kevinksullivanThe text was updated successfully, but these errors were encountered: