Jetpack: show as beta-extension via block filters#25852
Conversation
There was a problem hiding this comment.
Here are some suggested test cases for this PR.
Gutenberg extensions
- Use Core's block editor
- Use latest stable Gutenberg plugin
Blocks
- Tiled Gallery
- Business Hours
- Calendly
- Form
- Contact Info
- Eventbrite
- Google calendar
- Mailchimp
- Map
- OpenTable
- Podcast player
- Star rating
- Recurring Payments
- Repeat Visitor
- Revue
- Simple Payments
- Slideshow
Extensions
- Publicize
- Likes
If you think that suggestions should be improved please edit the configuration file here. You can also modify/add test-suites to be used in the configuration file.
|
Caution: This PR has changes that must be merged to WordPress.com |
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. Jetpack plugin:
|
|
Tested the beta label on Simple and JN - they look good there. I couldn't get the label (on the block itself) to show up in my local development environment though, with the beta constant added. I also tried testing on a WoA site but even after adding the constant the blocks don't show up at all - perhaps something else is needed to test on WoA (if that's relevant here?). I did stumble across this in Slack though I'm not sure what the conclusion was: p1645006985128649-slack-CJS75TX3R |
|
Great news! One last step: head over to your WordPress.com diff, D86628-code, and deploy it. Thank you! |
|
r251609-wpcom |
|
I know this is older PR but wanted to note somewhere since there was an issue originating from the PR:
|

This PR improves the way to label beta blocks (extensions) in the editor canvas context.
It removes the current implementation that renames the block title when it's registered by using filters, allowing support not only Jetpack blocks but other blocks that could be treated as beta, for instance, the new VideoPress block.
Also, it adds the
(beta)text suffix that's shown in the sidebar, and also adds theBeta Extensionslabel to the block in the canvas that disappears when hovering.Disclaimer: there are some changes that we need to do with the new VideoPress Video block. Something to handle in a follow-up task.
Fixes #
Changes proposed in this Pull Request:
Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
Test the current beta blocks in different environments: local dev-env, Simple, and JN sites
Get all beta extensions by typing
betain the block inserterBeta label: