Add view details button to compliance report for small displays
requested to merge 350162-add-view-details-button-to-stacked-table-to-open-the-drawer-on-small-screens into master
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 |
---|---|
Large viewports
No visual change.
Before | After |
---|---|
How to set up and validate locally
Click to expand
- You need a GitLab Ultimate license.
- Enable the feature flag in your terminal
echo "Feature.enable(:compliance_violations_report)" | rails c
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #350162 (closed)
Edited by Jiaan Louw