Refactor dashboard UI: consolidate theme, redesign layout and components#2
Open
BookJJun-IJ wants to merge 1 commit intoYundera:mainfrom
Open
Refactor dashboard UI: consolidate theme, redesign layout and components#2BookJJun-IJ wants to merge 1 commit intoYundera:mainfrom
BookJJun-IJ wants to merge 1 commit intoYundera:mainfrom
Conversation
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
Full dashboard UI refactor. Consolidated theme into a single file, redesigned sidebar/layout/login, and unified component styling across all pages.
Changes
1. Theme Consolidation (
softTheme.ts: 125 → 706 lines)colors,radius,font,spacingdesign tokenscard,title,button,chip,icon,textreusable sx styles2. AppWrapper Redesign (
AppWrapper.tsx)dashboard-coreMenu with custom implementation!importantto prevent stretching on refresh), rounded content area, custom scrollbarRaSidebar-fixedto Menu Box (fixed double-padding bug)3. Login Page Redesign (
Login.tsx)colors.bgAppbackgroundbgCard,radius.card,borderMuted),minWidth 300→400secondary.main→colors.primarypalette.grey[500]→colors.textMutedbutton.primary(pill shape)useNavigateimport4. HealthPanel Layout (
HealthPanel.tsx)PageContainer(dashboard-core) → customBoxlayout<br />→gap: 50px,maxWidth: 800px5. Component Styling
DockerUpdate.tsx
List/ListItem→Box/StacklayoutWarningIcon→ unified withErrorIconcard.root+card.header+card.contentSelfCheck.tsx
List/ListItem→Box/StacklayoutuseStateinit: empty object →nullgetStatusColor→getStatusHexColor(direct hex)WarningIcon,ScheduleIcon,PageContainerEnvConfiguration.tsx
axios,CardHeader,Divider,CircularProgressimportscolors.textMutedto field iconscard.root+card.header+card.contentUpdateChannel.tsx
YunderaDahsboard.tsx
Dashboard.tsx
6. Other
Backend Impact
No backend logic changes. All API calls, data processing, and state management remain identical.
Files Changed (10 files)
softTheme.tsAppWrapper.tsxLogin.tsxHealthPanel.tsxDockerUpdate.tsxSelfCheck.tsxEnvConfiguration.tsxUpdateChannel.tsxYunderaDahsboard.tsxDashboard.tsx