Skip to content

Apply VSCode-style design language across all configuration pages#69

Merged
Che-Zhu merged 6 commits intomainfrom
feature/ui-improvements-project-detail
Nov 10, 2025
Merged

Apply VSCode-style design language across all configuration pages#69
Che-Zhu merged 6 commits intomainfrom
feature/ui-improvements-project-detail

Conversation

@Che-Zhu
Copy link
Copy Markdown
Collaborator

@Che-Zhu Che-Zhu commented Nov 10, 2025

Summary

Comprehensive VSCode design language alignment for all configuration pages and settings dialog.

Changes Made

🎨 Environment Variables Page (app/projects/[id]/environment/page.tsx)

  • Redesigned with VSCode-style header panel and card layouts
  • Implemented full-width sections for better space utilization
  • Enhanced responsive design and visual hierarchy
  • Used proper CSS variables for consistent theming

🔐 Secrets Configuration Page (app/projects/[id]/secrets/page.tsx)

  • Applied VSCode design language to match environment page
  • Replaced hardcoded colors with CSS variables (bg-[#252526]bg-card, etc.)
  • Fixed SystemSecretsList component styling issues
  • Implemented full-width layout and header alignment
  • Added proper responsive design for mobile devices

💳 Payment Configuration Page (app/projects/[id]/payment/page.tsx)

  • Complete VSCode-style redesign with Card components
  • Enhanced spacing and form layout improvements
  • Fixed form description spacing (tight to input fields)
  • Replaced hardcoded colors with semantic CSS variables
  • Added proper button variants and interaction states

🔑 Authentication Configuration Page (app/projects/[id]/auth/page.tsx & components/auth-configuration.tsx)

  • Removed redundant auth() checks, rely on layout-level protection
  • Replaced ALL hardcoded colors with CSS variables for theme support
  • Implemented VSCode-style header panel and full-width layout
  • Fixed SystemSecretsList component color hardcoding
  • Maintained complete functionality while improving visual consistency

⚙️ Settings Dialog (components/dialog/settings-dialog.tsx)

  • Replaced all hardcoded VSCode colors with CSS variables
  • Updated dialog container: bg-[#252526]bg-card
  • Fixed form inputs: bg-[#1e1e1e]bg-input with proper focus states
  • Updated tabs system: data-[state=active]:bg-[#0e639c]data-[state=active]:bg-primary
  • Enhanced accessibility with focus rings and semantic colors
  • Maintained zero functional changes - only visual improvements

Design System Improvements

Color System Migration

  • bg-[#252526]bg-card
  • border-[#3e3e42]border-border
  • text-white/gray-300text-foreground
  • text-gray-400/500text-muted-foreground
  • bg-[#0e639c]bg-primary
  • hover:bg-[#1177bb]hover:bg-primary/90

Layout Consistency

  • VSCode-style header panels across all pages
  • Full-width sections (max-w-4xlmx-auto)
  • Consistent spacing patterns and component usage
  • Proper responsive design implementation

Component Standardization

  • Use of Card, CardHeader, CardContent components
  • Proper Button component variants
  • Standardized Input and Textarea styling
  • Focus states: focus:ring-2 focus:ring-ring focus:border-ring

Benefits

Complete Visual Consistency - All configuration pages now share the same VSCode design language
Theme Compatibility - Full support for light/dark theme switching with CSS variables
Improved Maintainability - No more hardcoded colors, easy theme updates
Enhanced Accessibility - Proper focus indicators and semantic color usage
Better UX - Consistent interactions, spacing, and visual hierarchy
Mobile Responsive - Proper responsive design across all pages

Test Plan

  • Test all configuration pages in light and dark themes
  • Verify form functionality still works correctly
  • Check responsive behavior on mobile devices
  • Test settings dialog in all contexts (project list, sidebar, etc.)
  • Ensure no breaking changes to existing functionality

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Che-Zhu and others added 6 commits November 10, 2025 15:29
- Add VSCode-style header panel with border separator
- Implement content-background CSS variable (#1E1E1E) for VSCode dark theme
- Fix card height consistency issues with min-height constraints
- Optimize empty state spacing and layout
- Improve responsive design for mobile and desktop
- Enhanced form styling with focus states and transitions
- Add loading state with spinner component
- Remove header icon for cleaner design
- Update footer layout with variable count display

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove redundant auth() check, rely on layout-level protection
- Replace hardcoded colors with CSS variables for better theme support
- Implement VSCode-style header panel and card layouts
- Use Button components for consistent interactions
- Add responsive design for mobile devices
- Fix SystemSecretsList component color hardcoding
- Ensure full-width sections to match environment page
- Align header structure with other pages for consistency

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove redundant auth() check, rely on layout-level protection
- Replace hardcoded colors with CSS variables for better theme support
- Implement VSCode-style header panel and full-width layout
- Use Card, Button, Input components for consistent interactions
- Add proper spacing for form descriptions (tight to input fields)
- Improve visual hierarchy and responsive design foundation
- Ensure complete alignment with environment and secrets pages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove redundant auth() check, rely on layout-level protection
- Replace ALL hardcoded colors with CSS variables for theme support
- Implement VSCode-style header panel and full-width layout
- Fix all card styling with proper shadow and border classes
- Update input fields with focus states and transitions
- Standardize button hover effects and color usage
- Maintain full functionality while improving visual consistency

All hardcoded colors replaced:
bg-[#252526] → bg-card, border-[#3e3e42] → border-border
text-white/gray-300 → text-foreground, text-blue-400 → text-primary
bg-[#0e639c] → bg-primary, hover:bg-[#1177bb] → hover:bg-primary/90

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Replace all VSCode hardcoded colors with semantic CSS variables
- Dialog container: bg-[#252526] → bg-card, border-[#3e3e42] → border-border
- Text colors: text-white → text-foreground, text-gray-400/500 → text-muted-foreground
- Form inputs: bg-[#1e1e1e] → bg-input with proper focus states
- Tabs system: bg-[#1e1e1e] → bg-secondary, active: data-[state=active]:bg-primary
- Buttons: border-[#3e3e42] → border-border, hover:bg-[#3e3e42] → hover:bg-accent
- Success states: text-green-500 → text-green-600 dark:text-green-500
- Add focus rings and improved accessibility for all form elements

Zero functional changes - only visual styling improvements for theme support.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Fix import order in payment page (ESLint simple-import-sort)
- Clean up unused imports and improve code organization
- Minor auth configuration component cleanup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

✅ PR Check Results: Passed

Build Checks

Check Status
Lint & Build ✅ Passed
Docker Build ✅ Passed

✨ Great work!

All checks passed successfully. Your PR is ready for review.

Details:

  • ✅ Code quality verified (linting passed)
  • ✅ Build successful
  • ✅ Docker image build verified (linux/amd64)
    Commit: f05f7c6583a5ad9f2f2a2e9936a665fe2ff712c8
    Branch: feature/ui-improvements-project-detail

🔗 View Details:

@Che-Zhu Che-Zhu merged commit bb1e6cd into main Nov 10, 2025
10 of 12 checks passed
@Che-Zhu Che-Zhu deleted the feature/ui-improvements-project-detail branch November 10, 2025 09:52
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