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

Set up WordPress.org Preview #13516

Open
swissspidy opened this issue Nov 28, 2023 · 1 comment
Open

Set up WordPress.org Preview #13516

swissspidy opened this issue Nov 28, 2023 · 1 comment
Labels
P3 Nice to have Type: Task Tasks which do not involve engineering

Comments

@swissspidy
Copy link
Collaborator

swissspidy commented Nov 28, 2023

Task Description

See https://make.wordpress.org/meta/2023/11/22/plugin-directory-preview-button-revisited/ for context.

Need a custom blueprint including kitchen-sink to configure the demo.

A starting point:

{
  "$schema": "https://playground.wordpress.net/blueprint-schema.json",
  "landingPage": "\/wp-admin\/edit.php?post_type=web-story&page=stories-dashboard",
  "phpExtensionBundles": [
    "kitchen-sink"
  ],
  "steps": [
    {
      "step": "login",
      "username": "admin",
      "password": "password"
    },
    {
      "step": "installPlugin",
      "pluginZipFile": {
        "resource": "wordpress.org\/plugins",
        "slug": "web-stories"
      },
    },
    {
      "step": "setSiteOptions",
      "options": {
          "permalink_structure": "/%postname%/"
      }
    },
  ]
}

Example: https://playground.wordpress.net/?plugin=web-stories&php-extension-bundle=kitchen-sink

Possible UX blocker:

@swissspidy swissspidy added Type: Task Tasks which do not involve engineering P3 Nice to have labels Nov 28, 2023
swissspidy added a commit that referenced this issue Nov 28, 2023
@swissspidy
Copy link
Collaborator Author

Proposed blueprint from the directory:

{
    "landingPage": "\/wp-admin\/plugins.php",
    "preferredVersions": {
        "php": "8.0",
        "wp": "latest"
    },
    "phpExtensionBundles": [
        "kitchen-sink"
    ],
    "features": {
        "networking": true
    },
    "steps": [
        {
            "step": "installPlugin",
            "pluginZipFile": {
                "resource": "url",
                "url": "https:\/\/downloads.wordpress.org\/plugin\/web-stories.1.36.0.zip"
            },
            "options": {
                "activate": true
            }
        },
        {
            "step": "login",
            "username": "admin",
            "password": "password"
        }
    ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Nice to have Type: Task Tasks which do not involve engineering
Projects
None yet
Development

No branches or pull requests

1 participant