Add pipeline status to project list item
What does this MR do and why?
In &13066 we are moving Your work
-> Projects
to Vue with a GraphQL data source. This MR adds the CI icon for the latest pipeline to each project. Note that the pipeline it displays is not the correct one because we are waiting on backend changes in !172934 to make it possible to display the latest pipeline status. It is okay that it is inaccurate for now since both places this component and GraphQL query is used are behind disabled feature flags (your_work_projects_vue
and ui_for_organizations
). When we get !172934 merged we will remove the iid
argument from the GraphQL query.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
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
How to set up and validate locally
- Go to http://gdk.test:3000/rails/features and enable
your_work_projects_vue
feature flag - Go to http://gdk.test:3000/dashboard/projects