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

Create reusable demo data #649

Closed
1 task done
carstingaxion opened this issue Apr 29, 2024 · 8 comments · Fixed by #779
Closed
1 task done

Create reusable demo data #649

carstingaxion opened this issue Apr 29, 2024 · 8 comments · Fixed by #779
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@carstingaxion
Copy link
Collaborator

carstingaxion commented Apr 29, 2024

Let’s create a WordPress import file with typical event-data!

Is your enhancement related to a problem? Please describe.

I’d like to create a blueprint.json to create a playground with my block variation experiments.

A set of prepared demo data would be nice, because it makes showcasing much easier, when everybody on the team knows the used data already.

This could additionally be used:

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

UPDATE: Merged all my comments into the issue-description and deleted the comments.

@carstingaxion carstingaxion added the enhancement New feature or request label Apr 29, 2024
@carstingaxion
Copy link
Collaborator Author

carstingaxion commented Apr 30, 2024

Some first-try demo data is already available at

https://github.com/carstingaxion/gatherpress-demo-data/blob/main/GatherPress-demo-data-2024.xml

But because it is so super-easy to update the existing set or create a totally new one, everybody is invited to extend the demo-data.

More information can be found in the README and the Create demo-data issue

@carstingaxion
Copy link
Collaborator Author

carstingaxion commented Jun 13, 2024

I would call this working @mauteri .

To update the demo-data:


  1. Open a Playground
    with the demo-data, that is referenced in every GatherPress Playground.
  2. Create, edit & save the data
  3. Export the xml to the Playground
  4. Create a PR from inside the Playground
  5. Merge the PR
Bildschirmaufzeichnung.vom.12.06.2024.17.15.23.mp4

@carstingaxion carstingaxion added this to the 0.30.0 milestone Jun 13, 2024
@carstingaxion
Copy link
Collaborator Author

If you like it 👍 , you can create a new repository from my new template repository for your own tests, in isolation from GatherPress.

https://github.com/carstingaxion/crud-the-docs-playground

@carstingaxion carstingaxion mentioned this issue Jun 13, 2024
1 task
@carstingaxion
Copy link
Collaborator Author

Note to self:

Invite members of the GatherPress slack to add their planned upcoming and their visited past WordCamps or related events to the set of demo-data via a Playground-powered-PR.

@MervinHernandez
Copy link
Collaborator

✅ Viewed 649 - Carsten has it

@MervinHernandez
Copy link
Collaborator

Hi @carstingaxion regarding this ticket - is our end goal a. to include a mention to your playground in our docs, or b. to include demo data in the plugin core and activation workflows?
To that end, what is the PR we need to compose to achieve this tickets' goal?

@carstingaxion
Copy link
Collaborator Author

Hi @carstingaxion regarding this ticket - is our end goal a. to include a mention to your playground in our docs, ...

No, I don't think so.
I thought that my repo could be migrated into the GatherPress organisation, when it is ready.

...or b. to include demo data in the plugin core and activation workflows? ...

Yes and No, Yes, because I would propose using the demo-data xml with the Plugin Preview on w.org. To make this work the default blueprint.json needs to run an importWxr step against the file. And No, because it should not be loaded on plugin activation or anything on the user side.

Like I described in my initial comment here and in #663 , there are plenty of possibilities for a plugin like GatherPress to create different Playgrounds. A shared set of demo-data can help here, I thought.

... To that end, what is the PR we need to compose to achieve this tickets' goal?

@mauteri & me talked about that recently. To achieve this goal, the carstingaxion/gatherpress-demo-data should be migrated to GatherPress.

@carstingaxion
Copy link
Collaborator Author

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

2 participants