Migrate some clipboard buttons to Pajamas-compliant helper
What does this MR do and why?
Migrates a few instances of deprecated_clipboard_button
to the new clipboard_button
helper that renders a ::Pajamas::ButtonComponent
.
Screenshots or screen recordings
Before | After | |
---|---|---|
app/views/projects/commit/_commit_box.html.haml |
![]() |
![]() |
app/views/shared/milestones/_description.html.haml |
![]() |
![]() |
app/views/groups/_home_panel.html.haml |
![]() |
![]() |
app/views/projects/branches/_branch.html.haml |
![]() |
![]() |
How to set up and validate locally
- Navigate to a commit details page (e.g. http://gdk.test:3000/twitter/Typeahead.Js/-/commit/5f975fc2e61fb5e6b064ee040d42df2cf962657a).
- Navigate to a milestone's details page (e.g. http://gdk.test:3000/twitter/Typeahead.Js/-/milestones/6#tab-issues).
- Navigate to a group's info page (e.g. http://gdk.test:3000/twitter/Typeahead.Js).
- Navigate to a repository's branch list (e.g. http://gdk.test:3000/twitter/Typeahead.Js/-/branches).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Paul Gascou-Vaillancourt