-
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
mWeb - The animation is not loading at all when use is offline #31236
Comments
Issue is not reproducible on production Screen_Recording_20231111_114023_Chrome.mp4 |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @AndrewGable ( |
Hey, it is related to this PR. As the animations were moved from the bundle to the assets, we don't load them on the app initialization to reduce TTI and bundle size. The animations are loaded as soon as the network is available. It is similar behavior to displaying an image. |
So @roryabraham - Is this expected now? |
I think so, but TBH we didn't really discuss it broadly. I don't think we need to block deploy on this but should probably have a conversation about it. Maybe we can inline the |
Just changing |
I'd say this is a weekly, TBD if it's really a problem we need to solve or not. Some thoughts:
I think if we get good caching and potentially also preload |
I also think maybe we should put this on HOLD, consolidate discussion in #28160, and treat that as a tracking issue |
On hold |
I think it would also be good to get @kosmydel to look into this to see if it can be fixed independently of necolas/react-native-web#2442 |
Brought this up in slack: https://expensify.slack.com/archives/C04878MDF34/p1701305502798839 |
Co-assigning myself as I have good context here |
We've got a WIP PR for this here |
Prefetching is not working, but for me image caching is not working in production at all. That's still being tracked over here, so I'm putting this on HOLD for that |
@roryabraham I'm sorry to hear that. I've quickly tested it on the production, and both prefetching and caching work for me: production.movCan you please give me additional information about the method you use to test it? |
Ok, I probably found out the reason for that. I assume you use Safari, not Chrome. And prefetching is not supported by Safari. It is hidden behind the feature flag. |
Oh, sorry for the typo @kosmydel – I meant to say that prefetching is now working but online caching was not. Bad mistake to make... and nope, I'm using Chrome. |
And I'm now realizing that this issue is indeed fixed – I made yet another mistake because I had Thanks for all your work here @kosmydel, closing this out! |
Oh, thanks for the clarification! Good to know that everything is working! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.3.98.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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #30901
Action Performed:
Expected Result:
The animation is loading when user is offline
Actual Result:
The animation is not loading at all when use is offline
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Screen_Recording_20231111_111412_Chrome.1.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: