-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Modernize build status and weather icons #5065
Conversation
Looks great! I've got some quick feedback before being able to take a deeper look into it:
Amazing PR anyway 🎉 |
Is there no way we can make it backwards compatible and not require changes plugin-side? There are quite a few Plugins that do use IconSet |
yeah I haven't really worked on the /manage side yet, that was just a quick 5 minute job. It can definitely be fixed just a POC atm. I expect changes on plugin side will still be needed to start using svgs, but it'll be backwards compatible, as in they can keep using pngs / gifs if they want |
Got it 🎉 |
…nline-icon-set-lib
the diff of just this PR can be seen at: timja#29 |
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.
The current state is a reasonable start that doesn't look unfinished more than it needs to.
Everything that's currently slightly off (see previous comment) should be straightforward enough to amend without requiring any expensive drawing of new icons, so 👍 from me.
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 good in the PR tester. Note that the status icons are also used in Job type logos. Would be nice to eventually update them.
Compatibility notes
The change makes the Green Balls plugin defunct because of the filter implementation in https://github.com/jenkinsci/greenballs-plugin/blob/master/src/main/java/hudson/plugins/greenballs/GreenBallFilter.java . It is not a blocker in any means, but it worth documenting the impact in the upgrade guidelines (that the plugin can be disabled, unless it is adapted to the new format). CC @nfalco79
Green balls is no longer needed after this change really, this implements what the plugin does in core at least for the 'balls' |
I see from screenshot the plugin provides green checks for passed build so the "Green Balls" plugin became useless |
Yeah. Greenballs equivalent could become a part of the "Classic Jenkins
Theme" if someone creates it
…On Mon, Mar 8, 2021 at 11:28 AM Nikolas Falco ***@***.***> wrote:
I see from screenshot the plugin provides green checks for passed build so
the "Green Balls" plugin became useless
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#5065 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAW4RIFGT2I46BDYEMOOS23TCSRDHANCNFSM4T5AJ5JQ>
.
|
icons.addIcon(new Icon("icon-secure icon-lg", "32x32/secure.png", Icon.ICON_LARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-setting icon-lg", "32x32/setting.png", Icon.ICON_LARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-star-gold icon-lg", "32x32/star-gold.png", Icon.ICON_LARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-star icon-lg", "32x32/star.png", Icon.ICON_LARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-user icon-lg", "32x32/user.png", Icon.ICON_LARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-yellow icon-lg", "32x32/yellow.png", Icon.ICON_LARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-user icon-lg", "32x32/user.gif", Icon.ICON_LARGE_STYLE)); |
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.
icons.addIcon(new Icon("icon-installer icon-xlg", "48x48/installer.png", Icon.ICON_XLARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-lock icon-xlg", "48x48/lock.png", Icon.ICON_XLARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-monitor icon-xlg", "48x48/monitor.png", Icon.ICON_XLARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-network icon-xlg", "48x48/network.png", Icon.ICON_XLARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-nobuilt icon-xlg", "48x48/nobuilt.png", Icon.ICON_XLARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-notepad icon-xlg", "48x48/notepad.png", Icon.ICON_XLARGE_STYLE)); | ||
icons.addIcon(new Icon("icon-notepad icon-xlg", "48x48/notepad.gif", Icon.ICON_XLARGE_STYLE)); |
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.
I have just seen that we forgot to change BallColor as well. |
What would get changed there? I think I remember you mentioning in a ux-sig meeting at some point that it was used to build a palette somewhere. |
At least
|
The new ones aren't images though they are styled svgs, possibly the old APIs need deprecating and new ones created, should be tracked in Jira as a follow up enhancement I think |
I just upgraded Jenkins to 2.283 and I can't say I'm a fan of this change. Before, I can easily tell the icons from each other at a glance since they have different colors: Now it's just the same shade of blue: Can we make these icons have different colors please? Or add an option to have the old icons back. There are serious usability issue with the new icons when they're all the same color. |
Agree with @chinhodado, I love the new build status icons but the weather ones need some color variation, even just a little. Edit: Maybe just make the clouds gray and increasingly darker gray as they get worse? They are storm clouds after all 🌧️ |
Please provide feedback for changes through the issue tracker. |
@daniel-beck the ticket linked in the PR is |
@apottere Yes, please, if there isn't one already. |
Please let me have the old icons back. |
See JENKINS-XXXXX.
Try me out with:
Proposed changelog entries
Proposed upgrade guidelines
Green Balls Plugin is no longer compatible with the new icons. If you use the plugin on your instances, it can be disabled or removed.
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgradeDesired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are correctupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).