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
Distinguish between new/aborted/disabled by ball color #3997
Conversation
I suppose it's only slightly related, but you can likely just use SVG now as all web browsers support it. No need for rasterized copies. |
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 would rather prefer something like #3320 (comment) instead of just adding more colors, but it is definitely a step forward. At least the balls now can be customized in Simple Theme plugin or in plugins like Green Balls.
They always could…? I am not introducing new files. Just the legend screen was weird. |
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.
Thanks @dbekel ! Really useful PR IMO
@@ -40,6 +40,8 @@ | |||
public static final Color YELLOW = new Color(0xFC,0xE9,0x4F); | |||
public static final Color BLUE = new Color(0x72,0x9F,0xCF); | |||
public static final Color GREY = new Color(0xAB,0xAB,0xAB); | |||
public static final Color DARK_GREY = new Color(0x77,0x77,0x77); | |||
public static final Color LIGHT_GREY = new Color(0xcc,0xcc,0xcc); |
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.
Oh, so it's this file that causes weird GUIs to appear in macOS.
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.
@jvz WDYM?
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.
There seems to be a bug on macOS where referencing any AWT classes in a headless application will spawn a minimal GUI environment which is pretty much just an icon in the dock along with an application menu at the top. It steals focus from you while running the tests because macOS has yet to discover the joy of not allowing focus stealing. >:(
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'm not super familiar with the features of SVG, but is it possible to use a single SVG for the balls and use CSS to choose the color?
I'm not going to figure out how to translate the animated icons into SVG for this, and without those, there's barely any benefit to that. |
|
@jvz Feel free to amend this or propose a replacement PR. |
Animation can be done for raster images or SVGs on client side, quick demo Coloring from CSS works when you inline the SVG but (AFAIK) not for
sounds tricky. |
Maybe we could integrate it as is and create a follow-up ticket for enhancement which could be done by experts |
Yup. Would like to mention this is a strict improvement over today even if the orbs are ugly, since the legend is now properly split up. |
Un-on-holding, as that was to get clarification about the Mac UI comment; it's unrelated to this PR. |
Should we land it into the weekly since it gets delayed? |
It's out now, so feel free to merge towards the next. |
OK, let's integrate it so that we start building a new weekly. Will merge it tomorrow if there is no negative feedback |
@stefandrissen This is not where you report bugs, please use our issue tracker for that. |
Implement suggestion from #3320 (comment). Minimally tested.
Try this PR:
docker run --rm -ti -p 8080:8080 -e ID=3997 jenkins/core-pr-tester
Legend
List view
Proposed changelog entries
Submitter checklist
* Use the
Internal:
prefix if the change has no user-visible impact (API, test frameworks, etc.)Desired reviewers
@Ka-Wing