feat: add WordPress Playground blueprint with demo users#8
Merged
josephfusco merged 1 commit intomainfrom Apr 6, 2026
Merged
Conversation
7dbf09b to
6b9671b
Compare
There was a problem hiding this comment.
Pull request overview
Adds a WordPress Playground blueprint and ensures the demo user seeder is shipped with production builds, making it easier to spin up a live demo environment.
Changes:
- Added
blueprint.jsonto install the plugin in WordPress Playground and seed 5 demo users via WP-CLI. - Moved/pointed the demo seeder to
includes/cli/so it’s available in production zips and referenced by the CLI command. - Added a WordPress Playground link to the README.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds a Playground link for quick testing. |
| phpstan.neon.dist | Updates PHPStan scan path to the new demo seeder location. |
| includes/cli/demo-seeder.php | Formats/ships the demo seeder in the production code path. |
| includes/cli/class-wp-presence-cli-command.php | Updates the CLI command to require the seeder from includes/cli/. |
| blueprint.json | New Playground blueprint to install the plugin and run wp presence demo 5. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
6b9671b to
15a897c
Compare
Remove demo CLI command from production plugin. Demo seeder stays in tests/e2e/ and is excluded from the release zip. Blueprint fetches it from GitHub at runtime via writeFile. Playground link added to README.
15a897c to
a1ed56a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move demo seeder from tests/e2e/ to includes/cli/ so it ships in the production zip. Blueprint uses wp-cli step to seed 5 demo users. Playground link added to README.