-
Notifications
You must be signed in to change notification settings - Fork 244
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
Refer to icons using classes instead of filenames #248
Conversation
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 to me, but it works as well on a lower baseline such as 2.277, based on my testing.
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.
Other than the BOM mistake, seems OK in principle, assuming it has been tested and indeed works as expected both on the newly lower baseline and on current weeklies. The icon class change seems right; the baseline version change seems unnecessary, especially given that we are already accommodating current plugin releases in jenkinsci/bom#691.
@@ -12,7 +12,6 @@ | |||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | |||
inkscape:export-ydpi="90" | |||
inkscape:export-xdpi="90" | |||
inkscape:export-filename="/Users/stephenc/src/plugins/cloudbees-registration-plugin/src/main/webapp/images/48x48/credentials.png" |
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.
Fine, but why here?
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 OK. Not tested.
CI problem with Artifactory, trying to trigger a fresh build (for some reason the gesture on the Checks tab is not working)… |
If checkout fails then blue ocean replay and checks re-run doesn't work. Needs a build now clicked or this |
SVG icons from core (added in #230 ) can be referenced by class instead of depending on file location in core. That should be more future-proof and seems to be the preferred way.