Skip to content

Add compliance framework tooltip and error state

What does this MR do and why?

This MR partially resolves #428494 (closed)

Design: tooltip

This MR adds compliance framework tooltip

New compliance framework dropdown has a tooltip with additional information

Also added an option to render error state

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Description UI
Tooltip tooltip.png
Error state error.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable Feature Flag

    Feature.enable(:security_policies_policy_scope)  
  2. Go to a Group -> Secure -> Policies -> New policy -> New scan result/execution policy -> check Policy scope section is there.

  3. Go to Project -> Secure -> Policies -> New policy -> New scan result/execution policy -> check Policy scope section is not there.

  4. For now you can manually set default to true in showError prop in compliance_framework_dropdown.vue

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 #428494 (closed)

Merge request reports

Loading