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

Launch playground for a Site Health report #991

Open
swissspidy opened this issue Jan 31, 2024 · 4 comments
Open

Launch playground for a Site Health report #991

swissspidy opened this issue Jan 31, 2024 · 4 comments

Comments

@swissspidy
Copy link
Member

Originally mentioned here, but creating an issue for increased visibility.

Background:

WordPress has this amazing Site Health feature which has proven over the years to be very useful for support. Under Tools -> Site Health -> Info -> copy to clipboard, users can copy gist of their site setup for pasting in the forums.

Support reps can use this information to spot potential issues with other plugins, either by glancing over the list or by manually trying to replicate the setup.

Suggestion:

It would be super useful for support reps if there was a way to take a Site Health report, parse it, and automatically spin up a playground instance with the same setup.

This could for example be done via a browser extension or somewhere on the playground website with an ability to paste the report and spin up WP.

@andrasguseo
Copy link

Hey @swissspidy
This sounds like a super cool idea.
I created a plugin for The Events Calendar with which you can export the calendar settings - which are saved in wp_options - in JSON format and import them on another site.
It also has a copy-paste option, so when customers share their TEC system information (basically the calendar settings), we can simply paste that, and the plugin parses it and saves the calendar options. Our support reps use this when we need to mimic customer environments.

Something like this for WordPress settings could be really useful, too.
As a feature, maybe, auto-install plugins, which are available from .org? Potentially with their saved settings?

@nikolas4175-godaddy
Copy link

nikolas4175-godaddy commented Feb 2, 2024

👋 I've been looking into something similar within the WooCommerce context where Woo exposes a system status report via API (docs) that gives similar site info.

Not having access to premium plugins and themes is a pretty strong limitation in that case as these are especially common on Woo sites, but of course that issue exists for manual re-creations as well (not specific to playground).

That to say, a text-to-site import might make more sense from a broader WP perspective where the .org repo accounts for a higher percentage of site files, so a +1 that this would be great to see, perhaps with Settings API integration for plugins to expose a portable config as well.

@adamziel
Copy link
Collaborator

adamziel commented Feb 29, 2024

The site health feature is now enabled in Playground 🎉 You can try it out here:

https://playground.wordpress.net/?networking=yes&url=/wp-admin/site-health.php?tab=debug

The support is not full yet as Playground does not support PHP making HTTP requests to itself (e.g. wp_safe_remote_get("https://playground.wordpress.net/scope:0.0875753914918784/index.php?rest_route=%2Fwp%2Fv2%2Ftypes%2Fpost&context=edit"), which is something the Site Health report does. Once that feature is supported, the site health report should be fully functional.

This isn't directly related to the core of this issue which is to start Playground based on an existing site health report, but I felt it was relevant to share here anyway.

@adamziel adamziel added this to the Innovative Developer Tools milestone Feb 29, 2024
@flexseth
Copy link
Collaborator

Added site health report info into the PRs submitted for review for issue templates

Playground online

Playground Tools repo issues

@adamziel adamziel moved this to Future work in Playground Board Jun 30, 2024
@adamziel adamziel removed this from the Innovative Developer Tools milestone Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

5 participants