Repository navigation
refactor(ui): migrate glossary, classification and tag details pages to core components - #33916
Conversation
…ents Replace the remaining antd usage on the glossary page with @openmetadata/ui-core-components: - Glossary left panel: antd Menu -> core NavList (sm size), Button, Skeleton - Terms table: move-term Modal/Checkbox, status filter Dropdown, hover workflow Popover, expand icon, row actions, load-more and expand-all buttons now use core Dialog, Checkbox, Popover, Button, ButtonUtility - Glossary header wrapped in core PageHeader, with the same HeaderBreadcrumb used by DataAssetsHeader - Workflow history widget: core Card, EmptyPlaceholder, Typography - Shared ResizableLeftPanels card and bulk-edit button moved to core Card and Button - Drop the grey grid background on glossary and glossary term pages Core NavList/NavItemBase: key items by href, add a `size` prop, suppress host link underlines and give the current item the brand-tab treatment so it stays visible in dark mode.
❌ 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 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 |
…mponents Apply the glossary treatment to the Classification page and the tag details page: - Classification left panel: raw buttons -> core NavList (sm) with the disabled and term-count badges in the badge slot; skeleton on core Skeleton - Classification details: header wrapped in core PageHeader with the HeaderBreadcrumb trail; antd Row/Col/Card body -> core Card + flex - Tags table row actions: antd Button/Tooltip/Space -> core ButtonUtility + Tooltip (reason still shown while disabled) - Tag details classic header: core PageHeader + HeaderBreadcrumb ending with the current tag - No grey grid background on the tag details overview Core NavList/NavItemBase accept an optional dataTestId so existing test ids survive. Playwright `.activeCategory` checks now use aria-current.
🔄 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 |
…button - TableV2 sticky (fixed) columns used an inline `background: white`, which ignores dark mode; use the `tw:bg-primary` token class instead - Add Glossary button now matches Add Classification (brand label, plus icon, "Add Glossary")
… components - Synonyms, References and Related Terms render in the core WidgetCard with WidgetEditButton/WidgetPlusButton instead of the antd ExpandableCard. - Synonym and reference chips are core Badges (new SynonymBadge and ReferenceBadge), used by the term widgets, the terms table, the Explore summary panel and the customize-page preview. Version diffs are marked with data-diff instead of the global .diff-added class, whose styles override Badge's. - GlossaryTermReferencesModal is rebuilt on the core Dialog, Input and Button with react-hook-form, keeping the same validation and test ids.
ChangeParentHierarchy uses the core Dialog, Checkbox, Alert and Button, and takes GlossaryTermPicker directly. Save stays disabled until a parent is picked, which replaces the antd form's required rule. The core Dialog carries data-testid="change-parent-hierarchy-modal" on the visible dialog. antd put it on the zero-size .ant-modal-root, which is why "should cancel move operation" failed on toBeVisible. The Playwright helpers now target the test id directly.
Add ThumbsUp, ThumbsDown, RefreshCcw01 and AlertTriangle SVGs to ui-core-components/icons (regenerated per ICONS.md) and import the vote, version-history and move-confirmation icons from @openmetadata/ui-core-components/icons instead of @untitledui/icons. Only pass http(s) glossary term reference endpoints to the anchor href so a javascript: or data: endpoint can no longer execute (CodeQL js/xss-through-dom).
…ed as HTML' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…-components # Conflicts: # openmetadata-ui/src/main/resources/ui/playwright/eslint-rules/tests/corpus.test.mjs
getSafeReferenceHref now returns the parsed URL, which normalizes origin-only endpoints with a trailing slash.
|
| Count | Rule |
|---|---|
| 43 | react-hooks/exhaustive-deps |
| 14 | no-restricted-imports |
| 6 | openmetadata-imports/no-circular-imports |
| 3 | openmetadata-imports/no-lower-layer-page-imports |
| 2 | openmetadata-imports/review-sequential-api-calls |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/Classifications/ClassificationDetails/ClassificationDetails.tsx:303:8 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'isVersionView' and 'navigate'. Either include them or remove the dependency array. |
| 🟡 | src/components/Classifications/ClassificationDetails/ClassificationDetails.tsx:467:8 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/components/Classifications/ClassificationDetails/ClassificationDetails.tsx:543:7 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/components/Classifications/ClassificationDetails/ClassificationDetails.tsx:593:8 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'fetchClassificationChildren', 'handlePageChange', and 'isAddingTag'. Either include them or remove the dependenc |
| 🟡 | src/components/Explore/EntitySummaryPanel/GlossaryTermSummary/GlossaryTermSummary.component.tsx:50:5 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 'entityDetails.reviewers'. Either include it or remove the dependency array. |
| 🟡 | src/components/Explore/EntitySummaryPanel/GlossaryTermSummary/GlossaryTermSummary.component.tsx:55:5 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 'entityDetails.synonyms'. Either include it or remove the dependency array. |
| 🟡 | src/components/Explore/EntitySummaryPanel/GlossaryTermSummary/GlossaryTermSummary.component.tsx:80:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchGlossaryTermDetails'. Either include it or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryHeader/GlossaryHeader.component.tsx:599:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'isGlossary', 'onAddGlossaryTerm', and 'selectedData'. Either include them or remove the dependency array. If ' |
| 🟡 | src/components/Glossary/GlossaryHeader/GlossaryHeader.component.tsx:679:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'showModal'. Either include it or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryHeader/GlossaryHeader.component.tsx:738:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'handleAddGlossaryTermClick' and 't'. Either include them or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryHeader/GlossaryHeader.component.tsx:780:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'handleBreadcrumb'. Either include it or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryHeader/GlossaryHeader.component.tsx:799:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'fetchCurrentGlossaryInfo' and 'isVersionView'. Either include them or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:654:34 |
react-hooks/exhaustive-deps |
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead. |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:658:9 |
react-hooks/exhaustive-deps |
The 'fetchChildTerms' function makes the dependencies of useCallback Hook (at line 1198) change on every render. To fix this, wrap the definition of 'fetchChild |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:742:22 |
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/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:757:9 |
react-hooks/exhaustive-deps |
The 'fetchAllTerms' function makes the dependencies of useCallback Hook (at line 1484) change on every render. To fix this, wrap the definition of 'fetchAllTerm |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:825:9 |
react-hooks/exhaustive-deps |
The 'fetchExpadedTree' function makes the dependencies of useCallback Hook (at line 1484) change on every render. To fix this, wrap the definition of 'fetchExpa |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:965:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'fetchAllTerms', 'handlePagingChange', and 'setGlossaryChildTerms'. Either include them or remove the dependency |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:977:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'setGlossaryChildTerms'. Either include it or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:1144:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'applyGlossaryTermApprovalOutcome', 'notifyPendingApprovalTasks', and 't'. Either include them or remove the de |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:1403:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'currentUser', 'onAddGlossaryTerm', 'onEditGlossaryTerm', and 't'. Either include them or remove the dependency arr |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:1593:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'handleEditGlossary', 'handleSearchChange', 'handleStatusSelectionDropdownCancel', 'handleStatusSelectionDropdownSa |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:1669:5 |
react-hooks/exhaustive-deps |
React Hook useMemo has unnecessary dependencies: 'glossaryChildTerms', 'glossaryTerms', and 'setGlossaryChildTerms'. Either exclude them or remove the dependenc |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:1742:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has an unnecessary dependency: 'movedGlossaryTerm'. Either exclude it or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx:1955:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'activeGlossary', 'fetchAllTerms', 'handlePagingChange', and 'previousGlossaryFQN'. Either include them or remove |
| 🟡 | src/components/Glossary/GlossaryTerms/GlossaryTermReferencesModal.component.tsx:101:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'references' and 'reset'. Either include them or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryTerms/tabs/GlossaryTermSynonyms.tsx:57:9 |
react-hooks/exhaustive-deps |
The 'getSynonyms' function makes the dependencies of useCallback Hook (at line 133) change on every render. Move it inside the useCallback callback. Alternative |
| 🟡 | src/components/Glossary/GlossaryTerms/tabs/WorkFlowTab/WorkflowHistory.component.tsx:106:8 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 'propGlossaryTerm'. Either include it or remove the dependency array. |
| 🟡 | src/components/Glossary/GlossaryTerms/tabs/WorkFlowTab/WorkflowHistory.component.tsx:145:32 |
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/Glossary/GlossaryTerms/tabs/WorkFlowTab/WorkflowHistory.component.tsx:304:8 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/components/Modals/ChangeParentHierarchy/ChangeParentHierarchy.component.tsx:121:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/components/common/ManageButtonContentItem/ManageButtonContentItem.test.tsx:14:1 |
no-restricted-imports |
'../../../assets/svg/teams-grey.svg' import is restricted from being used by a pattern. Do not import SVG icons directly from assets/ paths; use the designated |
| 🟡 | src/context/LimitsProvider/useLimitsStore.ts:16:1 |
openmetadata-imports/no-circular-imports |
This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency. |
| 🟡 | src/pages/Glossary/GlossaryLeftPanel/GlossaryLeftPanel.component.tsx:91:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'glossaries' and 'selectedKey'. Either include them or remove the dependency array. |
| 🟡 | src/pages/TagPage/TagPage.tsx:345:9 |
react-hooks/exhaustive-deps |
The 'activeTabHandler' function makes the dependencies of useCallback Hook (at line 515) change on every render. To fix this, wrap the definition of 'activeTabH |
| 🟡 | src/pages/TagPage/TagPage.tsx:744:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 'fetchFeedCount'. Either include it or remove the dependency array. |
| 🟡 | src/pages/TagPage/TagPage.tsx:819:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:222:9 |
react-hooks/exhaustive-deps |
The 'handleCreateClassification' function makes the dependencies of useCallback Hook (at line 683) change on every render. Move it inside the useCallback callba |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:263:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'navigate'. Either include it or remove the dependency array. |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:270:9 |
react-hooks/exhaustive-deps |
The 'handleDeleteTag' function makes the dependencies of useCallback Hook (at line 319) change on every render. Move it inside the useCallback callback. Alterna |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:377:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'navigate' and 't'. Either include them or remove the dependency array. Outer scope values like 'history' aren' |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:380:9 |
react-hooks/exhaustive-deps |
The 'handleCreatePrimaryTag' function makes the dependencies of useCallback Hook (at line 517) change on every render. Move it inside the useCallback callback. |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:425:9 |
react-hooks/exhaustive-deps |
The 'handleUpdatePrimaryTag' function makes the dependencies of useCallback Hook (at line 517) change on every render. Move it inside the useCallback callback. |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:489:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:499:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'fetchCurrentClassification'. Either include it or remove the dependency array. |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:507:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has missing dependencies: 'fetchClassifications' and 'tagCategoryName'. Either include them or remove the dependency array. |
| 🟡 | src/pages/TagsPage/TagsPage.tsx:623:5 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/utils/ClassificationUtils.tsx:23:1 |
no-restricted-imports |
'../assets/svg/disable-tag.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/ClassificationUtils.tsx:24:1 |
no-restricted-imports |
'../assets/svg/edit-new.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/ClassificationUtils.tsx:31: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. |
… and 18 more. Run make ui-checkstyle-changed locally for the full list.
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changedRevert the CodeQL autofix that returned URL.toString(), which appended a trailing slash to origin-only endpoints. The http(s) protocol allow-list is the sanitizer; the original endpoint is safe to render once it passes.
Trim reference names and endpoints before saving and validate the trimmed value, so whitespace-only or padded javascript: endpoints are rejected in the form. Drop the unused updateState branch that copied unsaved form values into the rendered references; the list now renders only the saved term.
…-components # Conflicts: # openmetadata-ui/src/main/resources/ui/playwright/eslint-rules/tests/corpus.test.mjs
…-components # Conflicts: # openmetadata-ui/src/main/resources/ui/playwright/eslint-rules/tests/corpus.test.mjs # openmetadata-ui/src/main/resources/ui/src/components/Classifications/ClassificationDetails/classification-details.less # openmetadata-ui/src/main/resources/ui/src/components/Customization/GenericTab/GenericTab.tsx # openmetadata-ui/src/main/resources/ui/src/components/common/Table/TableV2Utils.ts # openmetadata-ui/src/main/resources/ui/src/pages/TagPage/TagPage.test.tsx # openmetadata-ui/src/main/resources/ui/src/pages/TagPage/TagPage.tsx # openmetadata-ui/src/main/resources/ui/src/styles/app.less
Code Review ✅ Approved 2 closed / 2 findings🟡 Medium risk · Shared menu and navigation migrations alter controls across multiple entity pages. Migrates glossary, classification, and tag details pages from Ant Design to core components, including left-panel navigation, headers with breadcrumbs, status filters, and shared menus. Resolves status popover dismissal on click/tap and URL normalization for href test expectations. No issues remain. ✅ 2 closed✅ Edge Case: Status popover opened by click/tap can't be dismissed by clicking outside
✅ Bug: URL normalization breaks the existing http://example.com href test
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 |
|



