Atlas UI: Relationship cards layout breaking, overlapping, and tooltip placement issues with long entity names (React & Classic UI) - #737
Open
Brijesh619 wants to merge 1 commit into
Conversation
…, and tooltip placement issues with long entity names (React & Classic UI)
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.





What changes were proposed in this pull request?
ATLAS-5376: Atlas UI: Relationship cards layout breaking, overlapping, and tooltip placement issues with long entity names (React & Classic UI)
This patch addresses several layout and rendering issues on the Entity Detail "Relationships" tab when dealing with extremely long relationship item names (e.g., massive queries or Kafka topic names without spaces). These issues were present in both the modern React UI and the classic UI.
React UI Changes:
MUILinkfor relationship nodes in a<LightTooltip>component so that users can view the full name on hover.350pxto prevent overlap with the main graph canvas..relationship-node-linkclass to ensure long names truncate cleanly with...instead of stretching the container.Classic UI Changes:
min-width: 0to flex-column containers inrelationship.scssto allow relationship items to shrink properly below their flex-basis content size.white-space: nowrap; overflow: hidden; text-overflow: ellipsis;to.entity-list-itemand.relationship-card-linkingraph.scssandrelationship.scss..tooltip-innerintheme.scsswith amax-width: 300pxandword-break: break-allto ensure tooltip content wraps correctly rather than extending horizontally off-screen.RelationshipLayoutView.js($.fn.tooltip) usingcontainer: 'body'to ensure tooltips are not clipped by parent containers withoverflow: hidden.How was this patch tested?
...and does not bleed out of its layout boundary or overlap the center graph.300pxbox, staying visible on the screen.