Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 799 forks source link

Plugin Directory improvements: add "Live Preview" button #34328

Open jeherve opened 10 months ago

jeherve commented 10 months ago

The WordPress.org Plugin Directory is currently testing a new optional "Live Preview" button, powered by WP Playground. That button will appear when you've committed a blueprint.json file in assets/blueprints in the plugin's SVN. -- Plugin Directory: Preview button revisited

That blueprint file offers a few options that could be interesting to automatically set up our plugins for a demo:

Let's consider the steps needed for us to prepare the Jetpack plugin for a demo.


Related discussions:

anomiex commented 10 months ago

From a monorepo perspective, the file should be created at projects/plugins/jetpack/.w.org-assets/blueprints/blueprint.json, then run tools/deploy-assets-to-svn.sh jetpack to upload it to SVN. The same can be done for any of our other monorepo plugins.

jeherve commented 10 months ago

Related discussion: pZbK5-7UX-p2