weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

Long captions in graph nodes

Open opudrovs opened this issue 3 years ago • 0 comments

Long captions go beyond graph node boundaries:

Screenshot 2022-08-17 at 01 29 31

Possible solutions:

  • Add wrapping to text in graph nodes (and make nodes taller). The text has no spaces, maybe it should be broken on a dot instead?
  • Nodes could be wider, but it will lead to too nodes being to wide for shorter text. Maybe we could check the text length, and if it is longer than a cutoff, should use a bigger node for this text without affecting other nodes?

Acceptance Criteria

  • We will truncate name by ... using overflow.
  • As a user when I hover over the node, I will see the full name as a tooltip.

opudrovs avatar Aug 17 '22 00:08 opudrovs