Skip to content

Gutenberg: Include initial jetpack-blocks bundle - #10279

Merged
sirreal merged 2 commits into
masterfrom
add/jetpack-blocks-npm
Oct 11, 2018
Merged

sirreal merged 2 commits into
masterfrom
add/jetpack-blocks-npm

Conversation

@ockham

@ockham ockham commented Oct 9, 2018 •

Copy link
Copy Markdown
Contributor

✅ Companion PR Automattic/wp-calypso#27622

Update to a pre-stable @automattic/jetpack-blocks@0.1.0.
Copy bundled assets from module into blocks directory.

Testing instructions

Jetpack blocks should be available by enabling this branch via Jetpack Beta. You'll need to enable the Gutenberg plugin as well as the local Gutenpack assets:

add_filter( 'jetpack_gutenberg', '__return_true', 10 );
add_filter( 'jetpack_gutenberg_cdn', '__return_false', 10 );

Proposed changelog entry

  • Bundle Jetpack Gutenberg blocks.

@ockham ockham added [Status] In Progress [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack labels Oct 9, 2018
@ockham ockham self-assigned this Oct 9, 2018
@ockham
ockham requested a review from a team October 9, 2018 15:20
@jetpackbot

Copy link
Copy Markdown
Collaborator
Warnings
⚠️

"Testing instructions" are missing for this PR. Please add some

⚠️

"Proposed changelog entry" is missing for this PR. Please include any meaningful changes

This is automated check which relies on PULL_REQUEST_TEMPLATE.We encourage you to follow that template as it helps Jetpack maintainers do their job. If you think 'Testing instructions' or 'Proposed changelog entry' are not needed for your PR - please explain why you think so. Thanks for cooperation 🤖

Generated by 🚫 dangerJS

@jeherve jeherve added this to the 6.7 milestone Oct 9, 2018
@sirreal sirreal self-assigned this Oct 10, 2018
Comment thread package.json Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use the literal next here and pin a version at release time? What's the best way to let master builds stay current with the lastest bundle?

@ockham
ockham force-pushed the add/jetpack-blocks-npm branch from 1fcab3b to d94eb82 Compare October 10, 2018 11:27
@sirreal
sirreal force-pushed the add/jetpack-blocks-npm branch from d94eb82 to ba7d9dd Compare October 10, 2018 17:14
@sirreal sirreal added Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Status] Needs Review This PR is ready for review. New Feature and removed [Status] In Progress labels Oct 10, 2018
@sirreal
sirreal requested a review from a team October 10, 2018 17:29
@sirreal sirreal changed the title Gutenberg: Try using npm hosted Jetpack blocks Gutenberg: Include initial jetpack-blocks bundle Oct 10, 2018

@ockham ockham left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish I could approve this, since the both commits are by @sirreal but I can't, since I'm the PR author 🙁

Anyway, this works as it should 👍

@kraftbj

kraftbj commented Oct 10, 2018

Copy link
Copy Markdown
Contributor

Able to see the Jetpack blocks automagically, Markdown and Tiled Galleries. My understanding is this PR is just for the loading mech, not for checking how the blocks themselves work (Tiled Gallery doesn't). Based on that and @ockham's comment, approving.

@ockham Is this ready for merge?

@kraftbj kraftbj added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Oct 10, 2018

@dmsnell dmsnell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mechanism seems fine. Glad to see it coming along.

@sirreal sirreal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 😁

@sirreal
sirreal merged commit 7e3c013 into master Oct 11, 2018
@sirreal
sirreal deleted the add/jetpack-blocks-npm branch October 11, 2018 07:20
@ghost ghost removed the [Status] Ready to Merge Go ahead, you can push that green button! label Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Focus] Blocks Issues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack New Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants