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 |
---|---|
![]() |
![]() |
How to set up and validate locally
- Enable the related FF:
echo "Feature.enable(:explain_vulnerability_tool)" | rails c
- Verify that the "Explain Vulnerability" card does not render within the details section
- Verify that the button renders within the header
Related to #468009 (closed)
Edited by David Pisek