Skip to content

Refactor CI/CD analytics page to GraphQL

Jose Ivan Vargas requested to merge jivanvl-migrate-analytics-graphql into master

What does this MR do?

This refactors the Analytics -> CI/CD page to use GraphQL instead of sending the data via DOM attributes, per our OKR of reducing the LCP (Largest Content Paint) across GitLab. All of the changes are set behind the :graphql_pipeline_analytics feature flag

#285147 (closed)

Rollout issue for this feature change is in:

#290153 (closed)

You can try this feature change locally by accessing the rails console and issuing the following command

Feature.enable(:graphql_pipeline_analytics)

Screenshots (strongly suggested)

No visual changes, only some of the frontend logic as to how some data is requested has been changed, plus the necessary backend to make the changes possible

Does this MR meet the acceptance criteria?

Conformity

Edited by Jose Ivan Vargas

Merge request reports