Refactor DataQualityTab table to ui-core components#27695
Refactor DataQualityTab table to ui-core components#27695shah-harshit merged 10 commits intomainfrom
Conversation
Replace the AntD table integration in DataQualityTab with ui-core Table APIs to align interaction behavior (sorting and selection) and improve consistency across data quality views. Made-with: Cursor
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
🟡 Playwright Results — all passed (11 flaky)✅ 3987 passed · ❌ 0 failed · 🟡 11 flaky · ⏭️ 86 skipped
🟡 11 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 |
Code Review 👍 Approved with suggestions 3 resolved / 4 findingsRefactors DataQualityTab to use ui-core-components and addresses sorting, state handling, and skeleton rendering issues. Replace the brittle .ant-table-cell fallback selector with a more stable alternative. 💡 Edge Case: Brittle .ant-table-cell selector in fallback path📄 openmetadata-ui/src/main/resources/ui/playwright/utils/dataContracts.ts:156-159 The fallback locator at line 158 uses Consider using a more resilient selector (e.g., a Suggested fix✅ 3 resolved✅ Bug: Duplicate skeleton loading state rendered outside Table
✅ Bug: Cannot return to default status-based sort order
✅ Edge Case: handleStatusSubmit may misfire when fullyQualifiedName is absent
🤖 Prompt for agentsOptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Summary
DataQualityTabfrom the legacy AntD table wrapper to@openmetadata/ui-core-componentsTableSortDescriptor,Selection) and remove oldantdtable-specific callbacks/configRelated issue
Closes https://github.com/open-metadata/openmetadata-collate/issues/3837
Test plan
Last Run,Name,Table, andColumnMade with Cursor
Summary by Gitar
max-wforDataQualityTabcells totw:max-w-20for improved layout responsiveness.BundleSuiteBulkOperationsto uselabel[slot="selection"]selectors for table interaction.This will update automatically on new commits.