[wp-meta] [Making WordPress.org] #7251: Add a Preview in Playground button to the plugin directory
Making WordPress.org
noreply at wordpress.org
Sat Oct 7 09:39:28 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 maartenbelmans):
Replying to [comment:62 dmsnell]:
> What fun and challenge here. This stuff is hard, and thanks everyone for
both making this possible and for everyone who highlighted its impact on
yourselves and others.
>
> @tellyworth I wonder if we could look for something like `registry-
preview-blueprints.json` in a plugin’s root dir, and if it exists, link it
to the button. That way, there’s no need to toggle a setting in an admin
panel; the opt-in is someone choosing how they want to present their
plugin. What do you all think about that idea?
>
My concern is: do we want to load the admin plugin screen if someone
clicks “Live Preview”. Most plugins are front-facing and users may expect
a demo page showcasing the plugin’s capabilities rather than the WP admin.
If we go through with this idea, I think it would be great if plugin
authors can decide which URL goes behind the button. It could be the
playground, but also a privately hosted demo site (like many plugins
already link to in the description).
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7251#comment:64>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list