Add support for copying permalink to notes via more actions dropdown
What does this MR do?
Adds copy link option to note menu for comments, to attain the same it does two things.
- Adds support for Button text to
clipboard_button
helper inbutton_helper.rb
- Adds support to hide tooltips completely for Clipboard buttons by passing
hide_tooltip: true
toclipboard_button
- It does so by reading that data attribute in
copy_to_clipboard.js
Why was this MR needed?
Screenshots
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary [ ] Documentation created/updated[ ] API support added- Tests
[ ] Added for this feature/bug-
All builds are passing
- Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend [ ] Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #35811 (closed)
Edited by kushalpandya