Migrate link_to to ButtonComponent
requested to merge gitlab-community/gitlab:416048-416054-416028-migrate-link_to-to-button-component into master
What does this MR do and why?
Migrate link_to to ButtonComponent
- app/views/shared/_service_ping_consent.html.haml
- ee/app/views/admin/users/_admin_export_user_permissions.html.haml
- ee/app/views/groups/ protected_environments/_protected_environment.html.haml
Changelog: changed EE: true
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
app/views/shared/_service_ping_consent.html.haml
- Edit
app/views/shared/_service_ping_consent.html.haml
and remove the conditional at line 1. - Open any repository/project and an alert/banner should show up with the buttons rendered.
ee/app/views/admin/users/_admin_export_user_permissions.html.haml
- Go to
/admin/users
ee/app/views/groups/protected_environments/_protected_environment.html.haml
- Open any Group page with subgroups (add new one if necessary)
- Go to Settings > CI/CD > Protected Environments
- Protect an environment with the subgroup assigned.
- There should now be an entry with
Unprotect
button.
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.
Related to #416048 (closed), #416054 (closed), #416028 (closed)
Edited by Shane Maglangit (Personal)