-
-
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-70178] Improve tooltip performance #7464
[JENKINS-70178] Improve tooltip performance #7464
Conversation
Thanks for the quick fix. |
Did you want to test that this fixes your issue? |
@timja I can do that. What would be my steps to get this deployed? |
|
@timja it worked for me. |
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 from a security aspect
/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! |
See JENKINS-70178.
Thanks to those that reported it, with this fix you should see major improvements in rendering tooltips. The issue was caused due a misunderstanding in how
behavior.specify
works, I thoughtspecify
would only be triggered the once and thus render all tooltips once, instead it rendered all tooltips each time thespecify
was triggered.Testing done
I added roughly two hundred buttons to a page with tooltips set, pre-fix this page had a long stall, post-fix the page is essentially instant.
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
@Restricted
or have@since TODO
Javadocs, as appropriate.@Deprecated(since = "TODO")
or@Deprecated(forRemoval = true, since = "TODO")
, if applicable.eval
to ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@jenkinsci/sig-ux
Maintainer checklist
Before the changes are marked as
ready-for-merge
:upgrade-guide-needed
label is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidate
to be considered (see query).