Migrate IncidentManager table to core-ui Table component#27972
Migrate IncidentManager table to core-ui Table component#27972shah-harshit wants to merge 9 commits intomainfrom
Conversation
- Replace Ant Design Table with core-ui Table (react-aria-components) - Use plain renderRow function (matching DataQualityTab pattern) with static Table.Cell children and Table.Body dependencies to fix status/ severity/assignee columns stuck at loading skeleton - Fix popover max-height distortion by adding popoverClassName prop to IncidentStatusPopoverShell and applying tw:!max-h-none via react-aria className override - Update unit test mock for @openmetadata/ui-core-components to include Table component - Update e2e selector from Ant Design .ant-table-tbody to data-testid based tbody tr selector Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🟡 Playwright Results — all passed (15 flaky)✅ 4013 passed · ❌ 0 failed · 🟡 15 flaky · ⏭️ 86 skipped
🟡 15 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 |
848a8f6 to
fb3dd9f
Compare
fb3dd9f to
809a69c
Compare
Code Review ✅ Approved 2 resolved / 2 findingsMigrates IncidentManager table to the core-ui Table component and replaces brittle Ant Design selectors with data-testid attributes. Includes retry logic in TaskNavigation.spec.ts to resolve CI race conditions. ✅ 2 resolved✅ Edge Case: Loading skeleton renders outside table row/cell structure
✅ Bug: Table.Body dependencies array is incomplete
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Summary
Tablewith core-uiTable(react-aria-components) inIncidentManager.component.tsxrenderRowfunction with staticTable.Cellchildren andTable.Bodydependenciesprop (matchingDataQualityTabpattern)useOverlayPositionsettingmax-heightas inline style — addedpopoverClassNameprop toIncidentStatusPopoverShelland appliedtw:!max-h-noneto override@openmetadata/ui-core-componentsto includeTable.ant-table-tbodytodata-testidbasedtbody trselectorReference
https://github.com/open-metadata/openmetadata-collate/issues/3837
Test plan
yarn test src/components/IncidentManager/IncidentManager.test.tsxyarn playwright:run --grep IncidentManager🤖 Generated with Claude Code
Summary by Gitar
ant-tableselectors withdata-testidinIncidentManager.spec.ts.TaskNavigation.spec.tsto ensure task notifications appear before interaction, resolving CI race conditions.This will update automatically on new commits.