Migrate beta badges to Pajamas::ExperimentBadgeComponent

What does this MR do and why?

MR !214511 (merged) created Pajamas::ExperimentBadgeComponent a Rails ViewComponent equivalent to the GitLab UI GlExperimentBadge component.

This MR migrates the 2 remaining instances that used the shared/beta_badge partial to use the new design system component.

Changes:

  • ee/app/views/groups/settings/_remove_dormant_members.html.haml - Migrated to Pajamas::ExperimentBadgeComponent with custom styling preserved
  • ee/app/views/groups/virtual_registries/index.html.haml - Migrated to Pajamas::ExperimentBadgeComponent

Both instances now use the default bottom popover placement (the old partial hardcoded top placement but did not seem to work).

Changelog: changed

EE: true

References

Part of gitlab-org/gitlab-services/design.gitlab.com#3213

Closes gitlab-org/gitlab-services/design.gitlab.com#3215 (closed)

Screenshots or screen recordings

Before After
Screenshot 2025-12-03 at 16.51.00.png Screenshot 2025-12-03 at 16.29.02.png
Screenshot 2025-12-03 at 16.50.13.png Screenshot 2025-12-03 at 17.00.14.png

How to set up and validate locally

  1. Simulate a SaaS instance
  2. Navigate to Group > Settings > General
  3. Scroll to the dormant members setting
  4. Turn off simulate a saas instance so you don't get confused next MR review

  1. Navigate to Group > Deploy > Virtual registry
  2. Scroll to the virtual registry heading

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 Dan MH

Merge request reports

Loading