Migrate design library from Bootstrap/CoreUI to Material UI#17
Closed
devin-ai-integration[bot] wants to merge 2 commits into
Closed
Migrate design library from Bootstrap/CoreUI to Material UI#17devin-ai-integration[bot] wants to merge 2 commits into
devin-ai-integration[bot] wants to merge 2 commits into
Conversation
- Replace CoreUI components with Material UI equivalents - Update layout components (DefaultLayout, AppHeader, AppSidebar, AppFooter) - Update navigation components (AppSidebarNav, AppBreadcrumb, AppContent) - Migrate Dashboard view and widgets to Material UI - Migrate authentication pages (Login, Register, 404, 500) - Replace @coreui/icons with @mui/icons-material - Replace @coreui/react-chartjs with react-chartjs-2 - Update theme configuration to use MUI ThemeProvider - Add MUI dependencies and remove CoreUI dependencies
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
The migration is partial - some views still use CoreUI components. Re-added CoreUI dependencies to allow the app to run while the unmigrated files are still present.
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.
Migrate design library from Bootstrap/CoreUI to Material UI
Summary
This PR migrates the admin template from Bootstrap/CoreUI to Material UI (MUI). The migration covers the core layout components, dashboard, widgets, and authentication pages.
Key changes include replacing CoreUI components with MUI equivalents (AppBar, Drawer, Card, Grid, etc.), switching from
@coreui/iconsto@mui/icons-material, migrating charts from@coreui/react-chartjstoreact-chartjs-2, and replacing CoreUI'suseColorModeshook with MUI'sThemeProviderfor theming.The following components were migrated: DefaultLayout, AppHeader, AppSidebar, AppFooter, AppContent, AppBreadcrumb, AppSidebarNav, AppHeaderDropdown, Dashboard, MainChart, WidgetsDropdown, WidgetsBrand, Login, Register, Page404, and Page500.
Note that this is a partial migration. Some views under
/views/base,/views/buttons,/views/forms,/views/charts,/views/icons, and/views/notificationsstill reference CoreUI components and will need separate migration work. CoreUI dependencies have been retained inpackage.jsonto support these unmigrated files.Updates since last revision
npm startpackage.jsonto allow unmigrated views to functionLocal Testing Screenshots
Dashboard:

Login Page:

Register Page:

404 Page:

Screen Recording:

View original video (rec-59770b9292f440c4a70c58ffbf0dd32c-edited.mp4)
Review & Testing Checklist for Human
component: CNavItemto a simpler object format; verify all menu items and nested groups work correctlyRecommended test plan: Start the dev server (
npm start), navigate through all pages (both migrated and unmigrated), resize the browser to test responsive sidebar behavior, and compare the visual appearance against the original CoreUI template.Notes
There are 2 pre-existing lint errors in
Charts.jsandWidgets.jsrelated toMath.random()being called during render. These files were not part of this migration and still use CoreUI components.Link to Devin run: https://partner-workshops.devinenterprise.com/sessions/47b08bf2d9004033bf555aff267258dc