Skip to content

feat(ui): extract EntitySort/Permission/Column/Breadcrumb/SummaryPanel etc pure utils - #28740

Merged
shah-harshit merged 3 commits into
mainfrom
feat/extract-entity-misc-utils
Jun 8, 2026
Merged

shah-harshit merged 3 commits into
mainfrom
feat/extract-entity-misc-utils

Conversation

@shah-harshit

Copy link
Copy Markdown
Contributor

Summary

Splits EntityPureUtils.ts, EntityUtils.tsx, EntityBreadcrumbUtils.tsx, and EntitySummaryPanelUtils.tsx into domain-specific modules:

  • EntitySortUtils.ts: columnSorter, getColumnSorter
  • EntityPermissionUtils.ts: hasSchemaTab, hasLineageTab, hasCustomPropertiesTab, hasEditAccess
  • EntityVoteUtils.ts: getEntityVoteStatus
  • EntityTagUtils.ts: getEntityTags
  • EntitySearchUtils.tsx: searchInColumns, highlightEntityNameAndDescription, highlightSearchText, highlightSearchArrayElement
  • EntityColumnUtils.tsx: checkIfJoinsAvailable, getFrequentlyJoinedWithColumns, getFrequentlyJoinedColumns
  • EntityReferenceUtils.ts: getEntityReferenceFromEntity, getEntityReferenceListFromEntities
  • EntityDetailComponentUtils.tsx: getEntityDetailComponent
  • EntityBreadcrumbPureUtils.ts: pure breadcrumb builders extracted from EntityBreadcrumbUtils.tsx
  • EntitySummaryPanelPureUtils.ts / EntitySummaryPanelPureUtilsV1.ts: pure summary panel helpers

All source files re-export moved symbols for full backward compat — no consumer changes required.

Test plan

  • npx tsc --noEmit — 0 errors in changed files
  • yarn lint:fix — 0 new errors
  • All existing imports from original paths resolve via re-exports

🤖 Generated with Claude Code

shah-harshit and others added 2 commits June 5, 2026 13:18
…tils, EntityTagUtils, EntitySearchUtils, EntityColumnUtils, EntityBreadcrumbPureUtils, EntitySummaryPanelPureUtils from EntityPureUtils/EntityUtils/EntityBreadcrumbUtils/EntitySummaryPanelUtils

- Extract columnSorter/getColumnSorter → EntitySortUtils.ts
- Extract hasSchemaTab/hasLineageTab/hasCustomPropertiesTab/hasEditAccess → EntityPermissionUtils.ts
- Extract getEntityVoteStatus → EntityVoteUtils.ts
- Extract getEntityTags → EntityTagUtils.ts
- Extract searchInColumns/highlightEntityNameAndDescription/highlightSearchText/highlightSearchArrayElement → EntitySearchUtils.tsx
- Extract getEntityReferenceFromEntity/getEntityReferenceListFromEntities → EntityReferenceUtils.ts
- Extract getFrequentlyJoinedColumns → EntityColumnUtils.tsx (new file)
- Move all pure breadcrumb functions → EntityBreadcrumbPureUtils.ts; EntityBreadcrumbUtils.tsx becomes re-export facade
- Extract getSummaryListItemType/getSortedTagsWithHighlight/getMapOfListHighlights/getHighlightOfListItem/toEntityData → EntitySummaryPanelPureUtils.ts
- Extract filterItemsBySearchText/filterNestedFields → EntitySummaryPanelPureUtilsV1.ts (imported instead of redefined)
- Add backward-compat re-exports in all source files so existing imports continue to work

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…tils, EntityTagUtils, EntitySearchUtils, EntityDetailComponentUtils, EntityBreadcrumbPureUtils, EntitySummaryPanelPureUtils from EntityPureUtils/EntityUtils/EntityBreadcrumbUtils

