Migration: replace MUI components with custom styles and core-ui components#26563
Migration: replace MUI components with custom styles and core-ui components#26563
Conversation
...ata-ui/src/main/resources/ui/src/components/Domain/AddDomainForm/AddDomainForm.component.tsx
Show resolved
Hide resolved
openmetadata-ui/src/main/resources/ui/src/utils/DomainPageStyles.ts
Outdated
Show resolved
Hide resolved
🟡 Playwright Results — all passed (23 flaky)✅ 3330 passed · ❌ 0 failed · 🟡 23 flaky · ⏭️ 183 skipped
🟡 23 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 |
539627a to
13163b4
Compare
|
|
||
| updatedDetails = { | ||
| const updatedDetails = { |
There was a problem hiding this comment.
why did we remove clone?
There was a problem hiding this comment.
becuase he second assignment completely overwrites updatedDetails, so the clone method never used there
| <Typography.Text | ||
| className="text-sm font-medium" | ||
| color={theme.palette.grey['700']}> | ||
| <Typography.Text className="tw:text-sm tw:font-medium tw:text-gray-700"> |
There was a problem hiding this comment.
Why are we having classname here?
...urces/ui/src/components/Settings/Team/TeamDetails/TeamsHeaderSection/TeamsInfo.component.tsx
Show resolved
Hide resolved
Code Review ✅ Approved 3 resolved / 3 findingsMigration replaces MUI components with custom styles and core-ui components, addressing the internal defaultColors API usage issue. No remaining issues found. ✅ 3 resolved✅ Quality: defaultColors is marked @internal, not for component use
✅ Bug: MUI-to-Tailwind spacing conversion is incorrect (halved values)
✅ Bug: Typography wraps content in extra
wrapper
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Components migrated
Describe your changes:
Fixes
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
useThemehook andThemetype imports from MUI across multiple components and utilitiesBoxcomponents with semanticdivelements using Tailwind classes inAddDomainFormandTestDefinitionListgetDomainContainerStyles()to usedefaultColors.blueGray[100]instead of theme paletteEdgeStyleUtilsto usedefaultColors.brand[600],defaultColors.indigo[600],defaultColors.error[600]TeamsInfocomponent to usedefaultColors.gray[700]themeparameter fromgetDomainContainerStyles(),useCanvasEdgeRenderer(), andcomputeEdgeStyle()This will update automatically on new commits.