Mass button migration, part 3
What does this MR do and why?
This migrates many links that are styled to look like buttons to the link_button_to
helper added in !121772 (merged).
These migrations were largely done blind, in that a codemod was used to perform them.
Commits
Migrate some Auth buttons
This was extracted from !125126 (merged), as these changes require special approval from Authentication and Authorization.
Executed with:
comby \
-config ~/dev/pajamas-adoption-scanner/comby/button-2.toml \
-custom-matcher ~/dev/pajamas-adoption-scanner/comby/haml.json \
-matcher .generic -in-place \
-f .haml
Using the button-migration
branch of the Pajamas Adoption Scanner:
https://gitlab.com/gitlab-org/frontend/pajamas-adoption-scanner/-/commits/button-migration
Screenshots or screen recordings
There should be no visual changes.
How to set up and validate locally
The rendered markup should be equivalent, so there's not much need to validate this locally. The approach has already been validated in !121772 (merged) and !125126 (merged) (see the UX review checklists).
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.