-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Theme Showcase: Add Atomic support for auto-loading homepage modal #65060
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~48 bytes removed 📉 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
This isn't quite working as expected:
So I think we need to fall back to checking against |
I've set up a new AT site and it works as expected! I will start working on the wpcomsh change 💪 |
An extra change to Jetpack needed to be issued to allow the |
@sixhours Do you think this should be enabled on Jetpack or only on Atomic? My initial guess was that this should only be enabled on Atomic. |
Yep, only Atomic for now, I would think. Headstart annotations have not been widely used (if at all) for non-Atomic Jetpack sites. |
70ced2d
to
91b911d
Compare
Closing this since the work done by this PR was split in this other 2: |
Proposed Changes
siteId
param tothemeHasAutoLoadingHomepage
selector so we can check themes for theauto-loading-homepage
tag whether onwpcom
or individual Atomic sitesisJetpackSite
/isAtomicSite
when using the auto-loading-homepage action since we no longer want to exclude them.Testing Instructions
/themes
on your Atomic site.Related to 997-gh-Automattic/wpcomsh and Automattic/jetpack#24818 to fix #56869