Skip to content

Projects: Improve archived visibility and message

Sascha Eggenberger requested to merge project-archived-badge-message into master

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
project_before project_after
Subpages
subpages_before subpages_after
Group
group_before group_after
Settings
settings_before settings_after
Profile
profile_before profile_after
Admin
admin_before admin_after

How to set up and validate locally

  1. Project: http://gdk.test:3000/flightjs/the-archived-project
  2. Group: http://gdk.test:3000/groups/flightjs/-/archived
  3. Settings: http://gdk.test:3000/groups/flightjs/-/projects
  4. Profile: http://gdk.test:3000/users/root/contributed
  5. 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

Merge request reports