Skip to content

fix(ui): prevent schedule column text from wrapping mid-word in pipeline table#30205

Merged
ShaileshParmar11 merged 3 commits into
open-metadata:mainfrom
ShaileshParmar11:claude/schedule-wrapping-fix-76cdb2
Jul 20, 2026
Merged

fix(ui): prevent schedule column text from wrapping mid-word in pipeline table#30205
ShaileshParmar11 merged 3 commits into
open-metadata:mainfrom
ShaileshParmar11:claude/schedule-wrapping-fix-76cdb2

Conversation

@ShaileshParmar11

@ShaileshParmar11 ShaileshParmar11 commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

issue

image

fix

image

Problem

In the pipeline table (test-suite Data Observability tab and the ingestion list table), the Schedule column text broke character-by-character — e.g. "At 12:00 AM" rendered as "At 12:", "00", "AM" stacked vertically.

The schedule cell renders its two text lines inside a wrap={false} Ant Design flex row. With wrap={false}, the flex items don't wrap but the text column still shrinks below its content width, so the text itself wrapped mid-word.

Fix

Add whitespace-nowrap to both schedule detail lines (schedule-primary-details and schedule-secondary-details) in ScheduleFieldCell so each stays on a single line within the fixed-width column.

Verification

  • UI checkstyle — organize-imports + eslint + prettier pass clean; diff is only the two className additions.
  • DOM measurement — both lines now compute whiteSpace: nowrap and render on a single line (85px and 56px wide, inside the 176px column).
  • Visual — confirmed in the running UI at laptop width: "At 12:00 AM" / "Every day" display on two tidy lines.

Before

"At 12:" / "00" / "AM" wrapping vertically in the Schedule column.

After

"At 12:00 AM" / "Every day" — clean two-line layout, no mid-word breaks.

🤖 Generated with Claude Code


Summary by Gitar

  • Layout improvements:
    • Constrained column width in TestSuitePipelineTab and IngestionListTable to prevent layout breaking.
    • Applied flex="auto" and tw:min-w-0 to schedule column containers to ensure proper truncation behavior.
  • UI behavior:
    • Replaced whitespace-nowrap with ellipsis on schedule details to safely handle long descriptions.

This will update automatically on new commits.

Greptile Summary

This PR improves Schedule column rendering in pipeline tables. The main changes are:

  • Adds fixed-width constraints to the Test Suite pipeline Schedule cell.
  • Makes the schedule icon and text use explicit flex sizing.
  • Truncates long schedule details with hover tooltips.

Confidence Score: 5/5

This looks safe to merge.

  • No new blocking issue distinct from the previously reported schedule overflow case was found.

Important Files Changed

Filename Overview
openmetadata-ui/src/main/resources/ui/src/components/DataQuality/TestSuite/TestSuitePipelineTab/TestSuitePipelineTab.component.tsx Caps the Test Suite pipeline Schedule cell at its configured width.
openmetadata-ui/src/main/resources/ui/src/utils/IngestionListTableUtils.tsx Updates schedule content sizing and adds ellipsis tooltips to both detail lines.

Reviews (3): Last reviewed commit: "fix(ui): drop redundant maxWidth onCell ..." | Re-trigger Greptile

Context used (3)

  • Context used - CLAUDE.md (source)
  • Context used - openmetadata-ui-core-components/CLAUDE.md (source)
  • Context used - AGENTS.md (source)

…ine table

The Schedule cell in the ingestion/test-suite pipeline table rendered its
text inside a `wrap={false}` flex row where the text column shrinks, causing
"At 12:00 AM" / "Every day" to break character-by-character. Add
`whitespace-nowrap` to both schedule detail lines so each stays on a single
line within the fixed-width column.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ShaileshParmar11
ShaileshParmar11 requested a review from a team as a code owner July 18, 2026 16:31
Copilot AI review requested due to automatic review settings July 18, 2026 16:31

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Jul 18, 2026
Comment thread openmetadata-ui/src/main/resources/ui/src/utils/IngestionListTableUtils.tsx Outdated
@github-actions

github-actions Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 65%
65.1% (75639/116178) 48.88% (45067/92187) 49.7% (13639/27442)

… overflowing

