Skip to content

Add disabled state and tooltip to tool filter

Samantha Ming requested to merge 383294-tool-filter-disabled-with-tooltip into master

What does this MR do and why?

This MR adds a disabled state and tooltip to the tool filter component.

Screenshots or screen recordings

Disabled State Tooltip
image Screenshot_2022-12-06_at_4.40.24_PM

Note: once this MR has been merged > !106240 (merged), the tooltip will appear on the side instead of the top

How to set up and validate locally

  1. Enable the FF echo "Feature.enable(:refactor_vulnerability_tool_filter)" | rails c
  2. Instance view (Menu > Security > Vulnerability Report)
  3. Group view (Group > Security & Compliance > Vulnerability report)
  4. The tool filter dropdown will have a disabled state (if applicable) and a tooltip when hovered

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

Edited by Samantha Ming

Merge request reports

Loading