Use Pajamas::ButtonComponent for free plan billing index
requested to merge gitlab-community/gitlab:use-pajamas-button-for-free-plan-billing-index into master
What does this MR do and why?
Migrates one button in ee/app/views/groups/billings/_free_plan_billing_index.html.haml to use the Pajamas::ButtonComponent abstraction.
Solves #416049 (closed)
There are two others buttons that use link_to in this file, but I believe they fall under the category of "Buttons that look like links" which is excluded from this epic &8153.
Screenshots or screen recordings
It's the 'Start a free Ultimate trial' button at the bottom of the screenshots.
before:
after:
How to set up and validate locally
- Ensure pipelines pass
- Simulate a SaaS instance aka GitLab.com (Don't do step 3 because you need a group on the free plan) -> groups -> select a group -> settings: billing -> ensure before/after are the same
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.