Use tertiary button for alert sidebar assignee
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.
- Epic: &4232
- Storybook showing tertiary and link buttons: https://design.gitlab.com/components/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.
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 |
---|---|
How to set up and validate locally
- Go to Monitor > Alerts > Select an alert
- You will see the sidebar assignee
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #241553 (closed)