Add counts to Vue project dashboard
What does this MR do and why?
In &13066 we are working on moving Your work
-> Projects
from HAML/vanilla JS to Vue. This MR uses GraphQL to fetch the counts for each tab. This is a similar technique to what we are doing in app/assets/javascripts/issues/list/queries/get_issues_counts.query.graphql
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 |
---|---|
Screen_Recording_2024-09-06_at_10.25.37_AM | Screen_Recording_2024-09-06_at_10.24.44_AM |
How to set up and validate locally
- Go to http://gdk.test:3000/rails/features
- Enable
your_work_projects_vue
feature flag - Go to http://gdk.test:3000/dashboard/projects
Edited by Peter Hegman