Skip to content

Use center placement for organization switcher

What does this MR do and why?

Related to #441158 (closed)

The grouptenant scale team is starting to build out an Organization MVC. For more information about what an "Organization" will be see https://docs.gitlab.com/ee/architecture/blueprints/organization/

This MR adds the placement="center" prop to GlDisclosureDropdown in the organization switcher to fix the placement.

MR acceptance checklist

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

Screenshots or screen recordings

Before After
Screenshot_2024-02-12_at_1.27.04_PM Screenshot_2024-02-12_at_1.26.43_PM

How to set up and validate locally

  1. Open Rails console
    • bin/rails console
  2. Enable the feature flag
    • Feature.enable(:ui_for_organizations)
Edited by Peter Hegman

Merge request reports