feat(ui): update Common Components, Pages & Settings for lazy-load utility pattern - #29070
Conversation
…ility pattern Updates Common Components, MyData, Customization, DataAssets and remaining pages to import from extracted pure utility modules. Updates EntityUtils, BlockEditorUtils, formUtils, CuratedAssetsUtils imports. Updates Settings, Knowledge Center, Context Center components for consistent utility usage. Ref: open-metadata/openmetadata-collate#4230 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
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 |
🟡 Playwright Results — all passed (11 flaky)✅ 4287 passed · ❌ 0 failed · 🟡 11 flaky · ⏭️ 88 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 1 resolved / 1 findingsRefactors UI components to use the lazy-load utility pattern for improved module management. Address the manual raw ✅ 1 resolved✅ Quality: PageLayoutV1 injects raw <style> with interpolated className
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
…ility pattern (#29070) * feat(ui): update Common Components, Pages & Settings for lazy-load utility pattern Updates Common Components, MyData, Customization, DataAssets and remaining pages to import from extracted pure utility modules. Updates EntityUtils, BlockEditorUtils, formUtils, CuratedAssetsUtils imports. Updates Settings, Knowledge Center, Context Center components for consistent utility usage. Ref: open-metadata/openmetadata-collate#4230 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix build, test and checkstyle * fix checkstyle --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat(ui): update Common Components, Pages & Settings for lazy-load utility pattern (#29070) * feat(ui): update Common Components, Pages & Settings for lazy-load utility pattern Updates Common Components, MyData, Customization, DataAssets and remaining pages to import from extracted pure utility modules. Updates EntityUtils, BlockEditorUtils, formUtils, CuratedAssetsUtils imports. Updates Settings, Knowledge Center, Context Center components for consistent utility usage. Ref: open-metadata/openmetadata-collate#4230 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix build, test and checkstyle * fix checkstyle --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> * Fix 1.13 group 12 unit tests * Fix task description submit tests * Fix popup container imports * Fix block editor pure util imports --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat(ui): update Common Components, Pages & Settings for lazy-load utility pattern (#29070) * feat(ui): update Common Components, Pages & Settings for lazy-load utility pattern Updates Common Components, MyData, Customization, DataAssets and remaining pages to import from extracted pure utility modules. Updates EntityUtils, BlockEditorUtils, formUtils, CuratedAssetsUtils imports. Updates Settings, Knowledge Center, Context Center components for consistent utility usage. Ref: open-metadata/openmetadata-collate#4230 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix build, test and checkstyle * fix checkstyle --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> * Fix 1.13 group 12 unit tests * Fix task description submit tests * Fix popup container imports * Fix block editor pure util imports --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> (cherry picked from commit f5426b7)



Summary
Ref: open-metadata/openmetadata-collate#4230
Summary by Gitar
*PureUtils.ts) across multiple components and pages to support lazy-loading patterns.openmetadata-uito reflect the newPureUtilsstructure, includingEntityLineage,CuratedAssets,CSV, andSearchutilities.FullHeightWrappercomponent inPageLayoutV1by replacingstyledcomponents with scoped styles viauseMemofor better maintainability.BlockEditorUtilsby centralizingisHTMLStringlogic.CuratedAssetsWidgetto useAdvanceSearchProviderwith proper suspense handling.TableConstraintsModalpermission checks.BlockEditorhidden state.This will update automatically on new commits.