Split EntityPureUtils.ts into domain-specific modules:
- EntitySortUtils.ts: columnSorter, getColumnSorter
- EntityPermissionUtils.ts: hasSchemaTab, hasLineageTab, hasCustomPropertiesTab, hasEditAccess
- EntityVoteUtils.ts: getEntityVoteStatus
- EntityTagUtils.ts: getEntityTags
- EntitySearchUtils.tsx: searchInColumns, highlightEntityNameAndDescription, highlightSearchText, highlightSearchArrayElement
- EntityColumnUtils.tsx: checkIfJoinsAvailable, getFrequentlyJoinedWithColumns, getFrequentlyJoinedColumns
- EntityReferenceUtils.ts: getEntityReferenceFromEntity, getEntityReferenceListFromEntities
- EntityDetailComponentUtils.tsx: getEntityDetailComponent
- EntityBreadcrumbPureUtils.ts: pure breadcrumb builders from EntityBreadcrumbUtils.tsx
- EntitySummaryPanelPureUtils.ts: pure summary panel helpers from EntitySummaryPanelUtils.tsx
- EntitySummaryPanelPureUtilsV1.ts: pure v1 summary panel helpers

All source files re-export moved symbols for backward compat.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@shah-harshit
shah-harshit requested a review from a team as a code owner June 5, 2026 07:51
@github-actions

github-actions Bot commented Jun 5, 2026

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. Add a closing reference such as Fixes #12345 to the PR description (accepted keywords: Fixes, Closes, Resolves).

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 commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@shah-harshit shah-harshit self-assigned this Jun 5, 2026
@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 Jun 5, 2026
@shah-harshit shah-harshit changed the title feat(ui): extract EntitySort/Permission/Vote/Tag/Search/Column/Breadcrumb/SummaryPanel pure utils (PR #11) feat(ui): extract EntitySort/Permission/Column/Breadcrumb/SummaryPanel etc pure utils Jun 5, 2026
@github-actions

github-actions Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 63%
63.39% (67334/106207) 44.29% (36985/83490) 46.75% (11164/23878)

@github-actions

github-actions Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

🟡 Playwright Results — all passed (17 flaky)

✅ 4263 passed · ❌ 0 failed · 🟡 17 flaky · ⏭️ 88 skipped

Shard Passed Failed Flaky Skipped
🟡 Shard 1 300 0 1 4
🟡 Shard 2 800 0 4 9
🟡 Shard 3 800 0 5 8
🟡 Shard 4 852 0 3 12
🟡 Shard 5 720 0 1 47
🟡 Shard 6 791 0 3 8
🟡 17 flaky test(s) (passed on retry)
  • Features/EntityRenameConsolidation.spec.ts › Classification - multiple rename + update cycles should preserve tags (shard 1, 1 retry)
  • Features/AdvancedSearch.spec.ts › Verify All conditions for Display Name field (shard 2, 1 retry)
  • Features/DataQuality/ColumnLevelTests.spec.ts › Column Values To Be Not Null (shard 2, 1 retry)
  • Features/Glossary/GlossaryWorkflow.spec.ts › should display correct status badge color and icon (shard 2, 1 retry)
  • Features/Glossary/GlossaryWorkflow.spec.ts › should start term as Draft when glossary has reviewers (shard 2, 1 retry)
  • Features/RTL.spec.ts › Verify Following widget functionality (shard 3, 1 retry)
  • Features/Table.spec.ts › Table pagination with sorting should works (shard 3, 1 retry)
  • Features/Tasks/TaskNavigation.spec.ts › navigating to /table/TASK-XXXXX should show 404 (invalid URL pattern) (shard 3, 1 retry)
  • Flow/ExploreAggregationCountsMatching.spec.ts › should verify left panel counts and tab search results for normal search (shard 3, 1 retry)
  • Flow/LineageSettings.spec.ts › Verify global lineage config (shard 3, 1 retry)
  • Flow/PersonaFlow.spec.ts › Set default persona for team should work properly (shard 4, 1 retry)
  • Pages/CustomProperties.spec.ts › Timestamp (shard 4, 1 retry)
  • Pages/DataContractsSemanticRules.spec.ts › Validate Description Rule Is_Not_Set (shard 4, 1 retry)
  • Pages/ExplorePageRightPanel_KnowledgeCenter.spec.ts › Should remove user owner for knowledgeCenter (shard 5, 1 retry)
  • Pages/Lineage/LineageFilters.spec.ts › Verify lineage service type filter selection (shard 6, 1 retry)
  • Pages/Lineage/LineageFilters.spec.ts › Verify lineage schema filter selection (shard 6, 1 retry)
  • Pages/ODCSImportExport.spec.ts › Multi-object ODCS contract - object selector shows all schema objects (shard 6, 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

…EntityPureUtils/EntityBreadcrumbPureUtils)

No consumers anywhere in the codebase. 7 of 10 exports already exist in
EntityPureUtils.ts, getEntityLinkFromType already in EntityBreadcrumbPureUtils.ts.
Deleting avoids dual-copy maintenance hazard.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

@shah-harshit
shah-harshit enabled auto-merge (squash) June 8, 2026 08:02
@shah-harshit
shah-harshit merged commit 4699608 into main Jun 8, 2026
49 checks passed
@shah-harshit
shah-harshit deleted the feat/extract-entity-misc-utils branch June 8, 2026 09:47
@gitar-bot

gitar-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 1 resolved / 1 findings

Refactors monolithic entity utility files into domain-specific modules while maintaining backward compatibility via re-exports. Remove the unused, redundant EntityLinkUtils.ts file.

✅ 1 resolved
✅ Quality: New EntityLinkUtils.ts is unused and duplicates existing logic

📄 openmetadata-ui/src/main/resources/ui/src/utils/EntityLinkUtils.ts:80 📄 openmetadata-ui/src/main/resources/ui/src/utils/EntityLinkUtils.ts:58 📄 openmetadata-ui/src/main/resources/ui/src/utils/EntityLinkUtils.ts:76 📄 openmetadata-ui/src/main/resources/ui/src/utils/EntityLinkUtils.ts:203 📄 openmetadata-ui/src/main/resources/ui/src/utils/EntityLinkUtils.ts:207 📄 openmetadata-ui/src/main/resources/ui/src/utils/EntityLinkUtils.ts:214 📄 openmetadata-ui/src/main/resources/ui/src/utils/EntityLinkUtils.ts:228 📄 openmetadata-ui/src/main/resources/ui/src/utils/EntityBreadcrumbPureUtils.ts:561
The new file EntityLinkUtils.ts (+277 lines) is not imported anywhere in the codebase (grep for importers returns nothing). It re-implements logic that already exists elsewhere as part of this same PR/refactor:

  • getEntityLinkFromType is defined identically in both EntityLinkUtils.ts:80 and EntityBreadcrumbPureUtils.ts:561 (the latter is the one actually wired up via EntityBreadcrumbUtils.tsx → EntityUtils.tsx).
  • getEntityFeedLink, getEntityUserLink, getColumnNameFromEntityLink, getEntityImportPath, getEntityBulkEditPath, and updateNodeType duplicate definitions that still live in EntityPureUtils.ts.

Shipping a second, dead copy of routing/link logic creates a real maintenance hazard: future edits to one copy (e.g. adding a new EntityType case to getEntityLinkFromType) will silently diverge from the other, and the unused file adds to bundle/parse surface and reviewer confusion. For a refactor whose stated goal is to split files into single-source-of-truth modules, having two competing copies of getEntityLinkFromType undercuts that goal.

Suggested fix: either delete EntityLinkUtils.ts entirely if it is not intended to be the canonical home for these helpers, or — if it IS meant to be canonical — have EntityBreadcrumbPureUtils.ts and EntityPureUtils.ts re-export from it instead of redefining, and wire consumers accordingly. Pick one source of truth.

Options

Display: compact → Showing less information.

Comment with these commands to change:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

shah-harshit added a commit that referenced this pull request Jul 14, 2026
…l etc pure utils (#28740)

* feat(ui): extract EntitySortUtils, EntityPermissionUtils, EntityVoteUtils, EntityTagUtils, EntitySearchUtils, EntityColumnUtils, EntityBreadcrumbPureUtils, EntitySummaryPanelPureUtils from EntityPureUtils/EntityUtils/EntityBreadcrumbUtils/EntitySummaryPanelUtils

- Extract columnSorter/getColumnSorter → EntitySortUtils.ts
- Extract hasSchemaTab/hasLineageTab/hasCustomPropertiesTab/hasEditAccess → EntityPermissionUtils.ts
- Extract getEntityVoteStatus → EntityVoteUtils.ts
- Extract getEntityTags → EntityTagUtils.ts
- Extract searchInColumns/highlightEntityNameAndDescription/highlightSearchText/highlightSearchArrayElement → EntitySearchUtils.tsx
- Extract getEntityReferenceFromEntity/getEntityReferenceListFromEntities → EntityReferenceUtils.ts
- Extract getFrequentlyJoinedColumns → EntityColumnUtils.tsx (new file)
- Move all pure breadcrumb functions → EntityBreadcrumbPureUtils.ts; EntityBreadcrumbUtils.tsx becomes re-export facade
- Extract getSummaryListItemType/getSortedTagsWithHighlight/getMapOfListHighlights/getHighlightOfListItem/toEntityData → EntitySummaryPanelPureUtils.ts
- Extract filterItemsBySearchText/filterNestedFields → EntitySummaryPanelPureUtilsV1.ts (imported instead of redefined)
- Add backward-compat re-exports in all source files so existing imports continue to work

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* feat(ui): extract EntitySortUtils, EntityPermissionUtils, EntityVoteUtils, EntityTagUtils, EntitySearchUtils, EntityDetailComponentUtils, EntityBreadcrumbPureUtils, EntitySummaryPanelPureUtils from EntityPureUtils/EntityUtils/EntityBreadcrumbUtils

Split EntityPureUtils.ts into domain-specific modules:
- EntitySortUtils.ts: columnSorter, getColumnSorter
- EntityPermissionUtils.ts: hasSchemaTab, hasLineageTab, hasCustomPropertiesTab, hasEditAccess
- EntityVoteUtils.ts: getEntityVoteStatus
- EntityTagUtils.ts: getEntityTags
- EntitySearchUtils.tsx: searchInColumns, highlightEntityNameAndDescription, highlightSearchText, highlightSearchArrayElement
- EntityColumnUtils.tsx: checkIfJoinsAvailable, getFrequentlyJoinedWithColumns, getFrequentlyJoinedColumns
- EntityReferenceUtils.ts: getEntityReferenceFromEntity, getEntityReferenceListFromEntities
- EntityDetailComponentUtils.tsx: getEntityDetailComponent
- EntityBreadcrumbPureUtils.ts: pure breadcrumb builders from EntityBreadcrumbUtils.tsx
- EntitySummaryPanelPureUtils.ts: pure summary panel helpers from EntitySummaryPanelUtils.tsx
- EntitySummaryPanelPureUtilsV1.ts: pure v1 summary panel helpers

All source files re-export moved symbols for backward compat.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* fix: remove unused EntityLinkUtils.ts (all exports are duplicates of EntityPureUtils/EntityBreadcrumbPureUtils)

No consumers anywhere in the codebase. 7 of 10 exports already exist in
EntityPureUtils.ts, getEntityLinkFromType already in EntityBreadcrumbPureUtils.ts.
Deleting avoids dual-copy maintenance hazard.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
shah-harshit added a commit that referenced this pull request Jul 15, 2026
* feat(ui): extract form/search etc pure utils (#28704)

* feat(ui): extract form/search/query/advanced-search/explore/classification/tags/glossary/knowledge-page pure utils

Create *PureUtils.ts files for framework-independent logic extracted from:
- formUtils.tsx → formPureUtils.ts (transformErrors, getPopupContainer, etc.)
- SearchUtils.tsx → SearchPureUtils.ts (getEntityTypeFromSearchIndex, parseBucketsData, getTermQuery)
- QueryBuilderUtils.tsx → QueryBuilderPureUtils.ts (all non-JSX query builder logic)
- AdvancedSearchUtils.tsx → AdvancedSearchPureUtils.ts (filter/option builders)
- ExploreUtils.tsx → ExplorePureUtils.ts (URL parsing, tree/filter utils)
- ClassificationUtils.tsx → ClassificationPureUtils.ts (getDeleteButtonData, getClassificationInfo)
- TagsUtils.tsx → TagsPureUtils.ts (tag creation/query/redirect helpers)
- GlossaryUtils.tsx → GlossaryPureUtils.ts (tree builders, breadcrumbs, validators)
- KnowledgePageUtils.tsx → KnowledgePagePureUtils.ts (page hierarchy/path/tree utils)

Original files retain JSX/singleton functions and re-export all pure symbols for backward compat.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* fix(ui): import getTermQuery from SearchPureUtils and getQueryFilterToIncludeApprovedTerm from GlossaryPureUtils

TagsPureUtils was importing from SearchUtils.tsx (React/SVG-heavy) and TagsUtils.tsx
from GlossaryUtils instead of their pure counterparts, defeating the purity goal.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>

* feat(ui): extract EntitySort/Permission/Column/Breadcrumb/SummaryPanel etc pure utils (#28740)

* feat(ui): extract EntitySortUtils, EntityPermissionUtils, EntityVoteUtils, EntityTagUtils, EntitySearchUtils, EntityColumnUtils, EntityBreadcrumbPureUtils, EntitySummaryPanelPureUtils from EntityPureUtils/EntityUtils/EntityBreadcrumbUtils/EntitySummaryPanelUtils

- Extract columnSorter/getColumnSorter → EntitySortUtils.ts
- Extract hasSchemaTab/hasLineageTab/hasCustomPropertiesTab/hasEditAccess → EntityPermissionUtils.ts
- Extract getEntityVoteStatus → EntityVoteUtils.ts
- Extract getEntityTags → EntityTagUtils.ts
- Extract searchInColumns/highlightEntityNameAndDescription/highlightSearchText/highlightSearchArrayElement → EntitySearchUtils.tsx
- Extract getEntityReferenceFromEntity/getEntityReferenceListFromEntities → EntityReferenceUtils.ts
- Extract getFrequentlyJoinedColumns → EntityColumnUtils.tsx (new file)
- Move all pure breadcrumb functions → EntityBreadcrumbPureUtils.ts; EntityBreadcrumbUtils.tsx becomes re-export facade
- Extract getSummaryListItemType/getSortedTagsWithHighlight/getMapOfListHighlights/getHighlightOfListItem/toEntityData → EntitySummaryPanelPureUtils.ts
- Extract filterItemsBySearchText/filterNestedFields → EntitySummaryPanelPureUtilsV1.ts (imported instead of redefined)
- Add backward-compat re-exports in all source files so existing imports continue to work

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* feat(ui): extract EntitySortUtils, EntityPermissionUtils, EntityVoteUtils, EntityTagUtils, EntitySearchUtils, EntityDetailComponentUtils, EntityBreadcrumbPureUtils, EntitySummaryPanelPureUtils from EntityPureUtils/EntityUtils/EntityBreadcrumbUtils

Split EntityPureUtils.ts into domain-specific modules:
- EntitySortUtils.ts: columnSorter, getColumnSorter
- EntityPermissionUtils.ts: hasSchemaTab, hasLineageTab, hasCustomPropertiesTab, hasEditAccess
- EntityVoteUtils.ts: getEntityVoteStatus
- EntityTagUtils.ts: getEntityTags
- EntitySearchUtils.tsx: searchInColumns, highlightEntityNameAndDescription, highlightSearchText, highlightSearchArrayElement
- EntityColumnUtils.tsx: checkIfJoinsAvailable, getFrequentlyJoinedWithColumns, getFrequentlyJoinedColumns
- EntityReferenceUtils.ts: getEntityReferenceFromEntity, getEntityReferenceListFromEntities
- EntityDetailComponentUtils.tsx: getEntityDetailComponent
- EntityBreadcrumbPureUtils.ts: pure breadcrumb builders from EntityBreadcrumbUtils.tsx
- EntitySummaryPanelPureUtils.ts: pure summary panel helpers from EntitySummaryPanelUtils.tsx
- EntitySummaryPanelPureUtilsV1.ts: pure v1 summary panel helpers

All source files re-export moved symbols for backward compat.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* fix: remove unused EntityLinkUtils.ts (all exports are duplicates of EntityPureUtils/EntityBreadcrumbPureUtils)

No consumers anywhere in the codebase. 7 of 10 exports already exist in
EntityPureUtils.ts, getEntityLinkFromType already in EntityBreadcrumbPureUtils.ts.
Deleting avoids dual-copy maintenance hazard.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>

* feat(ui): lazy-load all SettingsRouter, EntityRouter, and EntityImportRouter pages (PR #14) (#28797)

Convert 47 eager page/component imports in SettingsRouter.tsx to React.lazy()
+ withSuspenseFallback() so the settings chunk is not part of the main bundle.
Also lazify EntityVersionPage in EntityRouter and BulkEntityImportPage in
EntityImportRouter.

- SettingsRouter.tsx: 47 imports → React.lazy() with webpack chunk splitting
- EntityRouter.tsx: EntityVersionPage → lazy
- EntityImportRouter.tsx: BulkEntityImportPage → lazy
- Named exports use .then((m) => ({ default: m.X })) pattern

Co-authored-by: Claude Sonnet 4.6 <[email protected]>

* feat(ui): extract database/schema/table tab utils and config utils (#28792)

* feat(ui): extract database/schema/table/ingestion tab and config utils (PR #13)

Extract tab components and config utils from large source files into dedicated modules.
Original files re-export all moved symbols for backward compatibility.

New files:
- Database/DatabaseDropdownOptions.tsx (database dropdown option builders)
- Database/DatabaseTabsUtils.tsx (database page tab definitions)
- DatabaseSchemaDropdownOptions.tsx (schema dropdown option builders)
- DatabaseSchemaTabsUtils.tsx (schema page tab definitions)
- TableDropdownOptions.tsx (table dropdown option builders)
- TableTabsUtils.tsx (table page tab definitions)
- IngestionConfigUtils.ts (ingestion configuration pure utils)
- CronExpressionUtils.ts (cron schedule/expression utils)
- DomainFilterUtils.ts (domain filter query builders)

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* fix: import getDayCron from CronExpressionUtils instead of SchedularUtils

Removes transitive React/antd dependency from pure util IngestionConfigUtils.ts.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* fix checkstyle

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>

* feat(ui): extract remaining pure utils  (#28791)

* feat(ui): extract remaining pure utils (PR #12)

Extract pure functions from 12 utility files into dedicated *PureUtils.ts files.
Original files re-export all moved symbols for backward compatibility.

New pure util files:
- AgentsStatusWidgetPureUtils.ts (getAgentLabelFromType, getAgentStatusLabelFromStatus, getAgentStatusSummary)
- Alerts/AlertsUtilPure.ts (20 pure alert helpers)
- BlockEditorPureUtils.ts (pure block editor utils)
- ContainerDetailPureUtils.ts (pure container detail utils)
- ContextCenterPureUtils.ts (pure context center utils)
- CuratedAssetsPureUtils.ts (pure curated assets utils)
- CustomizableLandingPagePureUtils.ts (pure landing page utils)
- CustomizePage/CustomizePagePureUtils.ts (pure customize page utils)
- DataAssetSummaryPanelPureUtils.ts (pure data asset summary utils)
- CSV/CSVPureUtils.ts (pure CSV processing utils)
- Lineage/LineagePureUtils.ts (pure lineage utils)
- MetricEntityUtils/MetricPureUtils.ts (pure metric utils)
- UsersPureUtils.ts (pure user utils)

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* fix checkstyle

* fix: drop dead duplicate code from BlockEditorPureUtils

Remove isHTMLString, _convertMarkdownFormatToHtmlString, formatContentForClient
from BlockEditorPureUtils.ts — all three are duplicates of code in BlockEditorUtils.ts,
none were re-exported or consumed anywhere. Pure file now contains only
isDescriptionContentEmpty and getTextFromHtmlString.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* fix(test): update DataAssetSummaryPanelUtils test to mock TablePureUtils

getTierTags moved to TablePureUtils.ts; test was mocking TableUtils (old path)
causing the mock to be ignored and the assertion to fail.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>

* fix(ui): run checkstyle for group 3 backport

* fix(ui): preserve glossary approval task threads in 1.13

* fix(ui): preserve assignee priority for glossary approvals

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>

This branch was previously deployed

1 inactive deployment
test — 76924a1b Deployed Jun 8, 2026 by shah-harshit via playwright-ci-postgresql (4, 6) #50171
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