Skip to content

Update merge request widget state actions

Phil Hughes requested to merge ph/368037/widgetActions into master

What does this MR do and why?

Updates the merge request widget state actions button match the new framework.

For all states, except merge blocked states, the action buttons are now tertiary confirm variant and right aligned. For the merge blocked states the buttons are now confirm variant with the most important being primary and if there is another button it is secondary.

On mobile - the action buttons move into a dropdown. Except for the merge blocked actions these actions wrap underneath the text.

Screenshots or screen recordings

Screenshot_2022-07-21_at_10.41.03

Screenshot_2022-07-21_at_11.17.00

Screenshot_2022-07-21_at_11.18.40

Screenshot_2022-07-28_at_10.40.27

Screenshot_2022-07-28_at_10.43.37

Screenshot_2022-07-25_at_15.12.56

Screenshot_2022-07-25_at_15.15.48

Screenshot_2022-07-28_at_10.38.28

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Closes #368037 (closed)

Edited by Phil Hughes

Merge request reports

Loading