ENG-3457: fix long field name overflow in action center monitor results#8095
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
gilluminate
approved these changes
May 5, 2026
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.
Ticket ENG-3457
Description Of Changes
Long field names in the Action Center monitor results overflowed into the Confidence and Actions area on each row, and overflowed off-screen in the resource details drawer header. This PR truncates the field name with an ellipsis in both spots and shows a tooltip with the full name only when truncation actually occurs (matching the existing schema explorer pattern, so short names don't trigger tooltip noise on hover).
Before
After
Code Changes
<Text ellipsis={{ tooltip: name }}>and added SCSS rules (min-width: 0on the title flex, newmonitor-field__namerule) so the button can shrink and the inner text can ellipsize.[&_.ant-drawer-title]:min-w-0onDetailsDrawerto override Ant's defaultmin-width: autoon the drawer title slot, which was preventing it from shrinking.<span>with aTooltipwrapping atruncated span, with aResizeObserverdriving anisTruncatedflag that gates the tooltip — Ant'sTextellipsis detection didn't fire reliably in the drawer's animated mount context.flex-noneto the drawer title icon and tag wrappers so they keep their natural size when the title competes for flex space.Steps to Confirm
<span>to a ~200-character all-caps snake_case string to simulate a long field name.…instead of overflowing into the Confidence indicator and action buttons.last_login) and confirm no tooltip appears.<span>to simulate a long title.…, the column icon andUnlabeledtag stay visible at full size, and hovering the truncated title shows the tooltip with the full name.Pre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works