-
Notifications
You must be signed in to change notification settings - Fork 805
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
Upsell nudge: fix click Safari, disable block #40902
Conversation
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
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. Follow this PR Review Process:
Still unsure? Reach out in #jetpack-developers for guidance! Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
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.
This tests well for me. I only have a remark on the patch <> major version bump on the JS package.
@@ -0,0 +1,4 @@ | |||
Significance: patch |
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.
Since we're effectively removing something entirely from the package and since that package is published to npm, I think a major version bump may be more appropriate here, so we don't accidentally break things for folks who may use the package and who may not expect functionality to be removed with a patch release.
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.
We're just removing code, no? It's not a user facing thing that is removed? Let me know if you still think major
is appropriate here.
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.
We're only removing code indeed, but that changelog is not aimed at site owners. It is aimed at consumers of the @automattic/jetpack-shared-extension-utils
package, i.e. developers. They may be interested in knowing that a function they may have been using will be removed entirely from the package.
I would personally consider this as a major change for consumers of the package, so they'll know to be mindful before they update the package version in their apps.
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.
Thanks for the update. I just pushed 241b062 as a final tweak, so the major bump only happens in the package where we have the major change. In the other packages, we're not introducing any change that would break backward compatibility.
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.
Thank you!
Fixes Automattic/wp-calypso#96513
Proposed changes:
has-warning
class. First, it is confusing that the logic is spread over two hooks. It also allows me to only pass the class to the nestedBlockEdit
, so that the nudge is not semitransparent.trunk
.It would be nice if this nudge can be re-designed to use the block toolbar for example, instead of overriding the block content in a hacky way. Thoughts?
Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
wp-admin/site-editor.php
and edit a template.