Skip to content

Move explain-vulnerability button into header actions

What does this MR do and why?

Moves the "Explain Vulnerability with AI" feature from the vulnerability-details section into the split-button within the header. This is to follow the finalised designs: #464636[design_1718663433524.png] (comment 1957907897)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

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

Before After
Screenshot_2024-06-20_at_1.45.09_PM Screenshot_2024-06-20_at_1.44.19_PM

How to set up and validate locally

  1. Enable the related FF: echo "Feature.enable(:explain_vulnerability_tool)" | rails c
  2. Verify that the "Explain Vulnerability" card does not render within the details section
  3. Verify that the button renders within the header

Related to #468009 (closed)

Edited by David Pisek

Merge request reports