-
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
[$250] Expense report-Submit & approve button not disappear until page refreshed #48463
Comments
Triggered auto assignment to @srikarparsi ( |
Triggered auto assignment to @slafortune ( |
👋 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:
|
We think this issue might be related to the #wave-control |
Production Recording.739.mp4Recording.2788.mp4 |
Looked into this and I think this might be a problem with manually submitting reports. I verified this by:
(First part of the video is from staging and the second is from production) manualSubmitBug.mov |
I don't think this is a backend bug because the SubmitReport response is the same on staging and production. |
I think this could be a possible culprit |
No, that PR didn't hit staging yet |
Ah you're right thanks |
Hm, I'm not able to reproduce this in the latest dev. Screen.Recording.2024-09-03.at.4.33.44.PM.mov |
Still debugging on dev but going to add the external label to see if we can speed things up |
Job added to Upwork: https://www.upwork.com/jobs/~01efec68070b933fc3 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
Seeing some flickering behavior on production as well occasionally: Screen.Recording.2024-09-03.at.5.00.47.PM.mov |
Hey @NikkiWines - does the recommended proposal look like a go? |
Oops, sorry - missed this one somehow. Agreed that @nkdengineer's proposal to fix the FE bug is good 👍 |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@eh2077 We have a problem after we submit the report to approver 1 and change the |
@slafortune, @NikkiWines, @eh2077, @nkdengineer Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
PR is in the works, @nkdengineer do you need further clarification on this comment? |
@nkdengineer Does the backend error block testing your PR? If so, can you share the detail reproduction steps? Then we can we ask help from @NikkiWines |
^^ in the works |
The problem is when I display the approve button for the approver 2 with the original step of the bug, the approver 2 cannot approve the expense report. |
@nkdengineer Do you mean after step 5, |
@slafortune, @NikkiWines, @eh2077, @nkdengineer Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@nkdengineer can you respond to @eh2077 here please 🙇 |
@eh2077 Yes, that's correct. |
@eh2077 do you need any further information here? |
@NikkiWines I can still reproduce the unexpected result of the bug report, see step 8. But after performing step 10 and 11, I think the workflow works as expected, or at least there's a workaround for the action of step 5. So, overall, I don't feel strong that it's a bug we have to fix. Wdyt? cc @nkdengineer @trjExpensify Bellow are the tests on the main Precondition: log into OD as an admin, create a control policy, enable workspace chats, select "Advanced Approvals", invite 3 members (non-admin): 2 approvers and 1 submitter, set the approval flow as submitter submits to approver 1
Warning The
Warning There's no error found except the red dot hint of
Note The expense is submitted to approver 2. I think it makes sense as we modified the flow in step 5.
Note The expense is approved without error and the status is changed to 0-48463.mp4 |
Erm, looking at your steps I think that is expected. When a report is already submitted, we don't typically change the approver of submitted reports retrospectively. CC: @garrettmknight for the hip check on whether that's changed.
Given the above, I would expect there to be no RBR for the "new" approver, but the expense violations would still show on the expense when viewed by anyone with access.
Do you mean the report when approver1 clicks |
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.28.0
Reproducible in staging?: Y
Reproducible in production?: N
Found when validation PR: #48362
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Precondition: log into OD as an admin, create a control policy, enable workspace chats, select "Advanced Approvals", invite 3 members (non-admin): 2 approvers and 1 submitter, set the approval flow as submitter submits to approver 1
Expected Result:
The 'Submit" button disappears immediately for the submitter (step 4) and the "Approve" button disappears for the approver (step 8)
Actual Result:
The "Submit" and "Approve" button do not disappear until the page is refreshed or it is clicked on the second time (the "Approve" button)
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6591339_1725333837619.Recording__737.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner:The text was updated successfully, but these errors were encountered: