-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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-03-19] [$500] [Held Requests] Hold request modal does not dismiss for Employee after admin pays the request #37014
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01dad4e5f90367adf7 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
Triggered auto assignment to @JmillsExpensify ( |
👋 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:
|
Triggered auto assignment to @puneetlath ( |
We think that this bug might be related to #vip-bills |
ProposalPlease re-state the problem that we are trying to solve in this issue.Hold request modal does not dismiss for Employee after admin pays the request What is the root cause of that problem?We don't check if the request is Paid when What changes do you think we should make in order to solve the problem?We should fail with error or disable the button instead of dismissing without user action like we do in other areas of the App. We should disable the We should check for const isSettled = ReportUtils.isSettled(reportID); |
ProposalPlease re-state the problem that we are trying to solve in this issue.In Step 5, Hold Request modal does not dismiss for Employee after Admin pays it. As a result, employee can hold the paid request. What is the root cause of that problem?We don't dismiss the hold request page if the request is paid What changes do you think we should make in order to solve the problem?In App/src/components/MoneyRequestHeader.tsx Line 82 in 20ca041
App/src/components/MoneyRequestHeader.tsx Line 120 in 20ca041
What alternative solutions did you explore? (Optional)NA |
I don't think this needs to be a blocker. Going to assign to @robertjchen as CME to decide what the ideal behavior is, since he's leading the "hold" project. |
Yep, not a deploy blocker but great catch here- I think the big UX difference between the two above proposals are:
and
I'm partial to the latter one (@dukenv0307 's approach), but is there room to combine both approaches? 🤔 What do you think @alitoshmatov ? cc: @Expensify/design for guidance on what would be the most consistent experience. |
My approach is the same way as we do for edit flow App/src/pages/EditRequestPage.js Lines 106 to 108 in 3e77445
|
Hmm I think I would just block form submission on the hold modal in this case, letting them know that the expense status changed and they can no longer hold it as the form error message. Otherwise it feels a bit strange to automatically close the modal for them if they don't know why that's happening. |
Current assignee @robertjchen is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Agreed with @WikusKriek proposal 👍 Let's move forward with the PR, and we can finalize the messaging when reviewing it |
📣 @alitoshmatov 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @WikusKriek 🎉 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.50-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-03-19. 🎊 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:
|
@alitoshmatov Do you mind helping with the BZ checklist? In the meantime, payment summary as follows:
|
|
@JmillsExpensify Completed the checklist |
Many thanks! All contracts have been paid out. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Found when validating PR : #33897
Version Number: v1.4.43-6
Reproducible in staging?: Y
Reproducible in production?: N
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:
Admin and employee are in the same workspace.
Expected Result:
In Step 5, Hold Request modal should dismiss for Employee after Admin pays it.
Actual Result:
In Step 5, Hold Request modal does not dismiss for Employee after Admin pays it. As a result, employee can hold the paid request.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6386751_1708514994509.bandicam_2024-02-21_04-11-41-368.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: