Skip to content

Ensure Feature Flags Form Uses GitLab UI Utilities

The following discussion from !64006 (merged) should be addressed:

  • @sming-gitlab started a discussion: (+1 comment)

    suggestion (non-blocking): you probably want this MR to focus on removing the legacy flags and not change any of the underlying code, which makes sense to me 👍 -- what do you think of creating a follow-up issue to convert these to use our gl- utility classes? 🙂

Implementation Guide

pretty much make sure all the classes used in app/assets/javascripts/feature_flags/components/form.vue use their GitLab UI equivalents.

Note that the spacing scale between Bootstrap and GitLab UI differ, such that for any spacing utilities, the N+1 version of the class will likely be required for 1 >= N <= 2 and N + 2 for N > 2.

For any classes that aren't available in the existing GitLab UI set, contributions can be made to GitLab UI

Edited by Alexander Turinske