Jetpack AI: make the Try it out links pre-open their surface#50797
Jetpack AI: make the Try it out links pre-open their surface#50797ariskataoka wants to merge 3 commits into
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! Jetpack plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Fixes #FORNO-424
Proposed changes
post-new.php?openSidebar=jetpack-ai-assistant. The AI Assistant plugin picks the arg up on mount and opens the Jetpack sidebar with the "Improve with AI" panel expanded — same approach as the existingopenSidebar=global-styleshandling.upload.php?ai-assistant, which the Image Studio bundle already handles: it opens Generate mode and strips the param.post-new.phplink (clips live in the Image Studio flow, not the AI sidebar). All three hrefs are pinned by tests.Related product discussion/links
@ilonagl's comment
Does this pull request change what data or activity we track or use?
No.
Testing instructions
On a connected site with an AI plan and the features toggled on:
post-new.phpdirectly -> sidebar should stay closed, as beforepost-new.php?openSidebar=jetpack-ai-assistantby hand-> normal editor, no errors.