Feature/mui 7 migration#400
Merged
AleksandarDev merged 7 commits intostagefrom Apr 2, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the codebase to Material UI version 7 by updating how the theme is created and applied while adjusting related UI components.
- Updated theme creation to use the new MUI v7 API.
- Removed the custom ThemeWrapper and migrated theme provisioning directly using ThemeProvider and AppRouterCacheProvider.
- Modified several UI components, including the removal of custom card styling and switching to MUI components.
Reviewed Changes
Copilot reviewed 31 out of 43 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| apps/docs/components/theme.ts | Updated to adopt the MUI v7 theme creation API. |
| apps/docs/components/internal/ThemeWrapper.tsx | Removed in favor of the new theme provisioning approach. |
| apps/docs/components/docs/NpmPackageCard.tsx | Removed custom Card styling which may affect the intended UI design. |
| apps/docs/components/ExampleUseMutationObserver.tsx | Minor formatting adjustments to the useMutationObserver callback. |
| apps/docs/components/ExampleUseDebounce.tsx | Replaced an HTML button with the MUI Button component. |
| apps/docs/components/ExampleUseDataGrid.tsx | Adjusted usage of useDataGrid to use destructuring for props and refresh function. |
| apps/docs/app/layout.jsx | Updated layout to use ThemeProvider and AppRouterCacheProvider for theme management. |
| apps/docs/app/ThemeWrapperDynamic.tsx | Removed as part of the migration to the direct theme provisioning approach. |
Files not reviewed (12)
- apps/docs/content/about.mdx: Language not supported
- apps/docs/content/react-hooks/about.mdx: Language not supported
- apps/docs/content/react-hooks/getting-started.mdx: Language not supported
- apps/docs/content/react-hooks/getting-started/installation.mdx: Language not supported
- apps/docs/content/react-hooks/hooks.mdx: Language not supported
- apps/docs/content/react-mui-hooks/about.mdx: Language not supported
- apps/docs/content/react-mui-hooks/getting-started.mdx: Language not supported
- apps/docs/content/react-mui-hooks/getting-started/installation.mdx: Language not supported
- apps/docs/content/react-mui-hooks/hooks.mdx: Language not supported
- apps/docs/content/react-ui/about.mdx: Language not supported
- apps/docs/content/react-ui/components.mdx: Language not supported
- apps/docs/content/react-ui/getting-started.mdx: Language not supported
Comments suppressed due to low confidence (1)
apps/docs/components/docs/NpmPackageCard.tsx:11
- Removing the custom styling from the Card component may result in unintended UI changes. Consider preserving or adapting the previous styling to maintain the desired card appearance.
<Card>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.