ATLAS-5376: Atlas UI: Relationship cards layout breaking, overlapping, and tooltip placement issues with long entity names (React & Classic UI) - #737
Open
Brijesh619 wants to merge 3 commits into
Conversation
Brijesh619
force-pushed
the
ATLAS-5376
branch
2 times, most recently
from
August 20, 2026 05:31
209457a to
6f6b52b
Compare
Contributor
Author
Contributor
Author
Contributor
Author
…, and tooltip placement issues with long entity names (React & Classic UI)
…, and tooltip placement issues with long entity names (React & Classic UI)
…, and tooltip placement issues with long entity names (React & Classic UI)
Brijesh619
force-pushed
the
ATLAS-5376
branch
from
September 3, 2026 18:14
411af10 to
922e7c5
Compare
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, rendering, and type-safety 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).
React UI Changes:
<MUILink>components inside<span>elements under<LightTooltip>in bothCustomLinkandgetWithButtoninRelationshipLineage.tsx. This guarantees proper ref forwarding to MUI Tooltip and prevents React Router console warnings.// @ts-nocheckdirective fromRelationshipLineage.tsx. Refactored bothRelationshipLineage.tsxandRelationshipLineage.test.tsxto eliminate allanytypes, introducing strict interfaces (GraphNode,GraphLink) and type guards (Record<string, unknown>).guidonCustomLinkby attachingdata-guid={guid}to list items anddata-testid={relationship-link-${guid}}to links.Classic UI Changes:
.tooltip-inner { max-width: none; }globally intheme.scssto prevent global UI regressions across Classic UI. Scopedmax-width: 300px; word-break: break-all; word-break: break-word; overflow-wrap: break-word;under.relationship-tooltipand relationship containers inrelationship.scss.$.fn.tooltip) inRelationshipLayoutView.jsandRelationshipCardsLayoutView.jsusingtemplate: '<div class="tooltip relationship-tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'to enforce proper wrapping and max-width when tooltips are appended tobody.ul > li.entity-list-itemto.entity-list-item .entity-type-nameingraph.scss.ol > lialongsideul > li.max-width: calc(100% - 25px); vertical-align: top; line-height: 1.5;to.entity-type-name. This ensures that long names truncate cleanly with...while keeping the list number1.and text aligned on the exact same baseline without dropping to a second line.getdefault,getWithButton,getEntityTypelist,getElement) inRelationshipLayoutView.jsand reverted formatting-only whitespace diffs to preserve master's code style.How was this patch tested?
Manual Testing:
...without breaking layout boundaries or dropping text below list numbers (1.).300pxboundary without spilling off-screen.Automated Testing & Type Checks:
RelationshipLineage.test.tsx- 61 tests passed), covering deleted status class assertions (deleted-relation,text-deleted), missingtypeNamefallback, and full untruncated tooltip titles.npx tsc --noEmit -p tsconfig.build.json).npx eslint) across staged and unstaged files.