Feat/update mui resize#317
Merged
Merged
Conversation
- Update @mui/material, @mui/system, @mui/icons-material, @mui/utils to v7 - Upgrade @mui/x-data-grid to v7 (column resizing enabled by default) - Add @mui/lab@7.0.0-beta.x for LoadingButton and Tabs context (TabContext/TabPanel/TabList) - Pin react-is@18.3.1 via Yarn resolutions (React 18) - Apply MUI codemods: deprecations/all, v7 grid-props, input-label-size-normal-medium - Remove deep imports and any 'modern' aliases from bundler BREAKING CHANGES: - StyledEngineProvider must be imported from @mui/material/styles - InputLabel size='normal' -> 'medium' - Dialog/Modal onBackdropClick removed; use onClose(event, reason) - Components still in @mui/lab (beta): LoadingButton, TabContext/TabPanel/TabList
… across components
… formatting in tables
…n ExperimentsTable
… formatting in SelectDatasetStep
…es for better layout
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the codebase to MUI v7 to enable column resizing in DataGrid components and modernizes the package structure and APIs throughout the application.
- Upgrades MUI packages to v7 and aligns with new API patterns including slotProps, valueGetter, and Grid size prop
- Enables manual column resizing in DataGrid with improved styling and hover interactions
- Migrates from deprecated InputProps/PaperProps to slotProps pattern across components
Reviewed Changes
Copilot reviewed 111 out of 112 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| DashAI/front/src/styles/theme.js | Adds MuiDataGrid theme overrides for column resizing and header styling |
| DashAI/front/package.json | Updates MUI dependencies to v7 and locks react-is version |
| DashAI/front/src/App.jsx | Adds React Router v7 future flags for forward compatibility |
| Multiple component files | Migrates Grid item prop to size object, Dialog PaperProps to slotProps, and InputProps to slotProps |
| DashAI/front/src/components/explorations/ExplorationRunner.jsx | Updates LoadingButton import from @mui/lab to @mui/material |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
cristian-tamblay
approved these changes
Oct 2, 2025
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.
Summary
Upgrade to MUI v7 to enable column resizing in Data Grid and align the codebase with the new package layout & APIs.
Key dependencies:
@mui/material,@mui/system,@mui/icons-material,@mui/utils: 7.x@mui/x-data-grid: 7.x (enables column resize)@mui/lab: 7.0.0-beta.x (only for LoadingButton and TabContext/TabPanel/TabList)react-is: 18.3.1 (locked via Yarn resolutions for React 18)Type of change
Changes
Data Grid
valueGetter(value, row)instead ofvalueFormatter(params)valueGetterreturning valid Date objectsitem + xs|sm|md→size={{ xs, sm, md }}@mui/lab usage
React Router
How to Test
Install & run
Screenshots
Before

After
