Skip to content

feat(ui): Redesign frontend with Material Design 3#3

Closed
okamitimo233 wants to merge 1 commit intoiBUHub:mainfrom
okamitimo233:frontend-redesign
Closed

feat(ui): Redesign frontend with Material Design 3#3
okamitimo233 wants to merge 1 commit intoiBUHub:mainfrom
okamitimo233:frontend-redesign

Conversation

@okamitimo233
Copy link
Copy Markdown

@okamitimo233 okamitimo233 commented Apr 11, 2026

Summary

Major frontend overhaul with modern UI components and improved architecture:

  • Redesigned Dashboard with Material Design 3 aesthetic
  • Sessions page for browser session management
  • Settings page for runtime configuration
  • Extracted reusable composables (useStatusPolling, useSessions, useSettings, etc.)
  • New components: MetricCard, SideNavBar, TopAppBar
  • Backend API: /api/settings/session-error-threshold endpoint for Settings page
  • Enhanced styling with CSS variables and dark mode support
  • Internationalization updates (en/zh locales)

Changes

New Files

  • ui/app/components/MetricCard.vue - Reusable metric display card
  • ui/app/components/SideNavBar.vue - Fixed left sidebar navigation
  • ui/app/components/TopAppBar.vue - Top application bar
  • ui/app/composables/useStatusPolling.js - Status polling logic
  • ui/app/composables/useSessions.js - Session management logic
  • ui/app/composables/useSettings.js - Settings management logic
  • ui/app/composables/useI18nHelper.js - i18n helper utilities
  • ui/app/composables/useLogs.js - Log fetching utilities
  • ui/app/composables/useVersionInfo.js - Version info utilities

Modified Files

  • ui/app/pages/StatusPage.vue - Completely redesigned with composables
  • ui/app/router/index.js - Added new routes
  • ui/app/styles/variables.less - Extended CSS variable system
  • ui/app/styles/global.less - Updated global styles
  • ui/locales/en.json - New translation keys
  • ui/locales/zh.json - New translation keys
  • src/routes/StatusRoutes.js - Added settings API endpoint

Screenshots

The new UI features a clean, modern design with:

  • Fixed sidebar navigation
  • Material Design 3 styling
  • Improved metric cards with status indicators
  • Session management table
  • Runtime settings configuration

Breaking Changes

None - fully backward compatible.

Test Plan

  • Verify Dashboard displays correctly with new components
  • Test Sessions page loads and displays session data
  • Test Settings page can update runtime configuration
  • Verify dark mode styling works correctly
  • Check internationalization (English/Chinese)
  • Verify backward compatibility with existing API

Major frontend overhaul with modern UI components and improved architecture:

- Redesigned Dashboard with Material Design 3 aesthetic
- Added Sessions page for browser session management
- Added Settings page for runtime configuration
- Extracted reusable composables (useStatusPolling, useSessions, etc.)
- New components: MetricCard, SideNavBar, TopAppBar
- Backend API: session-error-threshold endpoint for Settings page
- Enhanced styling with CSS variables and dark mode support
- Internationalization updates (en/zh locales)

Breaking changes: None (backward compatible)
@okamitimo233 okamitimo233 deleted the frontend-redesign branch April 14, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant