WordPress / wordpress-playground

Run WordPress in the browser via WebAssembly PHP
https://w.org/playground/
GNU General Public License v2.0
1.65k stars 261 forks source link

UI to install WordPress plugins on Playground.wordpress.net #170

Closed adamziel closed 3 weeks ago

adamziel commented 1 year ago

Let's add UI to install WordPress Plugins on playground.wordpress.net. It may or may not be similar to the one we already have for selecting specific PHP and WP versions (thanks to @elchead):

CleanShot 2023-03-24 at 17 15 57@2x

Technically, that UI only needs to reload the page with one more plugin parameters, e.g. &plugin=coblocks&plugin=friends. The challenge here is creating an ergonomic user experience.

A good starting point is this file rendering the entire Playground.wordpress.net website:

https://github.com/WordPress/wordpress-playground/blob/413d07f1ac04fd52846fddec6906677e3a1d2a4e/packages/playground/website/src/main.tsx#L52

Done is:

cpapazoglou commented 1 year ago

Some ideas:

cpapazoglou commented 1 year ago

Another idea:

dmsnell commented 1 year ago

oh actually the settings view is a lovely idea, made accessible to all kinds of instances vs. having a specific page.

adamziel commented 1 year ago

Just noting we have this modal now – should make things easier:

CleanShot 2023-06-23 at 17 27 08@2x
adamziel commented 3 weeks ago

Instead of doing more custom UI, let's focus on creating a Blueprints builder and integrating it with playground.wordpress.net. It could eventually become the UI control for the settings view.