Refactor and adjust styling on group/project list actions
What does this MR do and why?
Related to #556523
Refactors the list actions component that is used on group and project lists. Previously the order of actions was determined by the availableActions
prop. This opened up possibilities of inconsistencies between lists. It also made it so we couldn't separate the danger actions from regular actions.
References
Screenshots or screen recordings
Groups
Before | After |
---|---|
![]() |
![]() |
Pending deletion group
Before | After |
---|---|
![]() |
![]() |
Archived group
Before | After |
---|---|
![]() |
![]() |
Projects
Before | After |
---|---|
![]() |
![]() |
Pending deletion project
Before | After |
---|---|
![]() |
![]() |
Archived project
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Go to
/rails/features
and enablearchive_group
feature flag - Go to
/dashboard/groups
- Use actions
- Go to
/dashboard/projects
- Use actions
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Peter Hegman