Skip to content

Remove Use of jQuery Tooltip in Modal Copy Button

What does this MR do?

This currently relies on a Bootstrap root event to hide the tooltip, as code in app/assets/javascripts/behaviors/copy_to_clipboard.js shows a new tooltip with the Copied text on success.

Until this is changed so the tooltip state is all local, the easiest way is to use a root event.

For #229041 (closed)

Screenshots

No visual changes 🎉

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Andrew Fontaine

Merge request reports

Loading