Skip to content

Feature/mui 7 migration#400

Merged
AleksandarDev merged 7 commits intostagefrom
feature/mui-7-migration
Apr 2, 2025
Merged

Feature/mui 7 migration#400
AleksandarDev merged 7 commits intostagefrom
feature/mui-7-migration

Conversation

@AleksandarDev
Copy link
Copy Markdown
Member

No description provided.

@AleksandarDev AleksandarDev requested a review from Copilot April 2, 2025 12:19
@AleksandarDev AleksandarDev enabled auto-merge April 2, 2025 12:20
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>

Comment thread apps/docs/components/theme.ts
@AleksandarDev AleksandarDev requested a review from a team April 2, 2025 12:21
@AleksandarDev AleksandarDev disabled auto-merge April 2, 2025 12:52
@AleksandarDev AleksandarDev merged commit 9d5a8ca into stage Apr 2, 2025
1 check passed
@AleksandarDev AleksandarDev deleted the feature/mui-7-migration branch April 2, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants