-
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
[HOLD #43783][$250] Accounting - Submit button flickers in and out for non-admin submitter immediately after clicking Submit #45624
Comments
Triggered auto assignment to @francoisl ( |
👋 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:
|
Going to look at that PR #44170 to see if anything stands out. In the meantime, /cc @kosmydel @hungvu193 if you have any idea |
The issue seems to be that in the rerender right after calling We correctly update the optimistic data of the IOU here in |
Job added to Upwork: https://www.upwork.com/jobs/~011ac532d9ba102642 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
In the meantime, here's a draft revert if we can't figure out a fix. |
This problem must have been present before, but instead of displaying the "Export" button, no button was shown at all. const shouldShowExportIntegrationButton = !shouldShowPayButton && !shouldShowSubmitButton && connectedIntegration && !!policy; As we can see, the |
Okay, I did two tests on production to corroborate that theory a bit, @kosmydel. Workflows config:
Result: The pay button appears immediately after clicking 2024-07-18_10-41-39.mp4Workflows config:
Result: There's a brief flash of the 2024-07-18_10-44-43.mp4 |
Triggered auto assignment to @sakluger ( |
We are going to demote this one as it is specific to the admin submitting on a policy with a specific setup so it is not very common case, additionally, it can be fixed by revisiting the report. Looking for a proposal to fix this flicker of the incorrect button |
With this PR that fixes the Now, here's what happens:
Screen.Recording.2024-07-18.at.13.26.37.mov |
Nice, thanks for testing again. This just supports the theory the optimistic data is somewhat incorrect probably for this specific submit and close setting |
Still on hold for #43783 |
still on hold for the above ^ |
This comment was marked as outdated.
This comment was marked as outdated.
Still on hold for the above |
Still on hold. |
Looks like the hold issue (#43783) has been closed because it's no longer reproduceable, and a new, similar issue is being worked on here: #43783 (comment). @francoisl what do you think we should do for this one? Should we get a retest? |
I prefer a retest. |
Yeah let's get a retest please, I can't repro anymore on my end. Screen.Recording.2024-11-01.at.2.42.48.PM.mov |
Let's close since Francois can't reproduce. |
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.8-0
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
Issue reported by: Applause - Internal Team
Issue found when executing PR #44170
Action Performed:
Pre-requisite:
Expected Result:
Right after a non-admin submitter clicks submit, the Submit button should disappear and no other button should show up.
Actual Result:
After a non-admin submits the expense, a Pay button shows up where the Submit button was before.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6544931_1721208467307.bandicam_2024-07-17_12-18-06-082.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: