Introduce the ability to reorder group and project badges
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do and why?
This MR introduces the ability to reorder badges within groups and projects. It also enhances the UI by moving the `edit` and `delete` actions to an ellipsis dropdown menu.
Screenshots or screen recordings
| Before | After |
|---|---|
|
Group badges Project badges |
Group badges, initial state (with a reordering feature, though no reorder has been applied) Project badges, initial state (with a reordering feature, though no reorder has been applied) Group badges Project badges |
How to set up and validate locally
Group level
- Navigate to any group.
- In the sidebar navigate to
Settings->Generaland expandBadgessection. - Create a several group badges.
- Try to reorder them, edit and/or delete, observe the result.
Project level
- Navigate to any project.
- In the sidebar navigate to
Settings->Generaland expandBadgessection. - Create a several project badges.
- Try to reorder project and group badges, edit and/or delete project badges, observe the result.
- Back to the project page. Observe badges positions.
Edited by Anton Kalmykov