Describe your changes:
Part of #30570 (Epic: Migrate UI from Ant Design to
@openmetadata/ui-core-components).Replaces the remaining antd usage on the glossary page (glossary list, glossary header and the glossary terms table), the Classification page and the tag details page with
@openmetadata/ui-core-components, and fixes a few core navigation issues found along the way.Type of change:
High-level design:
Glossary left panel (
GlossaryLeftPanel)Menu→ coreNavList(semantic<nav>+ links,aria-current="page"on the active glossary, navigation through the app's react-ariaRouterProvider). The active glossary still resolves from the first FQN part, so nested term URLs highlight their glossary.Button, skeleton → coreSkeleton.Glossary terms table (
GlossaryTermTab)Modal/Checkbox→ coreModalOverlay+Dialog+Checkbox(reviewer-confirmation gating unchanged).Dropdown+Checkbox.Group→ corePopoverTrigger/Popover+Checkbox; save/cancel/"all" logic unchanged.Popover→ corePopoveropened on hover (with a short close delay so the pointer can move into it) and also on click/keyboard.ButtonUtility/Button.Row/Colwrapper → flex containers that keep the table filling the tab height.Glossary header (
GlossaryHeader)PageHeader(data-testid="glossary-header"). The breadcrumb is nowHeaderBreadcrumb(coreBreadcrumbs) configured exactly likeDataAssetsHeaderon entity pages, ending with the current entity. The legacyTitleBreadcrumbis no longer used here. Title/actions content is unchanged.Classification page (
TagsPage,ClassificationDetails)<button>list → coreNavList(sm), disabled + term-count badges in the item badge slot (side-panel-classification,disabled,filter-counttest ids kept). Skeleton → coreSkeleton.PageHeader(data-testid="header") with the sameHeaderBreadcrumbtrail (Classifications → classification). Header actions unchanged.Row/Col/Card→ coreCard+ flex (same 3:1 split); Less rewritten off.ant-row/.ant-col/.ant-card-body.ClassificationUtils): antdButton/Tooltip/Space→ coreButtonUtilitywrapped in coreTooltipso the "why disabled" message still shows on a disabled button.Tag details page (
TagPage)PageHeader+HeaderBreadcrumb(Classifications → classification → tag), title viaEntityHeaderTitle, actions unchanged. Tabs/page layout are left to refactor(ui): migrate remaining antd Tabs to core Tabs #33912, which already migrates them (expect a small conflict in the header block there).GenericTab, alongside glossary + glossary term).Shared pieces
ResizableLeftPanels: first-panel antdCard→ coreCard+Typographytitle (affects Glossary, Classification, Explore, Data Insight, Domain tree left panels).getBulkEditButton(bulk-edit-table): antdButton→ core linkButtonwith the coreEditicon.WorkflowHistory: coreCardin the right panel (bare inside the status popover),EmptyPlaceholder,Typography, and a real button for the collapse header.GenericTab: no grey grid background on glossary and glossary term pages.Header buttons and menus (glossary, classification, tag)
ManageMenu(coreDropdown+ButtonUtilitytrigger). Keepsmanage-button,manage-dropdown-list-containerand every item test id, and still accepts antd-shaped{ key, label, onClick }items (handlers get a no-opdomEvent), so callers need no changes.ManageButtonnow renders throughManageMenu, which changes the manage menu on every entity page that uses it.Button/ManageMenu. Votes and version use the coreStatItem, same asDataAssetsHeader;Votingnow rendersStatItems (also used by the domain and data product headers).ManageButtonItemLabelis presentational; the few item handlers that lived on the label moved to the menu item (onClick), which core menus also fire from the keyboard.Core components (
openmetadata-ui-core-components)NavList: key items byhref(labels such as display names need not be unique); newsizeprop (sm= 14px regular text, 16px icon;mddefault unchanged); optional per-itemdataTestIdforwarded to the link.Dropdown.Item:unstyleditems now render theirchildren(they were dropped).NavItemBase:no-underline!so the app's unlayereda:hover/a:focusunderline rule can't leak in; current item uses the selectedbutton-brandtab tokens (bg-brand-primary_alt,text-brand-secondary, brand icon) so it is visible in dark mode, and is semibold atsm. The main app sidebar keeps its own active style (it overrides with!important).Cleanup: removed Less rules only the antd markup used (
glossaryV1.less,workflow-history.less,classification-details.less,.remove-button-background-hover,.activeCategory).No
data-testidused by tests was removed; Playwright helpers/specs that relied on antd DOM (menuitemrole,ant-menu-item-selected,.ant-modal-*,.ant-popover,.activeCategory) were updated to role/testid/aria-currentlocators.Tests:
Use cases covered
aria-currentitem and per-item counts; tag details header breadcrumb ends with the current tag.Unit tests
GlossaryLeftPanel.test.tsx,GlossaryLeftPanel.integration.test.tsx,GlossaryTermTab.test.tsx(status filter save/cancel/all),GlossaryHeader.test.tsx(breadcrumb),ResizableLeftPanels.test.tsx,ExploreV1.test.tsx,EntityBulkEditUtils.test.tsx,TagsPage.test.tsx(left-panel links / current item),TagPage.test.tsx(breadcrumb).Backend integration tests
Ingestion integration tests
Playwright (UI) tests
playwright/utils/glossary.ts,playwright/utils/common.ts,playwright/utils/asyncDelete.ts,Pages/Glossary.spec.ts,Features/Glossary/GlossaryHierarchy.spec.ts,GlossaryMutualExclusivity.spec.ts,GlossaryDisplayNameEdit.spec.ts,Pages/Tags.spec.ts,Pages/Tag.spec.ts,Pages/ClassificationConditionalRendering.spec.ts,support/tag/ClassificationClass.ts.Manual testing performed
UI screen recording / screenshots:
To be added.
Checklist:
I have read the CONTRIBUTING document.
My PR title is
Fixes <issue-number>: <short explanation>My PR is linked to a GitHub issue via
Fixes #<issue-number>above.I have commented on my code, particularly in hard-to-understand areas.
For JSON Schema changes: I updated the migration scripts or explained why it is not needed. (No schema changes.)
For UI changes: I attached a screen recording and/or screenshots above.
I have added tests (unit / integration / Playwright as applicable) and listed them above.
I have added tests around the new logic.
🤖 Generated with Claude Code
The PR does not appear safe to merge until core-import resolution and the outstanding limit-wrapped manage actions are addressed.
Findings
Summary
The PR migrates glossary, classification, and tag detail controls to core components and updates navigation, shared menus, layouts, and Playwright selectors. Since the last review, it also adds direct core declaration paths to the UI TypeScript configuration.
Reviews (6) · Last reviewed commit: "chore(ui): resolve core-components types..."