OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
5.15k stars 813 forks source link

Marking chips are missing a tooltip for when text is truncated #7519

Open labo-flg opened 4 days ago

labo-flg commented 4 days ago

Description

It happens that, depending on the view and the marking label, the Chip content is truncated.

Example: image

In that case, we do not know for sure which marking it is.

Standard UI/UX would be to have a tooltip displayed when hovering truncated label, displaying the whole text, like this:

image

Environment

ALL

Reproducible Steps

Seen in Data > Entities for a marking with long text label.

labo-flg commented 2 days ago

I've opened a PoC PR using HTML basic 'title' to get a minimal tooltip on the chip (the result is what is displayed on my second screenshot). @Jipegien I think this is acceptable, albeit not the best integration in our UI theme.