Skip to content

Fetch metric related issues

Daniele Rossetti requested to merge drosse/fetch-metrics-related-issues into master

What does this MR do and why?

Add RelatedIssuesProvider component to MetricsDetails. The component is responsible for fetching issues related to a metric from GraphQL and pass it to the default slot (component developed separately gitlab-org/opstrace/opstrace#2901 (closed)). Note the GraphQL API is still being developed (gitlab-org/opstrace/opstrace#2903 (closed)), so we are temporarily just fetching project issues for development purpose.

I've also sneaked in a small change to update the look of the Create Issue button according to the latest spec.

This feature is under feature flag and in experimental phase.

Close Fetch related issues and populate widget (gitlab-org/opstrace/opstrace#2902 - closed)

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

NA

How to set up and validate locally

  • run Rspec
Edited by Daniele Rossetti

Merge request reports

Loading