fix(ui) Improve HoverEntityTooltip and truncate parent glossary nodes #6417
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes a bad UX situation in the HoverEntityTooltip where a glossary term has lots of parents and it would cause them to get squished and bleed over to the side with owners by truncating them when they get too long just like we do with parent containers. If you hover over the ellipses we show you the whole path (like containers).
This also increases the maxWidth of this tooltip to allow for some more room when there's lots of content to show. We also still increase the width of the left side content when there's no Owners, so that situation will look good too.
Here's what it was before:
and what it looks like now:
Checklist