-
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
[Pay meow][$500] [Held requests] Pay with Expensify button does not include amount after approving held request #39342
Comments
Triggered auto assignment to @mallenexpensify ( |
Triggered auto assignment to @neil-marcellini ( |
👋 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.After approving all the held request, Pay with Expensify button does not include the total amount. It only includes the total amount after visiting the transaction thread. What is the root cause of that problem?We set the When we open the transaction thread report, App/src/components/MoneyReportHeader.tsx Line 155 in c848cb6
What changes do you think we should make in order to solve the problem?Since all hold transactions will be un-held after we approve the money request, we can add the check approve report here to display the amount if the report is approved
App/src/components/MoneyReportHeader.tsx Line 155 in c848cb6
App/src/components/MoneyReportHeader.tsx Line 187 in c848cb6
What alternative solutions did you explore? (Optional)In revert it to the current hold comment in Line 4609 in c848cb6
Alternatively, we can hide the approve button if all requests are held |
App/src/components/ProcessMoneyReportHoldMenu.tsx Lines 52 to 54 in 4e6bd2d
ProposalPlease re-state the problem that we are trying to solve in this issue.After we approve a money request, we don't see the amount in What is the root cause of that problem?After the recent PR, we can approve held requests as well Now when we approve a held request we essentially call App/src/components/ProcessMoneyReportHoldMenu.tsx Lines 52 to 54 in 4e6bd2d
Here we check if the request is a App/src/components/ProcessMoneyReportHoldMenu.tsx Lines 69 to 70 in 4e6bd2d
Now you can see that as What changes do you think we should make in order to solve the problem?We need to update the const onSubmit = (full: boolean) => {
if (isApprove) {
IOU.approveMoneyRequest(moneyRequestReport, true);
} else if (chatReport && paymentType) {
IOU.payMoneyRequest(paymentType, chatReport, moneyRequestReport, full);
}
onClose();
}; What alternative solutions did you explore? (Optional)If the first and second options are used to determine whether to approve full or partial transaction, then we can have a check of how many buttons exist, if only one button exists then we should update the |
I think the problem should be described a bit differently, based on the following from the PR where this issue was found.
The expected result is that the pay button should not display the amount when all requests are on hold. |
@BartoszGrajdek are you around to help fix this? |
@robertjchen would you be willing to take this over since you reviewed the PR and have the most context? I'll keep working on it until I hear otherwise. |
sounds good, I can take it! This can definitely be handled by contributors 👍 |
Job added to Upwork: https://www.upwork.com/jobs/~01e05ae27f1f02458c |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
@nkdengineer @GandalfGwaihir Thanks for proposals, everyone
Link to selected proposal #39342 (comment) 🎀👀🎀 C+ reviewed |
Current assignee @robertjchen is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Looks good to me as well, let's move forward with @nkdengineer 's proposal 👍 |
📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nkdengineer You have been assigned to this job! |
@hoangzinh The PR is here. |
This issue has not been updated in over 15 days. @robertjchen, @hoangzinh, @mallenexpensify, @nkdengineer eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@mallenexpensify The PR is deployed to production last month. Can you please add weekly label again and I think we're ready for payment here? Thanks. |
Contributor: @nkdengineer paid $500 via Upwork @nkdengineer can you please accept the job and reply here once you have? PR hit production on 4/22, automation failed here, I updated labels and such. |
@mallenexpensify Offer accepted, thanks 🙏 |
@nkdengineer paid, updated main payment comment above. @hoangzinh can you fill out the BZ checklist? Looks like it didn't auto-post here, pasted below 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:
|
@robertjchen, @hoangzinh, @mallenexpensify, @nkdengineer Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
BugZero Checklist:
Regression Test ProposalPrecondition: Create a collect workspace and invite some users as employee
Do we agree 👍 or 👎 |
Thanks @hoangzinh , TestRail GH created |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
issue found when validating #33124
Version Number: 1.4.58-2
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
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:
Action Performed:
Precondition:
Expected Result:
After approving all the held request, Pay with Expensify button will update to include the total amount (this is the case when approving two requests where one of the requests is held).
Actual Result:
After approving all the held request, Pay with Expensify button does not include the total amount. It only includes the total amount after visiting the transaction thread.
Workaround:
unknonw
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6433521_1711916993122.20240401_041807.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: