Skip to content

Add "Resolve with AI" button to vulnerability-finding-modal

  • Add a new button ("Resolve with AI") to the modal
  • It should only render when the related ability is enabled and the given vulnerability is AI-resolvable
  • It should show a tooltip with an additional explanation when hovered
  • It should be behind the resolve_vulnerability_in_mr FF

Note: There are two additional GraphQL fields needed in order to support the render-logic: canResolveVulnerabilityWithAi (ability) and aiResolutionAvailable (current finding supported). This is being tracked as a blocker.

Edited by David Pisek