-
-
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-71326] - Support colored badges in breadcrumb dropdown #8853
[JENKINS-71326] - Support colored badges in breadcrumb dropdown #8853
Conversation
Yay, your first pull request towards Jenkins core was created successfully! Thank you so much! |
Replaces #8798 |
Yes, I did not notice the gradient on my tests, the animation I didn't replicate because I was not sure if this was intentional or not. But this was something that bothered me a little, having the same component replicated in multiple files, although it was previous behavior. It seemed like a bigger change and I didn't know the best way to do it. I will try your suggestion. Thanks. |
…ating a badge jelly view.
I pushed another commit with changes, can you please take a look? Now there is a jelly that is used on Manage screen and on the side menu, but the dropdown is loaded directly on javascript through ajax so I was not able to use the same jelly view on that one. (but I used the same CSS class on it) |
core/src/main/resources/hudson/model/ManageJenkinsAction/index.jelly
Outdated
Show resolved
Hide resolved
…ing class attribute to the badge jelly.
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.
tested locally and it looks good
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.
You forgot to run cd war/ ; yarn run lint:fix
.
Co-authored-by: Alexander Brandes <brandes.alexander@web.de>
…t and license Fix
Sorry, just fixed. I applied the suggestion of "@SInCE TODO", when the TODO will be replace by the version? Is it in the pipeline? |
That happens when a maintainer runs the https://github.com/jenkinsci/jenkins/blob/master/update-since-todo.py |
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 fine security wise
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, looks nice :)
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.
/label ready-for-merge
This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback.
Thanks!
Congratulations on getting your very first Jenkins core pull request merged 🎉🥳 |
See JENKINS-71326.
To solve the problem I had to:
1-Update the backend to expose the badge severity field to the API used by dropdowns.
2-Update the dropdown and side menu to use the badge severity to set the corresponding CSS class.
3-Update the CSS files so that the badge in the dropdown and side menu behaves similarly to the normal menu.