-
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
Update Newspack Blocks #51583
Update Newspack Blocks #51583
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~2907 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Async-loaded Components (~2417 bytes removed 📉 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. 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. |
@adekbadek Picking up the thread from Automattic/newspack-blocks#725. I merged the latest As you can see in the screenshot, the placeholder files in |
This PR has been marked as stale due to lack of activity within the last 30 days. |
f3d4908
to
97ecd79
Compare
Link to Calypso live: https://calypso.live?image=registry.a8c.com/calypso/app:build-11100 |
@dkoo I've rebased this branch onto |
This PR modifies the release build for editing-toolkit To test your changes on WordPress.com, run To deploy your changes after merging, see the documentation: PCYsg-mMA-p2 |
@adekbadek I can confirm that I too no longer see the error described in #51583 (comment), and that shared deduplication is working across Blog Posts and Post Carousel blocks. 🥳 However, the block attributes for Post Carousel seem to be breaking the SwiperJS functionality in the editor preview for me. This is when syncing the latest EDIT: This is a bug in the Blocks repo. Fix is here: Automattic/newspack-blocks#807 |
With the fix on Blocks ready, all that's left in this PR is the hardcoded version bump after the fix is released, right? |
Tested in both sandbox and Atomic environments. edb0513 updates outdated file paths in the sync script, which caused the plugin to be missing files and throw fatals in the latter environment. |
This PR modifies the release build for notifications To test your changes on WordPress.com, run To deploy your changes after merging, see the documentation: PCYsg-elI-p2 |
I ran this on my sandbox and tested the updated build successfully. |
950acfe
to
b5ab7a2
Compare
Rebased on |
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.
The changes here look good to me. The only thing a bit odd is the addition of @wordpress/elements v3, though since all the builds pass (and smoke tests work well), this should not be problematic. It originates in the new dependency on @wordpress/icons in newspack blocks.
I'll note that I didn't test the newspack changes on my sandbox though. @dkoo I think a new version of Gutenberg was released to wpcom in the past 12 hours. I think it's live for simple sites, but not yet for Atomic. It would probably be worth re-testing it in those environments :)
apps/editing-toolkit/editing-toolkit-plugin/newspack-blocks/carousel-block-editor.js
Outdated
Show resolved
Hide resolved
…, since offending line is within a comment
b5ab7a2
to
a1caf1c
Compare
Changes proposed in this Pull Request
Updates Newspack Blocks to v1.30.0.
Automattic/newspack-blocks#725 changes how deduplication is handled.
Post Carousel also has several new options that affect how it renders on the front-end.
Testing instructions
newspack-blocks
is synchronised with FSE