Allow rearranging badges within project/group settings
Problem to solve
In the Settings -> Badges page, it'd be very useful to be able to reorder the badges.
Further details
Currently we can create badges in 2 different ways. I added a bunch of project level badges to a repository. A new group level badge was added later, which now shows at the end of all the project level badges in the project overview page. But, in the Settings page, the group level badge shows at the top of all badges. I don't have any way of fixing the order of the badges so that group level badge shows at first in Project Overview page. Even within the project level badges, if I wanted to change the order, I will have to delete other badges and add them again in the right order.
Proposal 1
- Allow badges to be re-arranged/re-ordered
- Re-arranging group level badges should be controlled through Group Settings
- Re-arranging project level badges should be controlled through Project Settings
What does success look like, and how can we measure that?
Maintaining several projects for a team or org is normal. Many will also use various tools for validating their code quality, which can produce individual badges such as quality status, number of bugs, coverage %, security rating, number of vulnerabilities, code smell, code duplication % etc. GitLab CI or other CI solutions also provides badge for build/pipeline status.
When dealing with a lot of different badges, it's a very tedious process right now if they need to be manually deleted and added in the right order. Being able to manage the order that is used for displaying the badges would be very useful.