Stop collapsing the metrics widget when a reports tab exists

What does this merge request do and why?

When the merge request has a reports tab, the WidgetMetrics widget now only links to the metrics report. This matches the code quality widget.

References

Screenshots or screen recordings

Before After
Screenshot_2026-09-25_at_01.05.52 Screenshot_2026-09-25_at_01.06.04

How to set up and validate locally

Merge request acceptance checklist

Evaluate this merge request against the merge request acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Anna Vovchenko

Merge request reports

Loading
Loading