Skip to content

Exclude archived projects from total and starred counts

Nick Nguyen requested to merge nhxnguyen-fix-project-dashboard-counts into master

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR fixes the issue described in #374700 (closed) where archived projects are included in the Yours and Starred counts on /dashboard/projects even though archived projects are excluded from the listed projects.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. Create a new project on gitlab.com or your local environment
  2. Star the project
  3. Archive the project
  4. Visit https://gitlab.com/dashboard/projects. The counts for Yours and Starred should be correct and not include the archived project.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Nick Nguyen

Merge request reports