Skip to content

Fixes 7423: swap assets/svg icons to core-ui icons and fix icon regressions - #37093

Merged
Rohit0301 merged 10 commits into
mainfrom
Rohit0301/icon-swap-to-core-ui
Nov 6, 2026
Merged

Rohit0301 merged 10 commits into
mainfrom
Rohit0301/icon-swap-to-core-ui

Conversation

@Rohit0301

@Rohit0301 Rohit0301 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Part of #7423. Follow-up to #36954 (merged), which added the designer icon set to core-ui. This PR swaps the remaining assets/svg icons in the UI to @openmetadata/ui-core-components/icons, fixes the icon regressions found in visual QA, and updates the settings modal with the designer's icons. Companion Collate PR: open-metadata/openmetadata-collate (same branch name).

Icon swap

  • Every mapped assets/svg import (about 640 in 280 files) now uses its core-ui icon, and the 457 svgs nothing references any more are deleted. Service/plugin logos that are consumed as image URLs (getServiceTypeLogo, ServiceIconUtils) stay as svgs.
  • Components use the core icon name directly (<Edit01 />, not Edit01 as EditIcon). Only the ~20 names that clash with an existing identifier (core Table, generated DataProduct/Column types, …) keep an XIcon alias.
  • Sizes use the icon size prop instead of width/height or tw:size-*. Icons whose old svg baked in a colour get it at the render site: status badges, DQ dimensions, task open/closed, contract column status.
  • URL-only svg uses that weren't logos now render icons: task request fields, slash-command menu (PNGs untouched), team avatars.
  • Removes X, Tag, AlertTriangle and ActivityAssetDeleted from core-ui, replaced everywhere by XClose, Tag01, Alert and Trash01.
  • Every data-product surface uses DataProduct instead of the generic cube/package icons.

Icon QA fixes (core-ui level, so they apply everywhere)

  • Dropdown.Item, Select option/value, ButtonGroup and form-label "?" icons: gray-500, gray-600 on hover; dropdown menu icons in a 20px frame.
  • link-color buttons use an 18px leading icon (Edit, Bulk Edit All, Custom Query).
  • Follow star and vote thumbs match the article header: 20px, filled brand-600 when active, everywhere (entity headers, service header, query cards, activity feed "Liked").
  • Plus the per-page fixes listed in the screenshots below.

Settings modal

  • New core icons from the designer: Theme, HealthCheck, ProfilerConfiguration, SearchSettings, BrandUrl, DataAssetRules, LearningResources, OnlineUsers, Provisioning, IntakeForms, Youtube. Redrawn: Lock01, PermissionDebugger, Billing.
  • Platform settings, Members and Governance entries (and their detail-view headers) use them; the rest reuse existing core icons (Mail, PlatformLineage, DefaultAppMode, Teams, ActivityOwnerChanged, KnowledgePanels, …).

Type of change:

  • Improvement

High-level design:

  • A CSV-driven codemod (svg path → core icon, colour class) rewrote imports and JSX: rename locals to the core name, merge className, convert sizing to size, drop jest.mocks of deleted svgs. Everything it couldn't do mechanically (URL imports, expression classNames, fill/color/style props, non-square sizes, coloured icons passed by reference) was fixed by hand.
  • An svg is deleted only when nothing in OpenMetadata, collate-ui or collate-local-webserver (including @assets/svg, openmetadata-ui/src/… and the mirror paths) still references it.

Tests:

  • yarn tsc:check: clean apart from the CustomPropertiesDetailPage isLoading error that is already on main.
  • ESLint + Prettier + organize-imports on all changed files: 0 errors.
  • yarn jest --findRelatedTests <changed files>: 1634 suites / 20743 tests pass.
  • core-ui vitest (src/components): passes except 6 tag-tooltip tests in files this PR doesn't touch; the same test fails on clean main.
  • yarn build: passes.

Screenshots

Taken on the local OpenMetadata build of this branch (yarn start against a local backend). Collate pages are in the Collate PR.

Regression fixes, round 1

Explore "Tools" menu: gray-500 icons, 20px frame Explore "Tools" menu: gray-500 icons, 20px frame Profile dropdown: Switch Persona / Roles / Inherited Roles in gray-500 Profile dropdown: Switch Persona / Roles / Inherited Roles in gray-500
Metrics 3-dots menu and "Bulk Edit All" (18px link icon) Metrics 3-dots menu and "Bulk Edit All" (18px link icon) Test cases 3-dots menu: 20px icons Test cases 3-dots menu: 20px icons
Domain 3-dots menu: 20px icons like every icon+title+description menu Domain 3-dots menu: 20px icons like every icon+title+description menu Glossary: Edit / Expand All link icons, larger drag handle Glossary: Edit / Expand All link icons, larger drag handle
Add glossary term: gray-500 "?" after the Icon label Add glossary term: gray-500 "?" after the Icon label Rich text editor toolbar back to the old glyph size Rich text editor toolbar back to the old glyph size
Settings > Profile: custom properties edit matches the other rows Settings > Profile: custom properties edit matches the other rows
Role detail: rename and copy buttons the same size Role detail: rename and copy buttons the same size

Regression fixes, round 2

Customize home: widget drag handle 20px gray-500, same as delete Customize home: widget drag handle 20px gray-500, same as delete Activity: Group menu icons gray-500; Like / smiley / Reply the same 18px Activity: Group menu icons gray-500; Like / smiley / Reply the same 18px
Connections (AI mode): Explore's service icons; grid/list toggle colours Connections (AI mode): Explore's service icons; grid/list toggle colours Service details: 20px star, Edit (18px) and Customize in the toolbar Service details: 20px star, Edit (18px) and Customize in the toolbar
Table header: star, thumbs and copy match the article header Table header: star, thumbs and copy match the article header Article header (reference for star/thumbs/copy) Article header (reference for star/thumbs/copy)

Regression fixes, round 3 (follow star, thumbs-down, dark mode)

Domain header: Follow pill star yellow-400 when following, thumbs-down filled orange Domain header: Follow pill star yellow-400 when following, thumbs-down filled orange Article header: following star yellow-400, thumbs-down orange Article header: following star yellow-400, thumbs-down orange
Table header, dark mode Table header, dark mode Domain header, dark mode Domain header, dark mode
Article header, dark mode Article header, dark mode Incident manager, dark mode Incident manager, dark mode

Settings

Platform settings Platform settings Members Members
Governance Governance Access control (redrawn Permission Debugger) Access control (redrawn Permission Debugger)
Settings > Bots Settings > Bots
Settings > Alerts & Notifications Settings > Alerts & Notifications

More pages

AI mode: context center AI mode: context center AI mode: documents AI mode: documents
AI mode: explore AI mode: explore AI mode: glossary AI mode: glossary
AI mode: home AI mode: home AI mode: inbox activity AI mode: inbox activity
AI mode: inbox tasks AI mode: inbox tasks AI mode: memories AI mode: memories
AI mode: ontology AI mode: ontology Alerts Alerts
API collection API collection Classification Classification
Container Container Dashboard Dashboard
Data insights Data insights Data product Data product
Data quality Data quality Database Database
Domains Domains Explore results Explore results
Glossary term Glossary term Home (classic) Home (classic)
Incidents Incidents Marketplace Marketplace
Metric Metric ML model ML model
Pipeline Pipeline Schema Schema
Search index Search index Stored procedure Stored procedure
Table activity Table activity Table contract Table contract
Table observability Table observability
Table queries Table queries Teams Teams
Topic Topic User profile User profile

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests around the new logic.

🤖 Generated with Claude Code

Part of open-metadata/openmetadata-collate#7537

