Skip to content

ATLAS-5330: Atlas React UI: Text overflow issues in Global Search, Re…#683

Merged
pawarprasad123 merged 3 commits into
apache:masterfrom
Brijesh619:ATLAS-5330
Jul 16, 2026
Merged

ATLAS-5330: Atlas React UI: Text overflow issues in Global Search, Re…#683
pawarprasad123 merged 3 commits into
apache:masterfrom
Brijesh619:ATLAS-5330

Conversation

@Brijesh619

@Brijesh619 Brijesh619 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

…cent Activity, Search Filters, and Popovers for long classification names

This PR fixes various UI layout breaks and text overflow issues caused by exceptionally long classification, relationship, and entity names across the Atlas React UI. Previously, when long strings were rendered in tables, modals, or search filters, they would push UI boundaries outward, misalign grid/table cells, or cause broken borders.

Specifically, this PR addresses the following areas:

Statistics Modal (ClassificationStats, EntityStats, etc.): Fixed a UI bug where the text-truncate utility class (which applies display: block !important) was applied directly to MUI components, breaking the table-layout. Text truncation is now safely wrapped in an inner

.
Global Search & Quick Search Popovers: Added proper max-width, flex boundaries, and noWrap rules to ensure long term/classification dropdowns truncate with an ellipsis (...) instead of overflowing the container.
Search Filters (FilterQuery): Ensured that active filter chips (Type, Classification, Relationship, Term) do not break to new lines awkwardly or expand endlessly.
Modals & Dialogs (CustomModal, DialogShowMoreLess): Title headers and assignment texts now truncate appropriately with tooltips, preventing the close button from being pushed out of view.
General Forms & Auto-completes: Wrapped types and tags in noWrap Typography components.
Styles: Consolidated inline max-width styling (sx={{ maxWidth: "400px" }}) into centralized SCSS classes (e.g. .classification-name-cell) for better maintainability.
How was this patch tested?
Manual UI Testing:
Created classifications, with 200+ character lengths.
Verified the Global Search dropdown remains within the viewport boundary without horizontal scrollbars.
Opened the "Statistics" modal and confirmed the Table structures (Name / Associated Entities) have aligned borders and no layout breakage.
Applied long tags in Search Filters and verified Chip dimensions and tooltip displays.
Unit Tests: Ran the full Jest test suite (npm run test) to ensure component logic (Filters, RelationshipFilters, TagFilters) remains unaffected. All tests passed.
Build & Linter Check: npm run build, tsc, and eslint execute successfully without regressions.

@pawarprasad123
pawarprasad123 self-requested a review June 24, 2026 06:13
@Brijesh619
Brijesh619 force-pushed the ATLAS-5330 branch 4 times, most recently from 2f47f00 to 428629a Compare July 8, 2026 10:05
@Brijesh619

Brijesh619 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

1)Recent Activity:Recent_Activity
2)Filters Labels:
Filters_labels
3)Filters Tag Title:
Filters_tag_title
4)Filters Tag dropdown:
Screenshot from 2026-07-08 15-22-22
5)Select Classification Dropdown in Add Classification Form:
Screenshot from 2026-07-08 15-23-13
6)Quick Global Search Bar
Screenshot from 2026-07-08 15-25-43
7)Classification name column in Classification Tab:
Screenshot from 2026-07-08 15-36-11
8)Classification Name dropdown in Classification Tab
Screenshot from 2026-07-08 15-39-39
9)Audit tab Accordion title
Screenshot from 2026-07-08 15-40-40
10)Audit tab
Screenshot from 2026-07-08 15-42-39
11)Audit tab Modal
Screenshot from 2026-07-08 15-43-11

Comment thread dashboard/src/index.scss
…cent Activity, Search Filters, and Popovers for long classification names
…cent Activity, Search Filters, and Popovers for long classification names
…cent Activity, Search Filters, and Popovers for long classification names

@pawarprasad123 pawarprasad123 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pawarprasad123
pawarprasad123 merged commit 400db52 into apache:master Jul 16, 2026
2 checks passed
pawarprasad123 pushed a commit that referenced this pull request Jul 16, 2026
#683)

( cherry-picked from commit 400db52)
* ATLAS-5330: Atlas React UI: Text overflow issues in Global Search, Recent Activity, Search Filters, and Popovers for long classification names

* ATLAS-5330: Atlas React UI: Text overflow issues in Global Search, Recent Activity, Search Filters, and Popovers for long classification names

* ATLAS-5330: Atlas React UI: Text overflow issues in Global Search, Recent Activity, Search Filters, and Popovers for long classification names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants