|
|
5c6f0ce061
|
feat(frontend): migrate to MUI v5 (phase 4 step 1)
- Replace @material-ui/core -> @mui/material
- Replace @material-ui/icons -> @mui/icons-material
- Switch makeStyles imports to @mui/styles (compat)
- Add @mui/material, @mui/icons-material, @mui/styles, @emotion/react, @emotion/styled to package.json
Notes: Kept makeStyles via @mui/styles for incremental migration; next: replace makeStyles usage with sx/styled where needed.
|
2025-10-29 20:10:33 +01:00 |
|
|
|
5ba463427b
|
feat(frontend): upgrade react-router-dom 5→6 (Phase 3)
- Update package.json: react-router-dom ^5.2.0→^6.28.0
- Migrate App.js: Switch→Routes, component→element props, path="*" for 404
- Migrate 5 pages: useHistory→useNavigate, history.push()→navigate()
- GroupsOverviewPage.js (4x navigate)
- ModerationGroupsPage.js (1x navigate)
- ModerationGroupImagesPage.js (2x navigate)
- PublicGroupImagesPage.js (import updated)
- SlideshowPage.js (4x navigate + keyboard handler)
- Regenerate package-lock.json with react-router v6
✅ Tested: Production build 254.46 KB gzip (+1.17 KB)
✅ Manual test: Navigation, moderation routing, slideshow ESC - all working
Phase 3 complete: Modern react-router v6 with improved routing API.
|
2025-10-28 22:59:59 +01:00 |
|