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

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

Closed
adamziel opened this issue Mar 24, 2023 · 6 comments
Closed

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

adamziel opened this issue Mar 24, 2023 · 6 comments

Comments

@adamziel
Copy link
Collaborator

adamziel commented Mar 24, 2023

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:

const SupportedWordPressVersionsList = ['6.2', '6.1', '6.0', '5.9'];

Done is:

  • A UI control for adding plugins exists
  • It works well on mobile
@adamziel adamziel added the UI/UX label Mar 24, 2023
@adamziel adamziel added [Type] Enhancement New feature or request Good First Issue Good for newcomers React labels Jun 2, 2023
@adamziel adamziel changed the title Plugin selector UI to install WordPress plugins on Playground.wordpress.net Jun 2, 2023
@adamziel adamziel mentioned this issue Jun 5, 2023
@cpapazoglou
Copy link

Some ideas:

  • We can use react-select to render a multiple selection list of plugins https://react-select.com/home
  • Use the async feature of react-select to search and list results from .org plugins repo
  • Reload the browser with the selected plugins eg &plugin=coblocks&plugin=friends ( as suggested )
  • Populate the selected plugins in the dropdown as the selected state - making it easier to choose one more plugin

@cpapazoglou
Copy link

Another idea:

  • Add a "settings" component
    CleanShot 2023-06-08 at 11 57 59@2x
  • Clicking on "settings" it would popup a modal where you selected plugins are displayed and you can search for more ( search would trigger an API call to https://api.wordpress.org/plugins/info/1.1/?action=query_plugins&request%5Bsearch%5D=coblocks )

@dmsnell
Copy link
Member

dmsnell commented Jun 8, 2023

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

@adamziel
Copy link
Collaborator Author

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

CleanShot 2023-06-23 at 17 27 08@2x

@adamziel
Copy link
Collaborator Author

adamziel commented Oct 25, 2024

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.

@adamziel adamziel closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2024
@ajitbohra
Copy link
Member

Plugin / Theme picker exploration in Block based blueprint builder #1755 #2008

Screen.Recording.2024-11-22.at.10.24.04.AM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants