-
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
Add Send Email Preview feature #31021
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. 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/preview-email.js
Outdated
Show resolved
Hide resolved
f129afb
to
d6a8b72
Compare
3a57e43
to
7faf279
Compare
b04ac83
to
ad742f2
Compare
4cb108b
to
2f7c719
Compare
9947dc5
to
c920115
Compare
57a1a34
to
daf75d3
Compare
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 is testing as expected, and I'm signing off on that basis. Code changes look right too, but I can see that Jetpack crew already signed off on the code, and they know Jetpack much better than me.
Note: I did have an issue where /send-email-preview/ endpoint did not work initially. I had to reset permalinks to get it working. But I don't that issue is specific to this PR.
Hi @lezama ! I wouldn't use a button, the information architecture feels weird —the button component in the pre-publish panel seems to only be used for the two main actions ( What do you think? |
Looks like @manzoorwanijk did the coding.
yes, we can easily add something like the Social one has. |
Cool, thanks! I've reviewed it again, and I'm ok with using the button. A link would be less prominent, and I guess we want people to be aware they can preview the email they're going to send. Can we add Figma file (last frame on the right) |
the buttons would change who receives/access the newsletter, maybe we should add two texts? |
I don't understand this 😅 Do you mean the radio buttons? |
it confuses me that the text is not next to the button, it makes me think that the options there are just for the Preview 🤷 |
I like it better! 🤝 |
I guess we should avoid "your" here too 😁 |
Part of Automattic/wp-calypso#76134
Proposed changes:
Future iteration will use WordPress/gutenberg#50605
Other information:
Jetpack product discussion
peKye1-6z-p2
Does this pull request change what data or activity we track or use?
No
Testing instructions: