-
-
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-64972] Help-buttons are not working when they are at the top of draggable div #5316
Conversation
… of draggable div The 'dd-handle' div will make all events in that div (e.g. click event of a button) not triggered, so I move the help-button out of the 'dd-handle' div. In order to make the button still at the right of the same line, I use flex to realize.
I've confirmed that I can see the problem this is describing in Jenkins 2.277.1-rc. I've also confirmed that the change resolves the problem when I cherry-pick the change onto my local copy of the stable-2.277 branch. I don't know the risks associated with the change, but have confirmed that it works as expected with Jenkins 2.277.1-rc plus this patch. My tests were using a Linux Jenkins and a Google Chrome browser on Windows 10. |
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.
These changes could also probably be applied to the f:repeatable
widget. One good screen to test both these widgets is the Global Tool Configuration screen.
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 tested the fix as well. I confirm it resolves the issue.
Thanks for the patch @benebsiny !
This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |
Should we expedite backporting of this fix into 2.277.1 @timja @fqueiruga |
unsure, it seems quite minor and isn't released in a weekly yet. I wasn't sure if it was worth the added risk |
I think it is minor enough that it can wait for 2.277.2 backport or later. Give it some time in the weekly. |
… of draggable div (jenkinsci#5316) * [JENKINS-64972] Help-buttons are not working when they are at the top of draggable div The 'dd-handle' div will make all events in that div (e.g. click event of a button) not triggered, so I move the help-button out of the 'dd-handle' div. In order to make the button still at the right of the same line, I use flex to realize. * [JENKINS-64972] Move style to CSS file
… of draggable div (jenkinsci#5316) * [JENKINS-64972] Help-buttons are not working when they are at the top of draggable div The 'dd-handle' div will make all events in that div (e.g. click event of a button) not triggered, so I move the help-button out of the 'dd-handle' div. In order to make the button still at the right of the same line, I use flex to realize. * [JENKINS-64972] Move style to CSS file (cherry picked from commit 7be7079)
See JENKINS-64972.
The 'dd-handle' div will make all events in that div (e.g. click event of a button) not triggered, so I move the help-button out of the 'dd-handle' div.
In order to make the button still at the right of the same line, I use "flex" to realize.
See demo:
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgradeDesired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are correctupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).