Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a blueprint to Gutenberg plugin space #67739

Closed
bph opened this issue Dec 9, 2024 · 0 comments · Fixed by #67742
Closed

Add a blueprint to Gutenberg plugin space #67739

bph opened this issue Dec 9, 2024 · 0 comments · Fixed by #67742
Assignees
Labels
Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts [Status] In Progress Tracking issues with work in progress

Comments

@bph
Copy link
Contributor

bph commented Dec 9, 2024

The Gutenberg plugin doesn't have a Playground preview button in the WordPress Repo, and it might help users trying out the latest Gutenberg version via playground.

The plugin review team published documentation on how to add a blueprint.json to the plugin SVN space:

There are two things required for a plugin preview button to appear to all users:

A valid blueprint.json file must be provided in a blueprints sub-directory of the plugin’s assets folder. /assets/blueprints/blueprint.json
The plugin preview must be set to “public” from the plugin’s Advanced view by a committer.

The blueprint would look like this: (updated from the PR)

{
	"$schema": "https://playground.wordpress.net/blueprint-schema.json",
	"landingPage": "/wp-admin/post.php?post=1&action=edit",
	"plugins": [ "gutenberg" ],
	"login": true,
	"features": {
		"networking": true
	},
	"preferredVersions": {
		"php": "latest",
		"wp": "latest"
	},
	"steps": [
		{
			"step": "setSiteOptions",
			"options": {
				"blogname": "Testing Gutenberg"
			}
		},
		{
			"step": "updateUserMeta",
			"meta": {
				"admin_color": "modern"
			},
			"userId": 1
		}
	]
}

The plugin page lists three contributors, I assume are the committers, who need to do step two. @mtias @jasmussen or @karmatosed

@bph bph added the Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts label Dec 9, 2024
@bph bph changed the title Add a blueprint to plugin version Add a blueprint to Gutenberg plugin space Dec 9, 2024
@bph bph self-assigned this Dec 9, 2024
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts [Status] In Progress Tracking issues with work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant