Change "+N more" pattern to a badge when there's more info on hover

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

In #514721 (comment 2316749245) I realized that our +N more pattern is inconsistent.

Identifier CVSS/ KEV/ EPSS/ Reachability/ Validity Unknown license
Screenshot 2025-01-27 at 10.41.39 AM.png Screenshot 2025-01-27 at 10.43.55 AM.png image.png
Hovering over +N more does nothing (no tooltip or popover) +N more is a blue text link. Text links should only be navigational, so this should be replaced. Unlike Identifier, we are proposing a popover/ tooltip to this +N more pattern. It's not ideal UX that sometimes this gray text will have more info in a popover and other times it won't, because users may waste time hovering over some text to see if a popover appears (when it may not have any). I'm going to change this design to a badge in that issue.

Proposal

Use a badge where there is a popover or tooltip available. If no popover/tooltip is available on hover, the +N more text should be in neutral-500.

Action items for the Vulnerability Report

Required

  • Change the CSVS/ EPSS/ KEV/ Reachability (for SBOM) / Validity (for Secret Detection) +N more pattern to a badge

Screenshot 2025-01-29 at 1.45.46 PM.png

Optional

  • Change the Identifier +N more pattern to a badge and include other identifiers in popover similar to the one above. For identifiers that are clickable links in the vulnerability detail page, they should be also be clickable from the Vuln Report view as well:

Screenshot 2025-01-29 at 2.00.38 PM.png

Edited by 🤖 GitLab Bot 🤖