Replace every mapped assets/svg icon with its @openmetadata/ui-core-components
icon and delete the svgs nothing references any more.

- Components use the core icon name directly; only names that clash with an
  existing identifier keep an `XIcon` alias.
- Icon sizing uses the `size` prop instead of width/height and tw:size-*.
- Coloured icons that relied on baked svg colours get their colour at the
  render site (status badges, DQ dimensions, task status, contract status).
- URL-only svg uses that are not logos now render core icons (task fields,
  slash-command menu, team avatar); service/plugin logos stay URLs.
- Icon QA: dropdown, select, button-group and form-label icons are gray-500
  with gray-600 hover; 20px frames for menu icons; 18px link-button icons;
  follow star and vote icons match the article header (filled when active).
- Settings modal uses the designer icons; adds Theme, HealthCheck,
  ProfilerConfiguration, SearchSettings, BrandUrl, DataAssetRules,
  LearningResources, OnlineUsers, Provisioning, IntakeForms and Youtube;
  redraws Lock01, PermissionDebugger and Billing.
- Removes the X, Tag, AlertTriangle and ActivityAssetDeleted icons in favour
  of XClose, Tag01, Alert and Trash01.
@Rohit0301
Rohit0301 requested a review from a team as a code owner November 5, 2026 02:04
@github-actions

github-actions Bot commented Nov 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. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 added the UI UI specific issues label Nov 5, 2026
@github-actions

github-actions Bot commented Nov 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!

@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Nov 5, 2026
…o-core-ui

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/components/common/EntitySummaryDetails/EntitySummaryDetails.tsx
…rder rules

Adds ADR:2026-11-05-a-core-icon-or-svg-is-deleted-only-after-no-repo-imports-it and amends
ADR:2026-10-13-core-icons-and-buttons-follow-the-figma-icon-spec (v4) for the link-color
leading icon frame and the menu, select and button-group icon frames and colours.
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ UI Checkstyle passed — lint findings in changed files

🔍 ESLint findings in this PR's files — 0 error(s), 328 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), 328 warning(s) across 109 changed file(s).

