Skip to content

MUI v5 to v6 Upgrade#1035

Merged
ervcz merged 7 commits into
mainfrom
mui-6-upgrade
May 15, 2025
Merged

MUI v5 to v6 Upgrade#1035
ervcz merged 7 commits into
mainfrom
mui-6-upgrade

Conversation

@ervcz

@ervcz ervcz commented May 9, 2025

Copy link
Copy Markdown
Collaborator

Upgrade MUI v5 → v6

Upgrade core MUI packages to v6 and address breaking changes in theming, imports and APIs to prepare for the upcoming v6→v7 migration in the following PR.

  • Deps: bump @mui/material, @mui/system, @mui/icons-material, @mui/utils, @mui/styles, @mui/styled-engine-sc to ^6.0.0

How to use

  1. Install & run tests
    See commands in frontend readme.

Testing done

  • manual visual and functional check in local environment (both running app and storybook)
  • running all automated tests
  • Changelog entry added in MUI v6→v7 upgrade PR

Next PR I prepared will handle MUI v6→v7 upgrade

@ervcz ervcz requested review from a team and Copilot May 12, 2025 10:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 upgrades the MUI packages from v5 to v6 while addressing the associated breaking changes in theming, imports, and API updates. In addition, snapshot files have been updated to reflect the new generated CSS class names from MUI v6, several test files have been modified to wrap asynchronous events in act(), and related documentation (README and Makefile) has been updated to match the new setup commands.

Reviewed Changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Bumped MUI package versions and updated dependencies such as @mui/icons-material, @mui/material, @mui/styles, etc.
Snapshot files (e.g., *.stories.tsx.snap) Updated auto-generated snapshot class names now produced by MUI v6
Test files (e.g., TimeZonePicker.spec.tsx, ModalButton.spec.tsx, ConfirmationContent.spec.tsx) Modified tests to wrap event triggers with act() for better async handling
E2E and Makefile Updated comments and commands to align with the new upgrade workflow
README.md Enhanced documentation for development and CI processes

Comment thread frontend/e2e/instance.spec.ts Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

@krnowak krnowak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I didn't bother going over the .snap files - I assume that they are generated.

@ervcz ervcz merged commit faf7018 into main May 15, 2025
2 checks passed
@ervcz ervcz mentioned this pull request May 15, 2025
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.

3 participants