-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
Move images out of webpack #13118
base: master
Are you sure you want to change the base?
Move images out of webpack #13118
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Webpacker still needs to know about them in order to build links.
png sprites? That was a flashback..
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
3c17296
to
4ee35fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent! I just found one typo.
It would be good to know if it breaks! I didn't think it worth updating every single settings specs to test for this... But I've tested on the 'general settings' page because this is the default page when clicking on 'Configuration'.
This code was waiting up to 20 seconds, but only checking every two seconds, which means it could be wasting up to 2s everytime it runs. Instead, we can use Capybara's waiting mechanism, which by default waits up to 20 seconds (but no doubt is optimised to be much more responsive).
b03687f
to
c29b15d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice testing!
Co-authored-by: Maikel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one !
Hi @dacook, Notes for further testing:
I will move this back to In Progress. Let me know if this is a configuration thing or anything I can do to fix it. Thanks! |
The logo in emails also seems to be broken. |
Thanks Konrad, it turns out my changes only work in a dev environment. I'm still not fully understanding this, and it looks like perhaps I need to move the fonts and CSS in the same PR.. |
This reverts commit b2eec79.
What? Why?
As Maikel suggested:
I think we shouldn't need images to be loaded by webpack. This will simplify the transition away from webpack.
I also tried to move the fonts but got stuck.
I have to confess I don't think I fully understood how it all hooks together, but it seems to be working!
What should we test?
This reverts some of #7784
So similar to that, test that images load, on some shop and admin screens.
I've checked this on au_staging.