-
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
[$250] Workspace Chat - Second approver unapproval shows 'Waiting for first approver' in next steps #50269
Comments
Triggered auto assignment to @kadiealexander ( |
@kadiealexander FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #wave-collect - Release 1 |
Edited by proposal-police: This proposal was edited at 2024-10-04 22:46:01 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Second approver unapproval shows 'Waiting for first approver' in next steps What is the root cause of that problem?We use this function to get next approver ID Line 7011 in 10b8547
and then in when Approver B will be last in the approver chain so when we try to Line 7021 in 10b8547
so it will fallback to this which will be Approver A. We'll see outdated approver until we'll refresh the page or switch report Lines 7022 to 7024 in 10b8547
What changes do you think we should make in order to solve the problem?We can fallback here to
This will fix the problem but it will show
Screen.Recording.2024-10-05.at.3.51.50.AM.movWhat alternative solutions did you explore? (Optional)We can also check
Note: This is just pseudocode. We can use different combinations of this logic. It's also possible to return the current user ID early if the conditions are met.. Alternate Solution 2 Line 7200 in 10b8547
and then we can pass it down to Line 71 in 10b8547
and in that function, we can use to check
Alternative 3 Line 7011 in 10b8547
|
Proposal Updated |
Edited by proposal-police: This proposal was edited at 2024-10-05 03:04:11 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.After Approver B unapproves the expense, the next step for Approver B says:"Waiting for Approver A to approve expense(s)." Meanwhile, on Approver A's side, the next step says: What is the root cause of that problem?
Line 7192 in b9d9686
Line 7200 in b9d9686
Line 7011 in b9d9686
Line 7021 in b9d9686
is What changes do you think we should make in order to solve the problem?
with:
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021843453908006071230 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
multi-step approvals is a control-only feature. Moving. |
@allroundexperts, @kadiealexander Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@allroundexperts, @kadiealexander 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@allroundexperts Can you review the above proposals? |
@allroundexperts, @kadiealexander 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@allroundexperts @kadiealexander this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Triggered auto assignment to @Julesssss, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@allroundexperts Your selected solution leads to regression if the current user is an admin, not an approver. When the admin unapproves the expense, it should display "Waiting for first approver", but with that solution, it display "Waiting for your approver" since that solution fallback to the current user email. Please correct me if I am wrong. |
@Julesssss @abekkala @allroundexperts @kadiealexander this issue is now 4 weeks old, please consider:
Thanks! |
@Julesssss, @abekkala, @allroundexperts, @kadiealexander Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@allroundexperts Can you check my comment above? |
@Julesssss, @abekkala, @allroundexperts, @kadiealexander Still overdue 6 days?! Let's take care of this! |
Bumping @allroundexperts for your review. The solutions are similar and I'm finding it difficult to figure out how/when the proposals were edited. It looks like this proposal includes the detail of needing to fix on backend. Though I think @truph01 is correct in pointing out that small difference in text from To be honest the backend issue is unlikely to be fixed. |
I'll look into this again today. |
Okay. I think its a really small difference that @truph01 has pointed out, but it does lead to a regression (although its super minor). I'm a little confused if that difference is enough to select @truph01's proposal over @Nodebrute's proposal. @Julesssss I'd leave this final decision to you. |
There are only two cases to consider: when the current user is an approver and when they are not. The previously selected proposal results in a regression for the second case, so I believe it's more than a minor issue. Up to now, I haven't encountered a scenario where a proposal with a regression would be chosen, regardless of how minor that regression may be. |
📣 @truph01 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready |
This issue has not been updated in over 15 days. @Julesssss, @abekkala, @allroundexperts, @kadiealexander, @truph01 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! |
note to self: PR has not merged yet |
@Julesssss, @abekkala, @allroundexperts, @kadiealexander, @truph01, this Monthly task hasn't been acted upon in 6 weeks; closing. If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead. |
This is ongoing. @truph01 Can you please resolve conflicts on your PR? |
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.44-8
Reproducible in staging?: Y
Reproducible in production?: Y
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): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
After Approver B unapproves the expense, the message should revert to: "Waiting for you to approve expense(s)."
Actual Result:
After Approver B unapproves the expense, the next step for Approver B says:"Waiting for Approver A to approve expense(s)." Meanwhile, on Approver A's side, the next step says:
"Waiting for Approver B to approve expense(s)."
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6624607_1728057683525.unapprove.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: