Repository navigation
chore(#33088 split): UI runtime + docs bulk (safe-modified, 61 files) - #33933
Conversation
Bulk pickup of safe-modified UI runtime code, hooks, utils, tests, plus playwright config + docs additions from harshach's branch. All files below are ones main hasn't touched since the merge-base, so the wholesale copies are conflict-free. Scope (61 files): - ui/src/components/** — Reactions/Alerts/AsyncSelectList/etc small fixes - ui/src/hooks/** — canvas edge renderer + grid editor - ui/src/utils/** — Export styles split, Global settings, Router paths - ui/src/pages/** — Glossary + TableConstraints modal - ui/src/rest/searchAPI — earlier corrected - ui-core-components/** — avatar-group + owner/select tests - ui/scripts/** — tw-deprecation-guard, playwright indexeddb patch - ui/playwright.sso.config.ts + helper-tests.config.ts - docs/merge-queue-* (5 new) Excluded (need discussion): .github/**, files depending on excluded helpers. Split from #33088. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
✅ Playwright Results — workflow succeededValidated commit ✅ 4613 passed · ❌ 0 failed · 🟡 8 flaky · ⏭️ 1 skipped · 🧰 0 lifecycle flaky PerformanceBlocking 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 35m 21s ⏱️ Max setup 4m 46s · max shard execution 23m 1s · max shard-job elapsed before upload 27m 21s · reporting 27s 🌐 218.50 requests/attempt · 2.20 app boots/UI scenario · 34.97% common-shard skew Optimization targets still in progress:
🟡 8 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 |
… usage UI build failed in ui-checkstyle: [MISSING_EXPORT] Error: "getGlossaryCatalogState" is not exported by "src/utils/GlossaryPureUtils.ts" GlossaryPage.component.tsx (in this PR) imports getGlossaryCatalogState and GlossaryPureUtils.test.ts (in this PR) imports findTreeNode / injectMissingInitialOptions / TreeNodeLike — all added on harshach's branch but the underlying utils file itself wasn't in the safe-modified copy set. Wholesale-copy the file from harshach/debug-merge-queue so every consumer imported here has its symbol. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Wholesale copy from harshach's branch included 4 baseline PNG updates: - interactiveStates: delete-modal.png - staticPages: data-quality.png, explore.png, glossary.png Playwright visual regression fails against them (baselines don't match current main render). #33998 (ShaileshParmar) is the right place to refresh visual baselines; taking those snapshots out of this PR so it doesn't block on unrelated baseline drift. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit: python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit |
… ServiceDetailsPage - Drop docs/merge-queue-*.csv (3 files, ~510 KB). Point-in-time audit snapshots — stale the moment they land, no tooling keeps them updated, not proper documentation. Shailesh flagged this. - Take main's ServiceDetailsPage.tsx and re-apply the getEncodedFqn strip. The wholesale copy from harshach's branch was reverting main's Box + ui-core-components Tabs migration back to antd Row/Col/Tabs — a real regression that added ~14 ESLint warnings and rolled back design-system work. Now it's just the 4-line getEncodedFqn fix. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Prior commit removed `getEncodedFqn` from the import but left the
`{ escapeESReservedCharacters }` split across three lines; prettier
wants it on one. Auto-fix applied.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…t.sso.config Same reasoning as the earlier revert on the nightly workflows: dropping CI retries needs more testing before removal. Take main's behavior (1 retry on CI, 0 locally); keep the globalSetup addition from harshach. helper-tests.config.ts's retries=0 is fine to keep — it's a new file for unit tests that shouldn't retry. Co-Authored-By: Claude Opus 4.7 (1M context) <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 |
…time-docs-spec-batch
…e dead helpers - rawSearchQuery: encoding the whole q changed every search call's URL (e.g. PW%dataProduct -> PW%25dataProduct) and broke the DQ data-product filter wait; back to main. - GlossaryPage: isCatalogEmpty dropped main's !isLoading guard, so /glossary rendered the empty placeholder while loading; back to main. - Remove getGlossaryCatalogState, findTreeNode, findItemByFqn, filterTreeNodeOptions, injectMissingInitialOptions and useKnowledgePageListing: nothing imports them, and the Glossary helpers added pure-utils boundary lint warnings. Fixes #33087 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
| Count | Rule |
|---|---|
| 60 | no-restricted-imports |
| 27 | react-hooks/exhaustive-deps |
| 2 | openmetadata-imports/no-lower-layer-page-imports |
| 1 | openmetadata-imports/no-circular-imports |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/Alerts/DestinationFormItem/TeamAndUserSelectItem/TeamAndUserSelectItem.tsx:62:9 |
react-hooks/exhaustive-deps |
The 'selectedOptions' logical expression could make the dependencies of useCallback Hook (at line 99) change on every render. To fix this, wrap the initializati |
| 🟡 | src/components/Alerts/DestinationFormItem/TeamAndUserSelectItem/TeamAndUserSelectItem.tsx:62:9 |
react-hooks/exhaustive-deps |
The 'selectedOptions' logical expression could make the dependencies of useCallback Hook (at line 110) change on every render. To fix this, wrap the initializat |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:491:29 |
react-hooks/exhaustive-deps |
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead. |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:496:28 |
react-hooks/exhaustive-deps |
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead. |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:645:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'recentlyViewed'. Either include it or remove the dependency array. |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:655:33 |
react-hooks/exhaustive-deps |
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead. |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:660:32 |
react-hooks/exhaustive-deps |
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead. |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:848:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'fetchKnowledgePage', 'getEntityFeedCount', 'handleContentOnChange', 'handleDisplayNameChange', 'hash', and 't'. Ei |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:887:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchKnowledgePage'. Either include it or remove the dependency array. |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:894:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'fetchActivityCount' and 'fetchTaskCounts'. Either include them or remove the dependency array. |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:921:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/components/KnowledgeCenter/KnowledgePageDetailComponent/KnowledgePageDetailComponent.tsx:987:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'handleFollowChange', 'handleRelatedEntitiesUpdate', 'handleSave', 'handleTabChange', 'handleVoteChange', 't', 'upd |
| 🟡 | src/components/common/AsyncSelectList/AsyncSelectList.tsx:120:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'getFilteredOptions'. Either include it or remove the dependency array. |
| 🟡 | src/components/common/AsyncSelectList/AsyncSelectList.tsx:288:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'loadOptions'. Either include it or remove the dependency array. |
| 🟡 | src/hooks/useCanvasEdgeRenderer.ts:495:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has unnecessary dependencies: 'isEditMode' and 'nodes'. Either exclude them or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:156:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has an unnecessary dependency: 'selectedRange'. Either exclude it or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:194:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has an unnecessary dependency: 'selectedRange'. Either exclude it or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:637:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'gridContainer'. Either include it or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:671:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'getCellsInRange' and 'gridContainer'. Either include them or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:690:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'gridContainer'. Either include it or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:798:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'focusCell', 'getCellIndices', and 'setSelectedRange'. Either include them or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:894:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'getCellIndices', 'handleCopy', 'handlePaste', and 'setSelectedRange'. Either include them or remove the dependen |
| 🟡 | src/hooks/useGridEditController.ts:957:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'setSelectedRange'. Either include it or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:970:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'setSelectedRange'. Either include it or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:1033:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'setSelectedRange'. Either include it or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:1060:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'dataSource'. Either include it or remove the dependency array. |
| 🟡 | src/hooks/useGridEditController.ts:1060:7 |
react-hooks/exhaustive-deps |
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked. |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:13:1 |
no-restricted-imports |
'../assets/svg/admin-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abs |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:14:1 |
no-restricted-imports |
'../assets/svg/api-collection-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the desig |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:15:1 |
no-restricted-imports |
'../assets/svg/api-endpoints-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the design |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:16:1 |
no-restricted-imports |
'../assets/svg/apis-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abst |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:17:1 |
no-restricted-imports |
'../assets/svg/app-mode.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstract |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:18:1 |
no-restricted-imports |
'../assets/svg/application-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designat |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:19:1 |
no-restricted-imports |
'../assets/svg/bot-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abstr |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:20:1 |
no-restricted-imports |
'../assets/svg/chart-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abs |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:21:1 |
no-restricted-imports |
'../assets/svg/column-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated ab |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:22:1 |
no-restricted-imports |
'../assets/svg/dashboard-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the design |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:23:1 |
no-restricted-imports |
'../assets/svg/dashboard-data-models-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use th |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:24:1 |
no-restricted-imports |
'../assets/svg/data-asset-rules.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:25:1 |
no-restricted-imports |
'../assets/svg/data-assets-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the desi |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:26:1 |
no-restricted-imports |
'../assets/svg/data-product-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designa |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:27:1 |
no-restricted-imports |
'../assets/svg/database-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designa |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:28:1 |
no-restricted-imports |
'../assets/svg/database-schema-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the desi |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:29:1 |
no-restricted-imports |
'../assets/svg/directory-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the design |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:30:1 |
no-restricted-imports |
'../assets/svg/domain-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated ab |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:31:1 |
no-restricted-imports |
'../assets/svg/drive-service-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the de |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:32:1 |
no-restricted-imports |
'../assets/svg/email-colored.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abs |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:33:1 |
no-restricted-imports |
'../assets/svg/file-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:34:1 |
no-restricted-imports |
'../assets/svg/glossary-term-colored-new.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the de |
| 🟡 | src/utils/GlobalSettingsClassBase.ts:35:1 |
no-restricted-imports |
'../assets/svg/health-check.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated abst |
… and 40 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…time-docs-spec-batch
… change TagClassBase, ServiceDetailsPage, TableConstraintsModal and useIncidentFilterOptions stopped encoding the search term because rawSearchQuery was going to encode it instead. That searchAPI change was reverted, so tag search went out unencoded and broke every Tag Add/Update/Remove Playwright flow, and useIncidentFilterOptions.test failed. Back to main. Fixes #33087 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…time-docs-spec-batch
…time-docs-spec-batch # Conflicts: # openmetadata-ui/src/main/resources/ui/src/utils/GlobalSettingsClassBase.ts
…xist playwright/globalSetup.ts was never ported from the source branch, so the SSO config would fail to load. Back to main's config. Fixes #33087 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
🚦 Removed from the merge queue —
|
Code Review ✅ Approved 2 closed / 2 findings🔴 High risk · Audit log route and settings visibility now use operation-based permission checks Bulk UI runtime and docs refactor that restores search-term encoding dropped in the searchAPI migration and removes dead helper exports ( ✅ 2 closed✅ Bug: getGlossaryCatalogState is not exported from GlossaryPureUtils
✅ Bug: Encoding q in rawSearchQuery double-encodes ServiceDetailsPage search
OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Fixes #33087
Summary
Third and final large draft from the #33088 split. Wholesale pickup of safe-modified UI runtime code + pure-add docs — files main has not touched since the merge-base, so copies are conflict-free.
Scope
Excluded
.github/**— CI workflow edits need explicit maintainer authorization (rule from CLAUDE.md); the ci-orchestration PR ci: bulk-refresh Playwright orchestration scripts + safe workflow files (25 files) #33882 already covers the earlier batch.TreeAsyncSelectList.tsx+GlossaryTermSelectableList.*— new antd imports blocked bytw-deprecation-guard. These need refactors toui-core-componentsbefore landing.rawSearchQueryencodingq, plus the callers that droppedgetEncodedFqn/encodeURIComponent: TagClassBase, ServiceDetailsPage, TableConstraintsModal, useIncidentFilterOptions): changed every search URL and broke tag/data-product Playwright flows. Kept on main's behaviour.getGlossaryCatalogState,findTreeNode,injectMissingInitialOptions,useKnowledgePageListing).Test plan
yarn testunderopenmetadata-ui/src/main/resources/ui/playwright.sso.config.tsto confirm no regressionSplit lineage
Draft-C of the three-draft cleanup pass for #33088 (Drafts A/B: #33930, #33932). Wave-1 PRs already merged; wave-2 PRs (#33880, #33881, #33882, #33877, #33883) are open.
🤖 Generated with Claude Code