[wp-meta] [Making WordPress.org] #7251: Add a Preview in Playground button to the plugin directory

Making WordPress.org noreply at wordpress.org
Thu Oct 5 21:05:47 UTC 2023


#7251: Add a Preview in Playground button to the plugin directory
-----------------------------------+-------------------------
 Reporter:  tellyworth             |       Owner:  tellyworth
     Type:  enhancement            |      Status:  accepted
 Priority:  normal                 |   Milestone:
Component:  Plugin Directory       |  Resolution:
 Keywords:  needs-design-feedback  |
-----------------------------------+-------------------------

Comment (by ibenic):

 As others have stated, I am also for the "opt-in" approach.

 For now, this could be done by having a tag "has-preview" in the readme
 file of the plugin.

 My guess, this could be the fastest way to implement this and
 conditionally show the button.

 For further implementation and enabling extensions to have previews (such
 as an add-on for WooCommerce), I'd propose an idea to think about and
 discuss:

 As we have theme.json now, why wouldn't we try to have a plugin.json which
 could be used there or a playground.json.

 In such json, we can define which plugins needs to be installed for this
 plugin to work and then also have a way to configure each plugin so that
 some installation wizards of other plugins won't be shown and such.

 I do understand this is a complex thing to solve and that it would require
 some way of validating the data in such json so it might require lots of
 work.

 But something to think about.

 For now, the tag approach might work the best.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7251#comment:41>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list