Exclude archived projects from total and starred counts
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
- Create a new project on gitlab.com or your local environment
- Star the project
- Archive the project
- Visit https://gitlab.com/dashboard/projects. The counts for
Yours
andStarred
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Nick Nguyen