Count Rule
210 react-hooks/exhaustive-deps
45 openmetadata-ui-patterns/no-non-adaptive-palette
27 openmetadata-imports/no-lower-layer-page-imports
11 openmetadata-ui-patterns/deprecated-om-tokens
11 openmetadata-imports/no-circular-imports
7 openmetadata-imports/review-sequential-api-calls
7 openmetadata-imports/no-impure-pure-utils
5 openmetadata-imports/no-api-calls-in-iteration
5 openmetadata-imports/no-cross-page-imports
All findings
Location Rule Message
🟡 src/components/ActivityFeed/TaskFeedCard/TaskFeedCardFromTask.component.tsx:46: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/ActivityFeed/TaskFeedCard/TaskFeedCardFromTask.component.tsx:47: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/ActivityFeed/TaskFeedCard/TaskFeedCardFromTask.component.tsx:194:9 react-hooks/exhaustive-deps The 'handleTaskLinkClick' function makes the dependencies of useMemo Hook (at line 234) change on every render. Move it inside the useMemo callback. Alternative
🟡 src/components/Alerts/DestinationFormItem/DestinationSelectItem/DestinationConfigField/DestinationConfigField.tsx:106:9 react-hooks/exhaustive-deps The 'receivers' logical expression could make the dependencies of useCallback Hook (at line 132) change on every render. To fix this, wrap the initialization of
🟡 src/components/Alerts/DestinationFormItem/DestinationSelectItem/DestinationConfigField/DestinationConfigField.tsx:106:9 react-hooks/exhaustive-deps The 'receivers' logical expression could make the dependencies of useCallback Hook (at line 142) change on every render. To fix this, wrap the initialization of
🟡 src/components/BlockEditor/BarMenu/BarMenu.tsx:152:9 openmetadata-ui-patterns/deprecated-om-tokens Legacy token "--om-color-gray-neutral-200" is deprecated. Use tw: utilities or --tw-* theme variables. Migrate existing references when editing them; do not add
🟡 src/components/BlockEditor/BarMenu/BarMenu.tsx:152:9 openmetadata-ui-patterns/deprecated-om-tokens Legacy token "--om-legacy-color-f7f9fc" is deprecated. Use tw: utilities or --tw-* theme variables. Migrate existing references when editing them; do not add ne
🟡 src/components/BlockEditor/BarMenu/BarMenu.tsx:167:27 openmetadata-ui-patterns/deprecated-om-tokens Legacy token "--om-legacy-color-e8e8e9" is deprecated. Use tw: utilities or --tw-* theme variables. Migrate existing references when editing them; do not add ne
🟡 src/components/BlockEditor/BarMenu/BarMenu.tsx:167:27 openmetadata-ui-patterns/deprecated-om-tokens Legacy token "--om-legacy-color-e8e8e9" is deprecated. Use tw: utilities or --tw-* theme variables. Migrate existing references when editing them; do not add ne
🟡 src/components/BlockEditor/BarMenu/BarMenu.tsx:168:27 openmetadata-ui-patterns/deprecated-om-tokens Legacy token "--om-legacy-color-ecedee" is deprecated. Use tw: utilities or --tw-* theme variables. Migrate existing references when editing them; do not add ne
🟡 src/components/BlockEditor/BarMenu/BarMenu.tsx:193:27 openmetadata-ui-patterns/deprecated-om-tokens Legacy token "--om-color-gray-neutral-200" is deprecated. Use tw: utilities or --tw-* theme variables. Migrate existing references when editing them; do not add
🟡 src/components/BlockEditor/BlockMenu/BlockMenu.tsx:96:5 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'handleClickBlockHandle'. Either include it or remove the dependency array.
🟡 src/components/BlockEditor/BlockMenu/BlockMenu.tsx:99:9 react-hooks/exhaustive-deps The 'handleKeyDown' function makes the dependencies of useEffect Hook (at line 165) change on every render. Move it inside the useEffect callback. Alternatively
🟡 src/components/BlockEditor/BlockMenu/BlockMenu.tsx:155:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'view.dom'. Either include it or remove the dependency array.
🟡 src/components/BlockEditor/BubbleMenu/BubbleMenu.tsx:102:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 'toggleLink'. Either include it or remove the dependency array. If 'toggleLink' changes too often, find the parent
🟡 src/components/BlockEditor/Extensions/slash-command/SlashCommandList.tsx:19: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/components/BlockEditor/TableMenu/TableMenu.tsx:147:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'view.dom'. Either include it or remove the dependency array.
🟡 src/components/ContextCenter/DocumentsView/DocumentFolderView.component.tsx:520:36 openmetadata-imports/no-api-calls-in-iteration Avoid issuing one API request per item. Fetch at the data owner, use a bulk endpoint, or use useQueries with an intentional concurrency policy.
🟡 src/components/Dashboard/DashboardVersion/DashboardVersion.component.tsx:153:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/Dashboard/DashboardVersion/DashboardVersion.component.tsx:259:5 react-hooks/exhaustive-deps React Hook useMemo has missing dependencies: 'dataProducts', 'domains', 't', and 'tags'. Either include them or remove the dependency array.
🟡 src/components/DataContract/AddDataContract/AddDataContract.tsx:317:6 react-hooks/exhaustive-deps React Hook useCallback has missing dependencies: 'onSave' and 't'. Either include them or remove the dependency array. If 'onSave' changes too often, find the p
🟡 src/components/DataContract/AddDataContract/AddDataContract.tsx:533:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:175:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:193:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:209:9 react-hooks/exhaustive-deps The 'handleRunNow' function makes the dependencies of useCallback Hook (at line 276) change on every render. To fix this, wrap the definition of 'handleRunNow'
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:381:41 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-700) or a semant
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:431:41 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-error-600" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-error-600) or a sema
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:436:41 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-error-600" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-error-600) or a sema
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:536:6 react-hooks/exhaustive-deps React Hook useMemo has unnecessary dependencies: 'handleRunNow' and 'validateLoading'. Either exclude them or remove the dependency array.
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:553:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchLatestContractResults'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:617:39 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-700) or a semant
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:634:39 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-700) or a semant
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:659:30 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:676:30 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:695:30 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:714:30 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:784:42 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:828:44 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractDetailTab/ContractDetail.tsx:846:40 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:border-gray-200" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:border-utility-gray-200) or a se
🟡 src/components/DataContract/ContractSLACard/ContractSLA.component.tsx:186:6 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ContractSchemaTable/ContractSchemaTable.component.tsx:139:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx:583:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'handleReset'. Either include it or remove the dependency array.
🟡 src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx:704:27 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-700) or a semant
🟡 src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx:717:29 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-700) or a semant
🟡 src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx:1168:23 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-warning-600" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-warning-600) or a
🟡 src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx:1171:40 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-warning-800" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-warning-800) or a
🟡 src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx:1278:19 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:bg-gray-50" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:bg-utility-gray-50) or a semantic tok
🟡 src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx:1359:33 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:bg-gray-50" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:bg-utility-gray-50) or a semantic tok
🟡 src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx:1363:43 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-500" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-500) or a semant
🟡 src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx:1368:39 openmetadata-ui-patterns/no-non-adaptive-palette Raw palette class "tw:text-gray-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-gray-700) or a semant

