-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Expense - Optimistic expense report preview not showing after creating an expense while being offline #62144
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 @johncschuster ( |
Triggered auto assignment to @aldo-expensify ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
@johncschuster 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. |
I'm about to leave to a dentist appointment, I'll be out for around 1.5 hours, if this needs to be solved earlier, please reassign :) |
Looking at the video, that delay is very small, I wonder if it could be something related to how production code is compiled vs staging code (if there is any difference in that). |
Seems like something happened to the optimistic data, if I create the expense offline, I don't see the preview. I only see it after the request finishes and thus the delay. |
The REPORTPREVIEW onyx data looks the same in The new report onyx data also looks the same, so I think this has to be some change in where we decide to show or not the preview, but the preview data and the report data didn't change. |
I think this was caused by #62002, reverting it fixes the bug for me in dev |
I'm not sure if we want to try to fix the code or revert. If we want a revert, there is one here: #62151 |
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.1.46-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.3 / Chrome
App Component: Money Requests
Action Performed:
Expected Result:
Expense preview will appear immediately after creating an expense (even if offline).
Actual Result:
Optimistic preview doesn't show up. The preview only appears after coming back online and after the request
RequestMoney
finishesWhen creating invoice, the delay is more obvious.
Workaround:
Unknown
Platforms:
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: