-
Notifications
You must be signed in to change notification settings - Fork 275
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
Make playground.wordpress.net a Showcase and the Developer Hub #1845
Comments
Having access to the Playground documentation and some other useful links directly sounds like a great way to discover features. Initially, I was worried that this would be a case where we would modify how WordPress works out of the box. This also got me thinking about the Add Site form. What if that form had a theme selector? The selector could offer the Playground theme, and default WordPress themes out of the box. If you select a theme, your selection could be stored and used automatically in the future. If this behavior isn't obvious we could offer the user to save the Add Site settings as default, similarly to how you can check that a new credit card should be used as the default in the future. We could even store all themes the user used to load Playground and add them to the list, so if for example you test with Storefront a lot, it would appear in that dropdown and you could use it as the default. |
We're not far from being able to do this. Technically, it's no different than #1524. Once we finish tweaking the website UI and merge a better git support, this should be a matter of moving the content to git and crafting a Blueprint. |
We can now load content from git via a Blueprint. I played with a WP.org clone in Playground here: https://playground.wordpress.net/?import-site=https%3A%2F%2Fraw.githubusercontent.com%2Fadamziel%2Fplayground-sites%2Fmain%2Fwporg-clone%2Fplayground.zip @akirk what would you put in that dev hub specifically? Developer documentation from Playground? In your mind, does it come with ability to easily contribute to the docs, e.g. by just editing the WordPress pages? |
Poke @akirk |
I've played around with this for a bit and it is surprisingly hard to accomplish:
So, I'm considering if we could use just use a blueprint that will take the media from a ZIP file using an addMedia step, fonts from a ZIP file (an addFonts step I hav yet to create) and generate the posts from a Step Library addPost step. |
The data-liberation importer will solve for rewriting URLs, parallel assets downloading, and even the data storage format (.html or .md). Let's explore that on our call tomorrow |
Right now, if you go to playground.wordpress.net you can experience a fresh WordPress. This is a great tech demo, but you need someone to explain it to you. We also have https://wordpress.org/playground to explain it. Then there are developer docs at https://wordpress.github.io/wordpress-playground/developers/
What if we combined this all on playground.wordpress.net by loading a WordPress with all of that content? Some sample screenshots:
It would be great if updating the website could be done by modifying the site and then creating a PR to submit that modification. This could encourage documentation contributions (since it's so easy to edit that you just use WordPress inside Playground) and showcase that you can issue PRs directly from Playground.
The embedded WordPress would include:
It should be possible to link sub-pages on playground.wordpress.net. Say you dig down into the docs, you should be able to share the link and they should then arrive on that subpage (i.e. expose the current URL inside playground using a hash in the playground.wordpress.net URL).
The text was updated successfully, but these errors were encountered: