OpenCTI-Platform / opencti

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

[frontend] add tooltips to marking chips (#7519) #7548

Closed labo-flg closed 2 months ago

labo-flg commented 3 months ago

Long texts in Chips end up truncated and without tooltips we cannot know the real text. This can be misleading when several markings start with the same texts for instance.

Adding mui basic tooltip around the chip will do the trick.

image

details

I enable this html title when the marking chip is alone, or inside the themed tooltip when several markings are displayed.

Closes #7519

labo-flg commented 2 months ago

@ValentinBouzinFiligran I've changed the implementation after discussion with @Jipegien

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 67.55%. Comparing base (35d1242) to head (3c1d1cd). Report is 4 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #7548 +/- ## ======================================= Coverage 67.55% 67.55% ======================================= Files 567 567 Lines 69946 69946 Branches 5935 5936 +1 ======================================= + Hits 47250 47255 +5 + Misses 22696 22691 -5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.