-
Notifications
You must be signed in to change notification settings - Fork 237
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
Build the enhanced plugin page #2305
Conversation
965711c
to
1cb0ec0
Compare
29f360f
to
3dbdc9a
Compare
I'm curious about the search rules... Would users expect Would users expect Would users expect These cases would be catered for if we both include the metadata in the search logic and search for each word individually rather than the complete string. (I don't think this is necessary for a first release but I think it's worth discussing) As this hasn't yet been exactly defined, I went with what I thought was correct for now based on the name of each plugin, not any of the meta data. What do you think @joelanman and @oli-rose28? |
@@ -33,7 +33,7 @@ const { | |||
postPluginsStatusHandler, | |||
postPluginsModeMiddleware, | |||
getPluginsModeHandler, | |||
postPluginsModeHandler | |||
postPluginsModeHandler, postPluginsHandler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be good to put this on a new line for consistency.
lib/plugins/plugin-utils.js
Outdated
assets: ['/dist'] | ||
assets: ['/dist'], | ||
meta: { | ||
description: 'Add the jQuery JavaScript library to your prototype' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This description is written as a description of what would happen if a user installs it rather than a description of what jQuery itself is. I think we should use:
jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
(that's taken from their homepage)
In the design the installed plugins also display in the "find plugins" section with a tag to say "installed". Was changing that an intentional decision? |
I worked with @joelanman on this. The designs were not complete and so for an MVP, this is what we have and it can be extended later. |
0707103
to
1d5968b
Compare
@@ -487,10 +488,46 @@ body .govuk-prototype-kit-manage-prototype-govuk-tag { | |||
width: 15% | |||
} | |||
|
|||
.govuk-prototype-kit-manage-prototype-plugin-badge{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is unused, can you remove it please?
margin-left: 10px; | ||
} | ||
|
||
.govuk-prototype-kit-manage-prototype-plugin-updates-message { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also not used (see above)
background-color: #fff; | ||
} | ||
|
||
.govuk-prototype-kit-manage-prototype-plugin-links-section{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also not used (see above)
46af372
to
f348335
Compare
See #2298
Changes included:
/plugins-installed
routeChanges not included: