Skip to content

Refactor vulnerability report image filter tooltip into image filter

Daniel Tian requested to merge 376341-image-filter-tooltip-refactor into master

What does this MR do and why?

On the vulnerability report, there's an image filter that truncates its dropdown items and shows a tooltip:

ksnip_20221108-021947

Previously, the truncation was added to FilterItem, a common component used by all the filters for their dropdown items. Because the image filter is the only filter that needs this truncation and tooltip, it's better to move it into the image filter itself, rather than having it in FilterItem and only ever have one filter use it.

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

Edited by Daniel Tian

Merge request reports

Loading