Projects: Improve archived visibility and message
What does this MR do and why?
Projects: Improve archived visibility and message
- Adds a badge to archived projects
- Improves the archived message on an archived project
- Changes the placement of the archived badge in settings to place it before the stats
- Changes archived badge to use sentence case
- Changes archived badge to use
info
variant across the product - Updated pending deletion to use sentence case for group item
- Reduces the templates down to a single haml one; updates the includes
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
Project | |
Subpages | |
Group | |
Settings | |
Profile | |
Admin | |
How to set up and validate locally
- Project: http://gdk.test:3000/flightjs/the-archived-project
- Group: http://gdk.test:3000/groups/flightjs/-/archived
- Settings: http://gdk.test:3000/groups/flightjs/-/projects
- Profile: http://gdk.test:3000/users/root/contributed
- Admin: http://gdk.test:3000/admin/projects?archived=true&sort=latest_activity_desc
Related to #424397 (comment 1781180695), Improve archive information UI on project overview (#23667 - closed)
Closes #23667 (closed)
Edited by Sascha Eggenberger