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 toPajamas::ExperimentBadgeComponentwith custom styling preserved -
ee/app/views/groups/virtual_registries/index.html.haml- Migrated toPajamas::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 |
|---|---|
|
|
|
|
How to set up and validate locally
- Simulate a SaaS instance
- Navigate to Group > Settings > General
- Scroll to the dormant members setting
-
Turn off simulate a saas instance so you don't get confused next MR review
- Navigate to Group > Deploy > Virtual registry
- 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



