-
Notifications
You must be signed in to change notification settings - Fork 76
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
Update <select>
config appearance
#202
Conversation
this will need to upgrade the pom value |
Apologies, bit of a novice in this area. Is this still necessary if this PR still works/performs the same way on current LTS Jenkins? |
no worries. |
Any thoughts on this @timja? |
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.
@janfaracik Jenkins plugins use the version defined in the jenkins.version
as the minimum version of Jenkins it's compatible with.
Historically maintainers did not like bumping it too high as people not up to date wouldn't get updates.
That's changed a bit in the last year or two, people seem to have decided that the people updating will get updates and critical fixes can always be backported to the old line.
Basically either you need to make sure it works on old versions of core and new versions.
Either by applying both stylings or version / feature detection
Or bump the minimum version up.
This plugin could certainly do with a minimum version bump but given how trivial it is to keep compatibility probably doesn't need to be done in this PR
</j:forEach> | ||
</select> | ||
<div class="jenkins-select"> | ||
<select class="jenkins-select__input" name="durabilityHint"> |
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.
This change appears to be backwards and forwards compatible
<select class="jenkins-select__input" name="durabilityHint"> | |
<!-- TODO Remove setting-input when baseline above 2.335 --> | |
<select class="jenkins-select__input setting-input" name="durabilityHint"> |
Thinking aloud is there not a tag built into Jenkins for this? Why is this writing plain HTML ? |
see #205 |
This PR updates the
<select>
config appearance to use the new classes introduced in Jenkins #5923.Before

After

Just a heads up that the pre-existing
tooltip
attribute seemingly doesn't do anything on<option>
, tried it on Safari and Chrome.Cheers.