-
-
Notifications
You must be signed in to change notification settings - Fork 9k
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
[JENKINS-75350] Displays plugin health score in Plugin Manager #10351
base: master
Are you sure you want to change the base?
[JENKINS-75350] Displays plugin health score in Plugin Manager #10351
Conversation
On Plugin site the values are given in % so I would do this here as well |
Why should no score values be shown when at least on plugin is missing it? Can't we then just show |
This needs a corresponding (also conditional) change below
|
I suggest you consider adding this information to https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/PluginManager/installed.jelly -- while not as straightforward, it would help admins decide continued use of already installed plugins, especially on longer-lived instances. (If too scope-creepy, could also be added later.) |
Yes definitively. For now, I'm not "happy" with how the value are shown but couldn't think of a good way to do it. I opened the pull request so that we can discuss about it, see if we want plane values or using a card..
@mawinter69 when a instance has a custom plugin for example. Some company have developed in-house plugins and those won't have any scores. I didn't think about the
As the column definition is done in the Jelly file but I couldn't find a way to test either or not we would have the health score in it, we could have a "grey" cell when there is no health score to display.
It is my intention to have it there and in |
Potentially a chip pattern sort of thing? https://m2.material.io/components/chips There's this but might be a bit much: https://weekly.ci.jenkins.io/design-library/banner/ |
See JENKINS-75350.
I'm trying to display the plugin health score within the plugin manager of Jenkins.
This is using jenkins-infra/update-center2#840.
Screenshot
Testing done
I ran an instance locally, in development mode, using a classic update-center, one generated from jenkins-infra/update-center2#840 and one where I removed some of the plugins scores.
This allowed me to see that I have the same behaviour with current update-center, that I can display score when all the plugins have one and don't display it when at least one plugin doesn't have one.
Proposed changelog entries
Proposed changelog category
/label major-rfe
Proposed upgrade guidelines
N/A
Submitter checklist
@Restricted
or have@since TODO
Javadocs, as appropriate.@Deprecated(since = "TODO")
or@Deprecated(forRemoval = true, since = "TODO")
, if applicable.eval
to ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@daniel-beck @timja @janfaracik
Before the changes are marked as
ready-for-merge
:Maintainer checklist
upgrade-guide-needed
label is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidate
to be considered (see query).