MUI v5 to v6 Upgrade#1035
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
krnowak
approved these changes
May 12, 2025
krnowak
left a comment
Member
There was a problem hiding this comment.
I didn't bother going over the .snap files - I assume that they are generated.
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.
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.
@mui/material,@mui/system,@mui/icons-material,@mui/utils,@mui/styles,@mui/styled-engine-scto^6.0.0How to use
See commands in frontend readme.
Testing done
Next PR I prepared will handle MUI v6→v7 upgrade