Skip to content

Detect link_button_to usage in Ruby and HAML

Mark Florian requested to merge detect-link-button-to into main

Detect Pajamas::ButtonComponent in Ruby

Detect link_button_to usage in Ruby and HAML

The link_button_to helper was added in gitlab-org/gitlab!121772 (merged), and is an alternative way of implementing a link that looks like a button, by delegating to Pajamas::ButtonComponent.

Addresses #75 (closed).

Screenshots

Before After
Screenshot_2023-07-13_at_11-37-30_Pajamas_Adoption_Scanner_Dashboard Screenshot_2023-07-13_at_11-37-35_Pajamas_Adoption_Scanner_Dashboard Screenshot_2023-07-13_at_11-42-39_Pajamas_Adoption_Scanner_Dashboard
Screenshot_2023-07-13_at_11-42-03_Pajamas_Adoption_Scanner_Dashboard Screenshot_2023-07-13_at_11-42-08_Pajamas_Adoption_Scanner_Dashboard
Screenshot_2023-07-13_at_11-42-15_Pajamas_Adoption_Scanner_Dashboard Screenshot_2023-07-13_at_11-47-55_Pajamas_Adoption_Scanner_Dashboard

Review/run this locally

  1. Copy the pages in mr job URL (must have succeeded)
  2. Run bin/review-mr.sh <job url>
Edited by Mark Florian

Merge request reports

Loading