-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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-72947] Support symbols in TopLevelItemDescriptor#getIconClassName()
#9127
Conversation
…sName() When adding a new Item via `newJob` the corresponding Decriptor can now make use of symbols
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.
TopLevelItemDescriptor#getIconClassName()
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 a lot!
/label ready-for-merge This PR is now ready for merge. We will merge it after ~24 hours if there is no negative feedback. |
When adding a new Item via
newJob
the corresponding Descriptor can now make use of symbolsAs a sample I modified the freestyle project to use a new symbol (svg source: https://www.svgrepo.com/svg/151600/package)
The image shows the old page layout with manual modifying the css in the browser
Alternate icon from @janfaracik with new layout
See JENKINS-72947.
Testing done
Manual testing opening
newJob
in root and in a folderAdded a new test that check svg is inserted and has proper class
icon-xlg
Adjusted test for old iconClassName
Proposed changelog entries
newJob
pageProposed upgrade guidelines
N/A
Submitter checklist
Desired reviewers
@mention
Before the changes are marked as
ready-for-merge
:Maintainer checklist