Skip to content

Use tertiary button for alert sidebar assignee

Samantha Ming requested to merge 241553-audit-link-variant-assignees into master

What does this MR do and why?

This MR is part of the frontend pajamasintegrate initiative to migrate parts of our codebase to new pajamas components.

This MR changes alert sidebar assignee button from link variant to tertiary button.

Why Tertiary?

The reasoning for tertiary is because the Edit button is also tertiary. Based on that, the assign-yourself which follows the same hierarchy should be the same. Hence a secondary category was not selected.

2022-06-06_at_11.53_AM

https://design.gitlab.com/components/button#categories

Choose a category based on the overall hierarchy on a given page, as well as the individual contexts found within.

Screenshots or screen recordings

Before After
before-alert-sidebar-assignee 2022-06-02_at_10.47_PM

How to set up and validate locally

  1. Go to Monitor > Alerts > Select an alert
  2. You will see the sidebar assignee
  3. The "assign yourself" should behave the same as before

MR acceptance checklist

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

Related to #241553 (closed)

Edited by Samantha Ming

Merge request reports