MR Security Widget: Add tooltip about security scan result source
Why are we doing this work
Continuation of #352571 (closed) where we added new to clarify MR vulnerabilities. This issue extends user education by adding an information tooltip.
- Add an info popover with the text below. The tooltip will link to this page: https://docs.gitlab.com/ee/user/application_security/#ultimate
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
- Create a security popover vue component
- Inject this component in the MR widget summary slot
// Sample high level pseudo code
<mr-widget>
<template #summary>
<security-popover />
Note: the security MR widget is currently still behind a feature flag. Please see this instruction to enable the feature flag and mock the API for easier development > !95568 (merged)
Verification steps
- Go to a merge request
- View the MR widget
- Hover on the info promo of the security widget
- The popover will appear and disappear when hover away
Edited by Samantha Ming