Addresses review feedback: whitespace-nowrap alone prevents the mid-word break
but lets long verbose cron descriptions (e.g. "On day 1 of the month, only in
January") expand the auto-layout column and overflow the 150–176px Schedule cell.

Replace the plain nowrap with antd Typography ellipsis + tooltip in
ScheduleFieldCell (min-w-0 flex column so it can shrink), and cap the schedule
cell width at both call sites (tw:max-w-44 on the core-components cell, maxWidth
onCell on the antd column) so ellipsis engages. Short schedules render on one
line each; long ones truncate with the full text available on hover.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 18, 2026 17:32

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

github-actions Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

🟡 Playwright Results — all passed (31 flaky)

✅ 4540 passed · ❌ 0 failed · 🟡 31 flaky · ⏭️ 95 skipped

Shard Passed Failed Flaky Skipped
🟡 Shard 1 436 0 4 16
✅ Shard 2 11 0 0 0
🟡 Shard 3 823 0 9 8
🟡 Shard 4 820 0 3 18
🟡 Shard 5 838 0 3 5
🟡 Shard 6 787 0 1 46
🟡 Shard 7 825 0 11 2
🟡 31 flaky test(s) (passed on retry)
  • Flow/TestConnectionModal.spec.ts › success state shows Done button and hides Edit Connection and Retry Test (shard 1, 1 retry)
  • Pages/Lineage/LineageRightPanel.spec.ts › Verify custom properties tab IS visible for supported type: metric (shard 1, 1 retry)
  • Pages/SearchSettings.spec.ts › Latest preview config wins when a superseded request resolves late (shard 1, 1 retry)
  • Flow/SearchRBAC.spec.ts › the browse tree only shows the asset-type categories a user can access (shard 1, 1 retry)
  • Features/ContextCenterArchive.spec.ts › archive page lazy-loads more rows on scroll within its own scroll container (shard 3, 1 retry)
  • Features/ContextCenterArticles.spec.ts › Article listing search filters, clears, and shows empty state (shard 3, 1 retry)
  • Features/ContextCenterArticles.spec.ts › Article list cards, recently viewed widget, and pagination work (shard 3, 1 retry)
  • Features/ContextCenterArticles.spec.ts › Article edit persistence and unsaved title behavior are correct (shard 3, 2 retries)
  • Features/ContextCenterDocument.spec.ts › bulk delete 2 documents removes them from the list and both appear in the archive (shard 3, 1 retry)
  • Features/ContextCenterMemories.spec.ts › adding a linked asset in edit mode shows entity badge on the row (shard 3, 1 retry)
  • Features/ContextCenterPermission.spec.ts › user with editAll permission cannot see create or delete actions, and can move an article under another article (shard 3, 1 retry)
  • Features/CuratedAssets.spec.ts › Test Containers with display name filter (shard 3, 1 retry)
  • Features/Glossary/GlossaryAdvancedOperations.spec.ts › should remove domain from glossary (shard 3, 1 retry)
  • Features/Glossary/GlossaryTermRelationsGraphNested.spec.ts › viewing a child term: parent appears as a 1-hop neighbour via parentOf edge (shard 4, 1 retry)
  • Features/Glossary/GlossaryTermRelationsGraphNested.spec.ts › viewing a child term: parentOf edge is rendered between parent and child (shard 4, 1 retry)
  • Features/SearchExport.spec.ts › Export queues a background job and downloads from the jobs tray (shard 4, 1 retry)
  • Pages/CustomProperties.spec.ts › Date (shard 5, 1 retry)
  • Pages/CustomProperties.spec.ts › Timestamp (shard 5, 1 retry)
  • Pages/DataContracts.spec.ts › Contract Status badge should be visible on condition if Contract Tab is present/hidden by Persona (shard 5, 1 retry)
  • Pages/Entity.spec.ts › Tier Add, Update and Remove (shard 6, 1 retry)
  • Features/AutoPilot.spec.ts › Agents created by AutoPilot should be deleted (shard 7, 1 retry)
  • Pages/ExplorePageRightPanel.spec.ts › Should allow Data Steward to edit tier for dashboardDataModel (shard 7, 1 retry)
  • Pages/Glossary.spec.ts › Approve and reject glossary term from Glossary Listing (shard 7, 2 retries)
  • Pages/GlossaryImportExport.spec.ts › Glossary Bulk Import Export (shard 7, 2 retries)
  • Pages/GlossaryImportExport.spec.ts › Import partial success - some terms pass, some fail (shard 7, 1 retry)
  • Pages/InputOutputPorts.spec.ts › Output ports section collapse/expand (shard 7, 1 retry)
  • Pages/Lineage/LineageFilters.spec.ts › Verify Impact Analysis service filter selection (shard 7, 1 retry)
  • Pages/Lineage/LineageRightPanel.spec.ts › Verify custom properties tab is NOT visible for pipelineService in platform lineage (shard 7, 1 retry)
  • Pages/Lineage/LineageRightPanel.spec.ts › Verify custom properties tab is NOT visible for apiService in platform lineage (shard 7, 1 retry)
  • Pages/ServiceEntity.spec.ts › Tier Add, Update and Remove (shard 7, 1 retry)
  • ... and 1 more

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

The shared Table wrapper renders antd with tableLayout="fixed", so the
column's width: 150 is already a hard cap via colgroup and the inner
ellipsis engages without any extra max-width. Verified: fixed layout with
colgroup width:150 yields identical results with and without max-width
(cell 150px, ellipsis engaged).

The core-components table in TestSuitePipelineTab is table-layout: auto,
so it still needs both tw:w-44 (holds the target width) and tw:max-w-44
(prevents content-driven growth).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 20, 2026 05:37

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sonarqubecloud

Copy link
Copy Markdown

@ShaileshParmar11
ShaileshParmar11 merged commit 3be90f4 into open-metadata:main Jul 20, 2026
51 of 54 checks passed
@gitar-bot

gitar-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Prevents mid-word line wrapping and layout overflow in the pipeline table by constraining column widths and enabling ellipsis truncation for schedule descriptions. No issues found.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@ShaileshParmar11
ShaileshParmar11 deleted the claude/schedule-wrapping-fix-76cdb2 branch July 20, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants