Skip to content

Add view details button to compliance report for small displays

What does this MR do and why?

This MR adds a View details button to the compliance report that's only visible when the table is collapsed to resolve #350162 (closed).

Hover isn't available on mobile, so this change indicates to mobile users that they can click on the row to open the drawer.

Screenshots or screen recordings

Collapsed view

Before After
image image

Large viewports

No visual change.

Before After
image image

How to set up and validate locally

Click to expand
  1. You need a GitLab Ultimate license.
  2. Enable the feature flag in your terminal echo "Feature.enable(:compliance_violations_report)" | rails c
  3. View the page at [GDK_HOST]/groups/gitlab-org/-/security/compliance_dashboard

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #350162 (closed)

Edited by Jiaan Louw

Merge request reports