Refine post-publish podcast promo modal#48950
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 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! |
Code Coverage SummaryThis PR did not change code coverage! That could be good or bad, depending on the situation. Everything covered before, and still is? Great! Nothing was covered before? Not so great. 🤷 |
| Button, | ||
| Modal, |
There was a problem hiding this comment.
You could consider Dialog and Button from @wordpress/ui though would be good to get package updated first (#48404) since there are a few fixes to Dialog in latest.
There was a problem hiding this comment.
Nice, I'll hold off until that gets merged.
There was a problem hiding this comment.
This might break in future package updates (i.e. I wouldn't trust the CSS in the components as a stable API).
There was a problem hiding this comment.
Partially addressed. I removed the custom sizing/border/header button styling, but kept some minimal CSS overrides because the alternative would be to use the __experimentalHideHeader prop which seems less stable to me.
There was a problem hiding this comment.
ah in practise all those __experimentalHideHeader have been stable since they weren't unlocekd with lock()/unlock() mechanisms in Gutenberg, so I wouldn't worry about using it. :-) The new component from @wordpress/ui might also have what you need.
b628784 to
6155526
Compare
6155526 to
12a1961
Compare
Fixes #
Proposed changes
TextandVStackcomponent primitives for its copy/layout.Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
/wp-admin/upload.php?page=create-ai-podcast.