Skip to content

Simplify notifications dropdown

Jarek Ostrowski requested to merge simplify-notifications-dropdown into master

What does this MR do?

While working on !53260 (merged), I noticed the notifications dropdown was updated to be a vue component, which is great! However, when I updated the notifications to custom and back again, the styles didn't reflect what's in Pajamas (see With icon and split example). So, I wanted to create a separate MR to update this button since it requires more in depth review, separate from the other changes in !53260 (merged).

This change simplifies this component and utilizes the split property as a conditional if isCustomNotification is true.

Screenshots (strongly suggested)

Before After
Notification dropdown not styled correctly Notification dropdown styled using the split property

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports