Popover HAML version doesn't support close button
The HAML popover implementation (used in components like Pajamas::ExperimentBadgeComponent) currently doesn't support a close button, unlike the Vue GlPopover component which has this feature.
Context:
- HAML popovers render as
GlPopoverinstances via app/assets/javascripts/popovers/index.js - Vue
GlPopoversupports close buttons:https://design.gitlab.com/storybook/?path=/story/base-popover--with-close-button - Close button support was added in gitlab-org/gitlab-ui!2630 (merged)
Proposed solution: Add close button support to HAML popovers. A starting point would be app/assets/javascripts/popovers/components/popovers.vue#L7-16.
Related:
Edited by Dan MH