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

Allow install of other plugins #2292

Open
1 task
nataliecarey opened this issue Aug 15, 2023 · 1 comment
Open
1 task

Allow install of other plugins #2292

nataliecarey opened this issue Aug 15, 2023 · 1 comment

Comments

@nataliecarey
Copy link
Contributor

nataliecarey commented Aug 15, 2023

What

Add the option for users to install plugins that aren't in our list. They should be able to install from:

  • npm
  • local file system
  • github

This can be achieved by having a text input that gets passed straight onto the npm install command, therefore we can just prefix the user's input with npm install. The only check we need to do is to make sure there's no spaces so they're only installing one dependency at a time (to allow our checks to work as usual).

Our usual install process with dependency checking should be followed.

Why

This will help users who want to install plugins we haven't added to our list, it will also help contributors who are trying to install pre-releases as they will be able to see the process users will go through once it's released.

Who needs to work on this

  • Designer
  • Developer

Who needs to review this

  • Designer
  • Developer

Done when

  • Users can install plugins which aren't in our list via the UI
@joelanman
Copy link
Contributor

Designs for this:

On the Find Plugins page, add a link to the bottom of the list:

Find plugins

The page itself:

Install a plugin that is not on the list

Figma file:

https://www.figma.com/file/sWnqT4u4uup91TuTe9T3tp/GOV.UK-Prototype-Kit?type=design&node-id=321-2&mode=design&t=UGH1LeuuhIUEpQnf-0

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

No branches or pull requests

2 participants