Remove deprecated text-* utils and utilities.scss

What does this MR do and why?

This MR removes deprecated text-* classes and references to them aiming to finally get rid of the utilities.scss. It also removes references to said file.

Instances of text-1 can be safely replaced with gl-text-sm. For standard users this is the same font-size. I decided to replace of text-4 with gl-heading-2 because it is the closest match and seems visually unnoticable.

Screenshots or screen recordings

Before After
Screenshot_2025-03-15_at_12.25.34_PM Screenshot_2025-03-15_at_12.19.13_PM
Screenshot_2025-03-16_at_9.42.44_AM Screenshot_2025-03-20_at_11.51.13_PM
Screenshot_2025-03-16_at_9.49.26_AM Screenshot_2025-03-16_at_9.47.06_AM

How to set up and validate locally

  1. Enable :product_analytics_features and :product_analytics_admin_settings feature flags.
  2. Visit Merge Request Settings for any project and hover the question mark icon next to "Any eligible user"
  3. Onboard a project on Product Analytics
  4. Add two versions of a design to an issue
  5. Open the dropdown box related to versions of said design.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Manuel Schönlaub

Merge request reports

Loading