Remove deprecated text-* utils and utilities.scss
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
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 |
|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
- Enable
:product_analytics_featuresand:product_analytics_admin_settingsfeature flags. - Visit Merge Request Settings for any project and hover the question mark icon next to "Any eligible user"
- Onboard a project on Product Analytics
- Add two versions of a design to an issue
- 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





