Skip to content

Use GlBroadcastMessage in Broadcast Message admin settings page

What does this MR do and why?

Closes #325352 (closed)

This MR intends to migrate to GlBroadcastMessage as defined in the gitlab-ui and Pajamas Design System.

The component itself was migrated to Rails version in shared/_broadcast_message.html.haml.

The settings page has undergone a breaking change. Background color option was removed. Instead, there's a new option called Theme, which uses available themes from the GlBroadcastMessage component.

The visual design for the banner type has also changed and is now Pajamas-compliant. The notification type was left intact.

The messages configured prior to this change will receive a default indigo theme.

Screenshots or screen recordings

Before After
image image
image image
image image

How to set up and validate locally

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stanislav Lashmanov

Merge request reports

Loading