-
Notifications
You must be signed in to change notification settings - Fork 798
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
Subscriptions: Adapt message based on Publicize status #28867
Conversation
Are you an Automattician? You can now test your Pull Request on WordPress.com. On your sandbox, run
to get started. More details: p9dueE-5Nn-p2 |
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:
|
projects/plugins/jetpack/extensions/blocks/subscriptions/panel.js
Outdated
Show resolved
Hide resolved
projects/plugins/jetpack/extensions/blocks/subscriptions/panel.js
Outdated
Show resolved
Hide resolved
projects/plugins/jetpack/extensions/blocks/subscriptions/panel.js
Outdated
Show resolved
Hide resolved
Co-authored-by: Jeremy Herve <[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.
Tests are failing at the moment so we will not be able to merge this :(
Although they're not related to your change, I guess you're the first one touching the Subscribe block since that error was added in.
Related: #20357
You tried to opt-in to unstable APIs as module "@wordpress/block-editor" which is already registered. This feature is only for JavaScript modules shipped with WordPress core. Please do not use it in plugins and themes as the unstable APIs will be removed without a warning. If you ignore this error and depend on unstable features, your product will inevitably break on one of the next WordPress releases.
3 | import { serialize } from '@wordpress/blocks';
4 | import { select, dispatch } from '@wordpress/data';
5 | import { store as editorStore } from '@wordpress/editor';
| ^
6 | import { flatMap, throttle } from 'lodash';
7 | import { SUPPORTED_CONTAINER_BLOCKS } from '../components/twitter';
8 |
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.
I tested this and this works as intended. Nice job @danielbachhuber!
@jeherve Is that a blocking failure? Can we silence it for now, and handle in a follow-up PR? |
The test is a required one, yes, and it started failing with your PR since you're bringing in a new dependency that relies on |
Some additional conversation in Slack p1682979912865289-slack-C9EJ7KSGH |
Punting on this. |
From p1675793272904399-slack-C9EJ7KSGH
Related #28725
Proposed changes:
Adapts the 'Newsletter' panel message based on whether the post will be shared on social.
Publicize enabled
Publicize disabled
Publicize disabled post-publish
Other information:
Jetpack product discussion
See p1675793272904399-slack-C9EJ7KSGH
Does this pull request change what data or activity we track or use?
N/A
Testing instructions:
jetpack build plugins/jetpack
andjetpack rsync jetpack <host>
to sync the change to your sandbox.