Skip to content

Fixes #6896, #6897: Migrate antd Skeleton and Divider to core components - #34264

Merged
shah-harshit merged 8 commits into
mainfrom
shah-harshit/issues-6897-6896-fix
Oct 2, 2026
Merged

shah-harshit merged 8 commits into
mainfrom
shah-harshit/issues-6897-6896-fix

Conversation

@shah-harshit

@shah-harshit shah-harshit commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes https://github.com/open-metadata/openmetadata-collate/issues/6896
Fixes https://github.com/open-metadata/openmetadata-collate/issues/6897

This migrates every antd Skeleton and Divider in the OSS UI to the ui-core-components versions (Skeleton, SkeletonParagraph, Divider). Both tickets belong to the antd → core epic, and they touch many of the same files, so they're done together in one PR.

After this change, no file under openmetadata-ui/.../ui/src imports Skeleton or Divider from antd. There are no intentional exceptions.

Type of change:

  • Improvement

High-level design:

Skeleton mapping

  • active becomes pulse. A skeleton without active becomes animation={false}. SkeletonParagraph gets a new animation prop for this.
  • paragraph / title become SkeletonParagraph (rows, title). Custom width arrays are written out as explicit Skeleton bars.
  • Skeleton.Button / Input / Avatar become rounded / circular variants, using antd's pixel sizes:
    • Button: small 72×36, default 80×40, large 88×44 (OM overrides antd's @btn-height-* to 36/40/44), with antd's min-width kept on ButtonSkeleton
    • Input: small 120×24, default 160×32, large 200×40
    • Avatar: 40 (antd's avatar prop defaults to size large)
    • block becomes width="100%"
  • loading={x} becomes x ? skeleton : children. With no children it becomes x && skeleton.
  • Skeleton.interfaces.ts now uses the core SkeletonProps. ButtonSkeleton and LabelCountSkeleton were retyped to match, and callers that passed antd-only props were updated.

Divider mapping

  • type="vertical" becomes orientation="vertical".
  • Core Divider has no margins, so antd's defaults are added back:
    • Horizontal: tw:my-6
    • Vertical: tw:mx-2 tw:h-[0.9em] tw:self-center
    • Where an existing className already set a margin or height, it was kept.
  • Children become the label prop.
  • Inline #D9D9D9 styles were dropped. The line colour now comes from the design token.

LESS

  • Rules that targeted .ant-divider* / .ant-skeleton* on the migrated elements were moved onto the element as tw: classes, pointed at the element's own class, or removed:
    • feed-list-separator
    • app-install-verify-card
    • UserPermissions
    • chart
    • custom-node
    • settings-sso
    • alert-details-page
    • customise-home-modal
    • test-summary-custom-tooltip
    • welcome-screen
  • Rules that still apply to antd Card/Table loading states are left alone.

Playwright

  • Some specs wait for .ant-skeleton* to detach. Where the skeleton was migrated, that wait now resolves immediately. The next step in each of those specs waits for its own element, so behaviour doesn't change. The 3 that guard a migrated element now wait on a new hook (see Tests). The rest (task.ts, importUtils, and ones that already passed immediately on main) are left for a follow-up cleanup.

Tests:

Use cases covered

  • Loading skeletons and dividers render with core components. Their size, spacing, animation and visibility match the antd versions on main.

Test steps performed

  1. Merged main and resolved conflicts. ExploreV1.component.tsx and ExploreV1.test.tsx conflicted because main had already moved Explore to core components. Both files now match main.
  2. Checked that no antd imports remain. Scanned every .ts/.tsx file under src for Skeleton or Divider imported from antd, including multi-line imports. None remain.
  3. Measured the real antd sizes. Read the compiled app CSS from a running build (:8585) instead of antd's defaults. This showed that OM overrides antd's button heights to 36/40/44px, so Skeleton.Button was 72×36 / 80×40 / 88×44 in the app. Avatar skeletons default to 40px, the title-to-paragraph gap is 24px, and the row gap is 16px.
  4. Compared every migrated site with its antd version. All 101 changed source files, one site at a time, checking:
    • the default margins antd added (24px horizontal, 16px with a label, 8px either side of a vertical divider);
    • whether a vertical divider's parent is flex or grid;
    • skeleton size, shape and animation (active or static);
    • that loading/children still behave the same;
    • props that could be lost (data-testid, dashed, label styling);
    • LESS rules that targeted .ant-divider / .ant-skeleton on these elements;
    • Playwright and unit-test selectors that pointed at antd classes.
  5. Fixed the 22 gaps found (commit 9ae3a427979):
    • ButtonSkeleton heights and minimum width;
    • Skeleton.Button sizes in 5 components;
    • 40px avatars;
    • static loaders stay static, via a new animation prop on SkeletonParagraph;
    • TableDetailsPageSkeleton spacing;
    • vertical divider margins and heights in the user profile cards, alert config steps and ML feature rows;
    • summary-panel dividers stay hidden;
    • SCIM divider margin;
    • "Add Rule" label styling;
    • label gaps beside the icon or date in AppInstallVerifyCard and FeedListSeparator;
    • 3 Playwright waits.
    • follow-up (d5d59e1a5a6): dashed step connectors keep antd's 2px stroke (tw:border-r), and the alert owner loaders use antd's default 80×40 button size, because the extra-info-skeleton rule in alert-details-page.less is never imported.
  6. Rebuilt openmetadata-ui-core-components (yarn build) after adding the SkeletonParagraph animation prop.

Unit tests

  • Updated tests that mocked antd Skeleton or queried .ant-skeleton / .ant-divider. They now use role="separator", aria-hidden skeleton spans, or core mocks:
    • AlertsUtil
    • EntityStatusBadge
    • PlatformInsightsWidget
    • TestSuiteSummaryWidget
    • ColumnsSummaryList
    • CustomNode.utils
    • CustomNodeV1
    • ExploreV1
    • ExploreSearchCard
    • TagPage
  • jest --findRelatedTests <changed files>, after the gap fixes: 787/787 suites and 10161/10161 tests pass.
  • tsc --noEmit: no errors in the changed files. The one hit in UserProfileTeams.component.tsx:153 (the TeamsSelectableNew ref) is on a line this PR doesn't change and also exists on main.
  • ESLint, Prettier and organize-imports on the changed UI, Playwright and core-components files: 0 errors.
  • yarn tw-guard passes. yarn token-audit is unchanged from baseline.

Playwright (UI) tests

  • Fixed 3 waits that pointed at antd skeleton classes the PR removed. Those waits used to pass immediately without waiting for loading:
    • Pagination.spec.ts: waits for .total-data-assets-loader, a new class on the widget's loader.
    • DataContracts.spec.ts: uses waitForAllLoadersToDisappear(page, 'skeleton-card-loader').
    • utils/user.ts: waits for .button-skeleton, a new class on ButtonSkeleton.
  • Pruned the stale DataContracts.spec.ts entry in eslint-suppressions.json (count 4 → 3) so the Playwright lint step passes.
  • These specs have not been run locally; CI is the check.

UI screen recording / screenshots:

Not attached yet. Visual parity was checked by reading the code, not in a browser.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR is linked to a GitHub issue via Fixes above.
  • I have added tests (unit / integration / Playwright as applicable) and listed them above.

Replace every antd Skeleton/Divider import in the OSS UI with the
ui-core-components Skeleton, SkeletonParagraph and Divider. antd default
margins/sizes are reproduced with tw: classes so the light theme stays
unchanged, and LESS rules that targeted .ant-divider/.ant-skeleton on the
migrated elements are ported or removed.
@shah-harshit shah-harshit added UI UI specific issues safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check labels Sep 30, 2026
@shah-harshit shah-harshit self-assigned this Sep 30, 2026
@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit 2ce00b1eaee17a58f2b6d36d3a09d104f1ab283e in Playwright run 36970276086, attempt 1.

✅ 4685 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 1 skipped · 🧰 0 lifecycle flaky

Performance

Blocking targets: ✅ met · Optimization targets: 🟡 in progress

Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting.

🕒 Full workflow signal wall (to summary) 1h 57m 14s

⏱️ Max setup 5m 1s · max shard execution 19m 21s · max shard-job elapsed before upload 23m 21s · reporting 19s

🌐 222.61 requests/attempt · 2.20 app boots/UI scenario · 34.63% common-shard skew

Optimization targets still in progress:

  • Common shard skew was 34.63% (convergence target: at most 15%).
  • Browser traffic was 222.61 requests per attempt (convergence target: fewer than 200).
  • Application boot ratio was 2.2 per UI scenario (10949 boots / 4973 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard advanced-search-01 65 0 0 0 0 0
✅ Shard advanced-search-02 65 0 0 0 0 0
✅ Shard chromium-01 148 0 0 0 0 0
🟡 Shard chromium-02 127 0 1 0 0 0
✅ Shard chromium-03 145 0 0 0 0 0
✅ Shard chromium-04 147 0 0 0 0 0
✅ Shard chromium-05 177 0 0 0 0 0
✅ Shard chromium-06 186 0 0 0 0 0
✅ Shard chromium-07 131 0 0 0 0 0
✅ Shard chromium-08 173 0 0 0 0 0
✅ Shard chromium-09 142 0 0 0 0 0
✅ Shard chromium-10 171 0 0 0 0 0
✅ Shard chromium-11 137 0 0 0 0 0
✅ Shard chromium-12 227 0 0 0 0 0
✅ Shard chromium-13 142 0 0 0 0 0
✅ Shard chromium-14 164 0 0 0 0 0
✅ Shard chromium-15 179 0 0 0 0 0
✅ Shard chromium-16 162 0 0 0 0 0
✅ Shard chromium-17 147 0 0 0 0 0
✅ Shard chromium-18 159 0 0 0 0 0
✅ Shard chromium-19 164 0 0 0 0 0
✅ Shard chromium-20 146 0 0 0 0 0
✅ Shard chromium-21 136 0 0 0 0 0
✅ Shard chromium-22 156 0 0 0 0 0
✅ Shard chromium-23 156 0 0 1 0 0
✅ Shard chromium-24 177 0 0 0 0 0
✅ Shard chromium-25 156 0 0 0 0 0
✅ Shard chromium-26 153 0 0 0 0 0
✅ Shard data-asset-rules-01 65 0 0 0 0 0
✅ Shard domain-isolation-01 16 0 0 0 0 0
✅ Shard global-state-01 34 0 0 0 0 0
✅ Shard import-export-01 84 0 0 0 0 0
✅ Shard import-export-02 68 0 0 0 0 0
✅ Shard ingestion-01 41 0 0 0 0 0
✅ Shard ingestion-02 52 0 0 0 0 0
✅ Shard reindex-01 41 0 0 0 0 0
✅ Shard search-01 17 0 0 0 0 0
✅ Shard search-rbac-01 29 0 0 0 0 0
🟡 1 flaky test(s) (passed on retry)
  • Pages/CustomProperties.spec.ts › String (shard chromium-02, 1 retry)

📦 Download artifacts

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

@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 74%
74.67% (112233/150293) 60.18% (68880/114446) 61.5% (22884/37207)

@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ UI Checkstyle passed — lint findings in changed files

🔍 ESLint findings in this PR's files — 0 error(s), 199 warning(s)

Errors block the build. Warnings do not yet — they are rules whose backlog is still
being worked down, listed so this PR does not add to it. See docs/ui-code-quality-gate.md.

0 error(s), 199 warning(s) across 49 changed file(s).

Count Rule
151 react-hooks/exhaustive-deps
31 no-restricted-imports
8 openmetadata-imports/no-lower-layer-page-imports
6 openmetadata-imports/review-sequential-api-calls
2 openmetadata-imports/no-circular-imports
1 openmetadata-imports/no-cross-page-imports
All findings
Location Rule Message
🟡 src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:29:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:108:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:139:6 react-hooks/exhaustive-deps React Hook useCallback has missing dependencies: 'getResourcePermission' and 't'. Either include them or remove the dependency array.
🟡 src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:145:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchTemplates'. Either include it or remove the dependency array.
🟡 src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx:149:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchFunctions'. Either include it or remove the dependency array. Outer scope values like 'Fqn' aren't valid de
🟡 src/components/Alerts/AlertDetails/AlertDiagnosticInfo/AlertDiagnosticInfoTab.tsx:49:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchDiagnosticInfo'. Either include it or remove the dependency array.
🟡 src/components/Alerts/AlertDetails/AlertRecentEventsTab/AlertRecentEventsTab.tsx:97:5 react-hooks/exhaustive-deps React Hook useCallback has an unnecessary dependency: 'filter'. Either exclude it or remove the dependency array.
🟡 src/components/Alerts/AlertDetails/AlertRecentEventsTab/AlertRecentEventsTab.tsx:311:6 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'paging' and 't'. Either include them or remove the dependency array.
🟡 src/components/Alerts/AlertDetails/AlertRecentEventsTab/AlertRecentEventsTab.tsx:324:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'getAlertRecentEvents'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ContractSLACard/ContractSLA.component.tsx:182:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ContractSecurity/ContractSecurityCard.component.tsx:129:6 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 't' and 'tableColumnNameMap'. Either include them or remove the dependency array.
🟡 src/components/DataContract/ContractSecurityFormTab/ContractSecurityFormTab.tsx:419:5 react-hooks/exhaustive-deps React Hook useCallback has missing dependencies: 'dataClassificationFormItem', 'form', and 'onChange'. Either include them or remove the dependency array. If 'o
🟡 src/components/DataContract/ContractSecurityFormTab/ContractSecurityFormTab.tsx:454:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'form'. Either include it or remove the dependency array.
🟡 src/components/DataProducts/InputOutputPortsTab/PortsListView/PortsListView.component.tsx:176:8 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchPorts'. Either include it or remove the dependency array.
🟡 src/components/DataQuality/AddTestCaseList/AddTestCaseList.component.tsx:290:34 react-hooks/exhaustive-deps React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead.
🟡 src/components/DataQuality/AddTestCaseList/AddTestCaseList.component.tsx:323:35 react-hooks/exhaustive-deps React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead.
🟡 src/components/DataQuality/AddTestCaseList/AddTestCaseList.component.tsx:668:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchTestCases'. Either include it or remove the dependency array.
🟡 src/components/DataQuality/AddTestCaseList/AddTestCaseList.component.tsx:693:5 react-hooks/exhaustive-deps React Hook useCallback has an unnecessary dependency: 'fetchColumnOptions'. Either exclude it or remove the dependency array.
🟡 src/components/DataQuality/AddTestCaseList/AddTestCaseList.component.tsx:792:6 react-hooks/exhaustive-deps React Hook useMemo has an unnecessary dependency: 'items'. Either exclude it or remove the dependency array.
🟡 src/components/Entity/EntityVersionTimeLine/EntityVersionTimeLine.tsx:37:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'getResourceLimit'. Either include it or remove the dependency array.
🟡 src/components/Entity/EntityVersionTimeLine/EntityVersionTimeLine.tsx:95:6 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'maxVersions' and 't'. Either include them or remove the dependency array.
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:85:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:86:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:604:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:771:9 react-hooks/exhaustive-deps The 'handleTaskLinkClick' function makes the dependencies of useMemo Hook (at line 804) change on every render. Move it inside the useMemo callback. Alternative
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:842:25 openmetadata-imports/review-sequential-api-calls Review these sequential API requests. If they are independent, start them together with Promise.all/Promise.allSettled; keep sequencing only when data-dependent
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:925:5 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'updateTaskData'. Either include it or remove the dependency array.
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:1055:9 react-hooks/exhaustive-deps The 'onTaskReject' function makes the dependencies of useMemo Hook (at line 1820) change on every render. To fix this, wrap the definition of 'onTaskReject' in
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:1145:25 openmetadata-imports/review-sequential-api-calls Review these sequential API requests. If they are independent, start them together with Promise.all/Promise.allSettled; keep sequencing only when data-dependent
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:1179:25 openmetadata-imports/review-sequential-api-calls Review these sequential API requests. If they are independent, start them together with Promise.all/Promise.allSettled; keep sequencing only when data-dependent
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:1276:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:1420:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:1464:6 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'isActionLoading', 'isCreator', 'onTestCaseTaskDropdownClick', and 'permissions'. Either include them or remove the
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:1540:6 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'hasEditAccess', 'noSuggestionTaskMenuOptions', and 't'. Either include them or remove the dependency array.
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:1591:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'assigneesForm'. Either include it or remove the dependency array.
🟡 src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx:1792:9 react-hooks/exhaustive-deps The 'closeFeedEditor' function makes the dependencies of useMemo Hook (at line 1885) change on every render. To fix this, wrap the definition of 'closeFeedEdito
🟡 src/components/Explore/EntitySummaryPanel/ColumnSummaryList/ColumnsSummaryList.tsx:74:5 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'columnsPaging.limit'. Either include it or remove the dependency array.
🟡 src/components/Explore/EntitySummaryPanel/ColumnSummaryList/ColumnsSummaryList.tsx:80:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'fetchPaginatedColumns'. Either include it or remove the dependency array.
🟡 src/components/Explore/EntitySummaryPanel/ColumnSummaryList/ColumnsSummaryList.tsx:97:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchPaginatedColumns'. Either include it or remove the dependency array.
🟡 src/components/Explore/EntitySummaryPanel/ColumnSummaryList/ColumnsSummaryList.tsx:113:6 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'columns.length' and 'columnsPaging.total'. Either include them or remove the dependency array.
🟡 src/components/GlobalSearchBar/GlobalSearchBar.tsx:123:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 'updateSearchCriteria'. Either include it or remove the dependency array.
🟡 src/components/GlobalSearchBar/GlobalSearchBar.tsx:135:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'navigate'. Either include it or remove the dependency array.
🟡 src/components/GlobalSearchBar/GlobalSearchBar.tsx:144:28 react-hooks/exhaustive-deps React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead.
🟡 src/components/GlobalSearchBar/GlobalSearchBar.tsx:205:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'initNLP'. Either include it or remove the dependency array.
🟡 src/components/Glossary/GlossaryTerms/tabs/AssetsTabs.component.tsx:63:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/Glossary/GlossaryTerms/tabs/AssetsTabs.component.tsx:573:7 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'handlePagingChange'. Either include it or remove the dependency array.
🟡 src/components/Glossary/GlossaryTerms/tabs/AssetsTabs.component.tsx:829:7 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'onRemoveAsset'. Either include it or remove the dependency array. If 'onRemoveAsset' changes too often, find t
🟡 src/components/Glossary/GlossaryTerms/tabs/AssetsTabs.component.tsx:869:8 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'onAssetRemove'. Either include it or remove the dependency array.
🟡 src/components/Glossary/GlossaryTerms/tabs/AssetsTabs.component.tsx:900:8 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'onAssetClick'. Either include it or remove the dependency array. If 'onAssetClick' changes too often, find the p
🟡 src/components/Glossary/GlossaryTerms/tabs/AssetsTabs.component.tsx:906:8 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchCurrentEntity'. Either include it or remove the dependency array.

… and 149 more. Run make ui-checkstyle-changed locally for the full list.


Fix locally (fast - only checks files changed in this branch):

make ui-checkstyle-changed

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/components/ExploreV1/ExploreV1.component.tsx
#	openmetadata-ui/src/main/resources/ui/src/components/ExploreV1/ExploreV1.test.tsx
- ButtonSkeleton and Skeleton.Button replacements use OM's antd button
  heights (36/40/44, width 2x) and keep antd's min-width
- SkeletonParagraph gains an animation prop; static antd loaders stay static
- Avatar skeletons 40px (antd default size large)
- Restore vertical divider margins/heights lost with antd/LESS selectors
  (user profile cards, alert config steps, ML feature rows)
- Keep summary-panel dividers hidden, SCIM divider margin, label styling
- Point Playwright waits at hooks that still exist after the migration
DataContracts.spec no longer waits on .ant-skeleton-content, so its
suppressed violation count drops from 4 to 3.
- Dashed step connectors: the steps-form-container LESS set a 1px
  border on all sides of antd's zero-width divider, drawing a 2px dashed
  line; add the right border so the core divider matches.
- alert-details-page.less is never imported, so the extra-info-skeleton
  rule never applied and antd rendered its default 80x40 button
  skeleton; use that size.
Pruning the DataContracts.spec suppression lowered the
no-positional-locator baseline from 1099 to 1098.
@gitar-bot

gitar-bot Bot commented Oct 2, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · The migration changes loading and divider rendering across many UI components.

Migrates all antd Skeleton and Divider components in the OSS UI to ui-core-components versions across 101 changed source files. Skeleton sizing, spacing, and animation states are preserved through explicit pixel mappings; divider margins and orientations are restored with Tailwind classes. Updated 10 unit tests and 3 Playwright waits to use new selectors. No issues found.

Review coverage

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

🤖 Auto-approval Not enabled · Set up

Options

Display: compact → Counting what did not apply, without listing it.

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

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@sonarqubecloud

sonarqubecloud Bot commented Oct 2, 2026

Copy link
Copy Markdown

This branch was previously deployed

1 inactive deployment
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 skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants