-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Expense - Hold banner not dismissed for employee after admin acknowledges #58248
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
Comments
Triggered auto assignment to @VictoriaExpensify ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-03-11 19:47:54 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Expense - Hold banner not dismissed for employee after admin acknowledges What is the root cause of that problem?We have no implementation to dismiss the modal when What changes do you think we should make in order to solve the problem?We can add an effect that dismisses the modal when dismissedHoldUseExplanation becomes true
We can also optionally give the route's We call the dismissHoldUseExplanation via What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?If needed we can render ProcessMoneyRequestHoldPage and assert we navigate back if dismissedHoldUseExplanation changes to true What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
(This assumes both users have nvp_dismissedHoldUseExplanation set to false.)
What changes do you think we should make in order to solve the problem?
To fix this, we could consider one of these options:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional) |
@Expensify/design In the expected result in this issue is after the admin taps "Got it" in MWeb, the banner should be dismissed for the employee in Android as well. But, I think the hold banner modal is meant to educate users about the hold state. So, even if user B clicks the "Got it" button, it shouldn’t dismiss the banner for user A. What do you think about this point? |
Oh yeah, I agree with you @thelullabyy - the banner should inform both parties so I don't think the admin tapping "Got It" should remove the message for the submitter. In saying that, I don't this is the most ideal message for the submitter to see: The explanation around what "Hold" means is very much from an Admin perspective. If would be good if the submitter saw something more tailored to them. Let's wait and see what the design team think, though |
Taken it to Slack for discussion - https://expensify.slack.com/archives/C01SKUP7QR0/p1742272889490259 |
Ok we've had a bit of a discussion around this and agreed that the expected behaviour is for the banner to remain visible to each party until they submit it, so this is working as expected. But we did agree the language could do with some tweaking to make it less focussed on the approver. @jamesdeanexpensify is taking care of that here - thanks James! |
And thanks for flagging that this was likely expected behaviour @thelullabyy ! |
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: V9.1.11-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: N
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Redminote 10s android 13
App Component: Money Requests
Action Performed:
Expected Result:
If the hold banner is supposed to be shown for the employee when the admin places the expense on hold, then after the admin taps "Got it" in MWeb, the banner should be dismissed for the employee in Android as well.
Actual Result:
When the admin places the expense on hold, the hold banner is shown for the employee.
After the admin taps "Got it" on the hold banner in MWeb, the banner remains displayed for the employee in Android.
Workaround:
Unknown
Platforms:
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: