Skip to content

Update adherence table column widths

Jay Montal requested to merge 425111_fix_adherence_table_th_widths into master

What does this MR do and why?

What

Fixes the standard adherences report table column widths

Why

The columns were fixed in !132564 (merged) but after some checking there was some inconsistencies with the design

Added a columnWidth const to fix columns and adhere more to the designs

Screenshots or screen recordings

Before After After (Smaller Window)
image image image

How to set up and validate locally

Enable FFs

  1. In the rails console (rails c) enable the following features:
  2. adherence_report_ui (Feature.enable(:adherence_report_ui))
  3. compliance_adherence_report (Feature.enable(:compliance_adherence_report))

Setup Adherences

  1. Pick a group that has a paid plan or set the plan for the group to be paid
  2. Visit group settings and enable "Prevent approval by author" from the 'Merge Request Approval' section.
  3. This will create a couple of rows inside the project_compliance_standards_adherence table.

Visit Standard Adherence page

  1. Visit a group, under Secure (new UI) or Security & Compliance (old UI) > Compliance center
  2. Click View details to expand the sidebar component

MR acceptance checklist

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

Edited by Jay Montal

Merge request reports