migrate mui from v5 to v7#2811
Open
junjun107 wants to merge 5 commits into
Open
Conversation
15 tasks
This was
linked to
issues
Jun 19, 2026
This was referenced Jun 19, 2026
11 tasks
junjun107
marked this pull request as ready for review
June 23, 2026 02:20
Co-authored-by: Cursor <cursoragent@cursor.com>
27 tasks
27 tasks
7 tasks
7 tasks
20 tasks
20 tasks
9 tasks
9 tasks
9 tasks
9 tasks
Resolve conflicts in ResultsFilters and ResultsMap by combining the widen-address-bar layout from develop with MUI v7 Grid/Box migrations. Co-authored-by: Cursor <cursoragent@cursor.com>
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 Material UI from v5 to v7
Summary
Upgrades the client from MUI v5 to v7, including MUI X packages.
Removes
@mui/lab, migrates legacyGridto the new v7 APIUpdates Data Grid / date picker APIs.
Theme files were not modified — existing
createThemesetup and component overrides remain compatible with v7.Pin Node 22 in Playwright workflow
Regenerate lock file
Package changes
@mui/material@mui/icons-material@mui/system,@mui/utils@mui/x-data-grid@mui/x-date-pickers@mui/labreact/react-domreact-isis pinned to18.3.1inpackage.jsonoverrides (required for React 18 + MUI v7).Code changes
Admin (~12 files)
Grid(item,xs,sm) → newGridAPI (sizeprop) across org edit tabs,SearchCriteriaVerificationAdminGridMui— Data Grid v7 APIs (GridRowSelectionModel,onRowSelectionModelChange, value getters)OpenTimeForm— date pickererrorprops coerced to boolean; time validation helper textTextarea—errorprop coerced to booleanConfirmEmail—@mui/lab/LoadingButton→ButtonwithloadingpropFood Seeker (7 files)
ResultsFilters,StakeholderPreview,StakeholderDetails—Grid2/Unstable_Grid2→GridwithsizeSuggestion,AdvancedFilters,CorrectionDialog,layouts/Mobile— Grid migration + minor type fix forreact-draggableAccount (5 files)
Login,Register,Profile,ForgotPassword,ConfirmEmail— Grid migration + loading buttonStatic pages (1 file)
Donate.tsx— Grid migration (zeroMinWidth→size="grow")Theme
client/src/theme/untouched. Custom palette, button variants (gray,recenter), link variants, and component overrides work as before.Unchanged MUI usage (spot-check only)
Home,Contact,About,Faq, searchDesktoplayout, most filter/map componentsTablepages (Announcements, Tags, Features, Logins, etc.) — no code changes