Skip to content

Use Pajamas::ButtonComponent for free plan billing index

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:

before-desktop.png

after:

Screenshot 2023-12-15 at 4.15.25 PM.png

How to set up and validate locally

  1. Ensure pipelines pass
  2. 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.

Merge request reports