… and 278 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

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 81%
81.59% (141344/173220) 68.99% (51692/74926) 71.97% (28965/40244)

…ay-500 neutral icons, persona/role menu icons
…ata, remove replaced svgs

CheckCircle03, LinkExternal02 and TextEditorLink duplicated CheckCircle02,
LinkExternal01 and Link03; usages now point at the kept icon.
…o-core-ui

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/components/DataContract/ContractSchemaTable/ContractSchemaTable.component.tsx
#	openmetadata-ui/src/main/resources/ui/src/components/discovery/personal-space/Profile/tabs/notification/NotificationRecentEvents.tsx
…o-core-ui

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx
#	openmetadata-ui/src/main/resources/ui/src/components/observability/TestCaseDetail/TestCaseDetail.tsx
#	openmetadata-ui/src/main/resources/ui/src/components/observability/TestSuiteDetail/TestSuiteDetail.tsx
#	openmetadata-ui/src/main/resources/ui/src/pages/IncidentManager/IncidentManagerDetailPage/IncidentManagerDetailPage.tsx
#	openmetadata-ui/src/main/resources/ui/src/pages/TestSuiteDetailsPage/TestSuiteDetailsPage.component.tsx
…o-core-ui

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx
#	openmetadata-ui/src/main/resources/ui/src/pages/TagPage/TagPage.tsx
@gitar-bot

gitar-bot Bot commented Nov 6, 2026

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

🟡 Medium risk · Replacing SVGs with core-ui icons across hundreds of UI components changes rendering and sizing broadly, so mismatches could obscure statuses or controls.

Swaps the remaining assets/svg icons for @openmetadata/ui-core-components/icons across about 280 files, fixes icon sizing and colour regressions, and updates the settings modal with the new designer icons. No open issues found.

✅ 1 closed
✅ Quality: No record for the cross-repo rule on deleting icons and exports

📄 openmetadata-ui-core-components/src/main/resources/ui/src/icons/index.ts:21-35 📄 openmetadata-ui-core-components/src/main/resources/ui/src/icons/index.ts:644-647 📄 openmetadata-ui-core-components/src/main/resources/ui/src/icons/index.ts:735-739 📄 openmetadata-ui/src/main/resources/ui/src/constants/constants.ts:506-517 📄 openmetadata-ui/src/main/resources/ui/src/utils/PipelineDetailsUtils.tsx:95-106 📄 openmetadata-ui/src/main/resources/ui/src/utils/DataQuality/DataQualityPureUtils.ts:742-753
This PR removes ActivityAssetDeleted, AlertTriangle, Tag and X from the public @openmetadata/ui-core-components/icons barrel. It also deletes about 400 assets/svg files. The description says this is safe because of a rule that exists only there: "An svg is deleted only when nothing in OpenMetadata, collate-ui or collate-local-webserver still references it." It also states a second rule: "Icons whose old svg baked in a colour get that colour applied at the render site." That rule is the reason for the new getStatusBadgeClassName, STATUS_ICON_CLASS, getDimensionIconClassName and getTaskStatusIconClassName helpers.

No record in docs/decisions/ states either rule. 2026-10-13-core-icons-and-buttons-follow-the-figma-icon-spec covers grid and stroke only. The repo squash-merges, so both rules will be lost after merge.

The deletions also depend on a merge order with the companion Collate PR. If collate-ui still imports X, Tag or AlertTriangle from core-components, or a deleted svg path, its build fails once this lands first. Nothing in the tree says Collate must move first.

The record would assert: "A core-ui icon export or an assets/svg file is removed only after no code in OpenMetadata, collate-ui or collate-local-webserver imports it, and the Collate migration merges first. When an old svg baked in a colour, that colour is applied at the render site with a tw:text-utility-* class, never by editing the core glyph."

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

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

@Rohit0301
Rohit0301 enabled auto-merge (squash) November 6, 2026 03:20
@Rohit0301
Rohit0301 disabled auto-merge November 6, 2026 03:47
@Rohit0301
Rohit0301 merged commit c2c7a94 into main Nov 6, 2026
62 of 65 checks passed
@Rohit0301
Rohit0301 deleted the Rohit0301/icon-swap-to-core-ui branch November 6, 2026 03:48
shah-harshit added a commit that referenced this pull request Nov 12, 2026
…on 2.1

The baselines refreshed in #37237 were captured from a main build that
predated #37093, which replaced the app's assets/svg icons with core-ui
icons. Every screen showing the sidebar, header, editor toolbar or
connection-form tabs has differed since. Each baseline is replaced with
the first-attempt -actual.png from the 2.1 nightly visual lane (Linux
renderer, regular UI bundle).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
shah-harshit added a commit that referenced this pull request Nov 12, 2026
The baselines refreshed in #37237 were captured from a main build that
predated #37093, which replaced the app's assets/svg icons with core-ui
icons. Every screen showing the sidebar, header, editor toolbar or
connection-form tabs has differed since. Each baseline is replaced with
the first-attempt -actual.png from the 2.1 nightly visual lane (Linux
renderer, regular UI bundle). Ontology baselines that #37641 refreshes
are left to that PR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
shah-harshit added a commit that referenced this pull request Nov 12, 2026
…and add the memory-approval fixture (#37656)

* test(playwright): answer the extracted-memory approval read in the visual lane

The Context Center memories card now previews extracted-memory approval on
mount, and the visual lane fails any GET it has no fixture for.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* WIP: temporarily disable maxFailures to capture every visual baseline (revert before merge)

* Revert "WIP: temporarily disable maxFailures to capture every visual baseline (revert before merge)"

This reverts commit 3d2d902.

* test(playwright): refresh visual baselines for the core-ui icon swap

The baselines refreshed in #37237 were captured from a main build that
predated #37093, which replaced the app's assets/svg icons with core-ui
icons. Every screen showing the sidebar, header, editor toolbar or
connection-form tabs has differed since. Each baseline is replaced with
the first-attempt -actual.png from the 2.1 nightly visual lane (Linux
renderer, regular UI bundle). Ontology baselines that #37641 refreshes
are left to that PR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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 UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants