Skip to content

Add compliance merge requests counter to dashboard

Tan Le requested to merge 220328-add-compliance-merge-request-count-badge into master

What does this MR do?

Add merge request counter to Compliance Dashboard page.

This tab is currently hidden by default using a cookie flag. The flag will be removed once the Approvals tab has been added.

Relates to #238205 (closed)

Screenshots

Before After
Screen_Shot_2020-08-13_at_17.02.44 Screen_Shot_2020-08-13_at_17.02.22

Testing

Cookie flag

To show or hide tabs, paste the either of the following in your browser console and refresh the page:

// Show tabs
document.cookie = 'compliance_dashboard_tabs=true'

// Hide tabs
document.cookie = 'compliance_dashboard_tabs=false'

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Tan Le

Merge request reports

Loading