mitre-attack / attack-navigator

Web app that provides basic navigation and annotation of ATT&CK matrices
https://mitre-attack.github.io/attack-navigator
Apache License 2.0
2.01k stars 593 forks source link

Pinned tooltips display above "pin/unpin tooltip" option in technique right-click menu #542

Closed 1337N008 closed 1 year ago

1337N008 commented 1 year ago

There is a minor issuse when pinning tooltips that prevents a user from unpinning the tooltip. If a user annotates a technique (with even one item, like a score or a comment) and then pins the tooltip for that technique, the tooltip overlay appears to the left of the technique name in the Attack Navigator UI. If the user wants to then unpin the tooltip, the right-click menu--particularly the "pin/unpin tooltip" option--displays beneath the tooltip overlay.

One suggestion is to display the right-click menu to the right of the technique name, while keeping the tooltip's current position at the left of the technique name. Alternatively, an "unpin" button could be added to the existing tooltip to allow users to hide the tooltip.

Details are in attack navigator issue.docx

clemiller commented 1 year ago

Hi @1337N008,

Thanks for reporting this issue and for suggesting some possible solutions! I think adding an "unpin" option to pinned tooltips is a great solution and it avoids possible clipping that may occur if we opened the tooltip on the opposite side for techniques in the right- and left-most columns of the matrix. The changes for this are staged on develop and will be included in the next Navigator release.