NIFI-15153: Fix UI overflow by allowing long names to wrap in connect…#10709
Open
swatiksi273-ksolves wants to merge 1 commit intoapache:mainfrom
Open
NIFI-15153: Fix UI overflow by allowing long names to wrap in connect…#10709swatiksi273-ksolves wants to merge 1 commit intoapache:mainfrom
swatiksi273-ksolves wants to merge 1 commit intoapache:mainfrom
Conversation
Contributor
|
I can review. |
scottyaslan
reviewed
Jan 5, 2026
| <div data-qa="to-input-error-label">To Input</div> | ||
| @if (noPorts) { | ||
| <mat-error data-qa="no-ports-error">{{ groupName }} does not have any local input ports.</mat-error> | ||
| <mat-error data-qa="no-ports-error" class="tertiary-color break-words font-medium w-full">{{ groupName }} does not have any local input ports.</mat-error> |
Contributor
There was a problem hiding this comment.
Please do not add tertiary-color or font-medium to mat-error components. These a colored via angular material theme and follow the typography we have defined for the entire application.
We also do not need the break-words or w-full here. Please revert this change.
| <div | ||
| [title]="groupName" | ||
| class="tertiary-color overflow-ellipsis overflow-hidden whitespace-nowrap font-medium" | ||
| class="tertiary-color break-words font-medium w-full" |
Contributor
There was a problem hiding this comment.
Please restore the overflow-ellipsis overflow-hidden whitespace-nowrap in this case. Here we should follow established UX patterns which in this case would mean the text should have either the overflow-ellipsis overflow-hidden whitespace-nowrap or the truncated tailwind classes applied with a title attribute (which I see is already present in the template).
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.

This PR fixes a UI overflow issue in the Destination Process Group component (NIFI-15153). Previously, long Process Group names within error messages and selection labels would overflow the dialog container due to whitespace-nowrap and overflow-hidden constraints.
I have updated the HTML templates to allow for text wrapping, ensuring that long names remain visible and contained within the dialog boundaries.
Changes
Error Messages: Added break-words and w-full to mat-error elements to prevent long group names from cutting off when reporting missing or unauthorized ports.
Group Name Display: Removed overflow-ellipsis, overflow-hidden, and whitespace-nowrap.
Added break-words and w-full to allow the group name to wrap onto multiple lines if it exceeds the container width.
File Modified: destination-process-group.component.html
How to Test
Attempt to create a connection to a Process Group that has an extremely long name (e.g., 50+ characters).
Trigger an error state (e.g., a group with no local input ports).
Verify: Observe that the long name now wraps to a new line within the error message and the "Within Group" label, rather than disappearing off the edge of the dialog.