fix(teams): team header layout, heading truncation, hierarchy overflow, and teams tab empty state#27077
fix(teams): team header layout, heading truncation, hierarchy overflow, and teams tab empty state#27077harsh-vador merged 7 commits intomainfrom
Conversation
.../src/components/Settings/Team/TeamDetails/TeamsHeaderSection/TeamsHeadingLabel.component.tsx
Outdated
Show resolved
Hide resolved
🟡 Playwright Results — all passed (21 flaky)✅ 3458 passed · ❌ 0 failed · 🟡 21 flaky · ⏭️ 223 skipped
🟡 21 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
openmetadata-ui/src/main/resources/ui/src/components/Settings/Team/TeamDetails/teams.less
Show resolved
Hide resolved
...metadata-ui/src/main/resources/ui/src/components/Settings/Team/TeamDetails/TeamHierarchy.tsx
Outdated
Show resolved
Hide resolved
.../src/components/Settings/Team/TeamDetails/TeamsHeaderSection/TeamsHeadingLabel.component.tsx
Outdated
Show resolved
Hide resolved
Code Review ✅ Approved 3 resolved / 3 findingsFixes team header layout, heading truncation, hierarchy overflow, and empty state issues by using Typography's built-in ellipsis+tooltip, removing hardcoded white backgrounds to respect theme settings, and showing tooltips only when text is truncated. Three findings addressed with no remaining issues. ✅ 3 resolved✅ Quality: Use Typography's built-in ellipsis+tooltip instead of manual Tooltip
✅ Quality: Hardcoded
|
| Compact |
|
Was this helpful? React with 👍 / 👎 | Gitar
|
|
Failed to cherry-pick changes to the 1.12.5 branch. |



Describe your changes:
This PR improves the Settings → Teams team detail experience: header layout and display-name heading, sub-team table overflow, and a bug where the Teams tab showed an empty state after editing the display name.
Changes
TeamDetailsV1.tsx)justify-between), with a flexible, shrinkable title area (tw:flex-1 tw:min-w-0) so buttons no longer wrap unnecessarily.TeamsHeadingLabel.component.tsx)Typography.Title(withw-max-200) withTypographyfrom@openmetadata/ui-core-components.tw:truncatewith a wider cap:tw:max-w-1/3in read-only mode only (not applied while inline editing).Typographyfor consistency.Tooltip+ overflow container so the full name is available on hover when truncated.TeamHierarchy.tsx+teams.less)whitespace-nowrapon the Teams column, settable-layout: fixed, constrained the name column width, and used flex on the expandable first cell so long names ellipsis instead of overlapping the Type column.Tooltipon the team name link for the full display name on hover.TeamDetailsV1.tsx)childrenCountfrom a PATCH response did not match loaded children (e.g. after saving display name): show the add-team placeholder only when search is empty,childTeamListis empty,childrenCountis 0, and basic team data is not loading (lodashisEmptyfor search and list).Screen.Recording.2026-04-07.at.12.19.30.PM.mov
Fixes #27074
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>