feat: Workspace UI overhaul — generate layout, dashboard stats, templates, auth#286
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
WalkthroughThis PR transitions the application UI theme from primary/brand blue to violet colors across authentication and dashboard pages. Key functional additions include subscription data integration in the dashboard with usage visualization, a significant restructuring of the generation interface into a two-pane layout with tabbed output, and a visual redesign of template cards with dynamic gradient headers and metadata badges. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant GeneratorForm as Generator Form<br/>(Left Panel)
participant OutputManager as Output Manager<br/>(Preview/Code Tabs)
participant Refinement as Refinement Input<br/>(Bottom Bar)
participant GitHub as GitHub<br/>(External)
User->>GeneratorForm: Configure generation settings
GeneratorForm->>OutputManager: Trigger generate/load output
OutputManager->>OutputManager: Render preview or code based on activeTab
User->>OutputManager: Toggle between Preview & Code tabs
OutputManager->>OutputManager: Switch tab state & re-render content
User->>Refinement: Submit refinement feedback
Refinement->>OutputManager: Update output based on feedback
OutputManager->>OutputManager: Re-render current tab view
User->>Refinement: Trigger GitHub push
Refinement->>GitHub: Send save/push request with PR details
GitHub-->>Refinement: Confirm success or error state
Refinement->>User: Display PR URL & status
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- Split from 3-equal-column grid to config panel (400px) + output area - Add Preview/Code tabs in output panel instead of side-by-side - Add collapsible config panel with toggle button - Add workspace header bar with panel toggle, history, and template mode - Show empty state with brand icon when no code generated - Move action buttons (Save, Push to GitHub) into tab bar - Move refinement input and feedback into bottom bar of output panel - Auto-switch to Code tab after generation completes
- Add real generation count and project count from useSubscription - Add plan badge (Free/Pro/Team) next to subtitle - Add usage progress bars with color thresholds (green/amber/red) - Show upgrade CTA for free plan users - Replace static stat cards with real data (generations, templates, AI keys) - Add stat card subtitles for contextual info - Add framework badge to recent project cards - Use direct violet-* classes for all brand accents
- Add gradient preview area with category-based colors - Add hover overlay with Preview button - Add official badge with sparkle icon - Add colored framework badges (React=sky, Vue=emerald, Angular=red, Svelte=orange) - Add difficulty dot indicators - Replace Card/CardHeader/CardContent with minimal custom layout - Update templates page: violet accent classes for tabs, pills, pagination
- Fix AuthCardShell glow: bg-primary/20 -> bg-violet-600/30 (visible) - Sign in/up buttons: bg-violet-600 with purple glow shadow - Focus rings: violet-500/50 on all inputs - Links: text-violet-400 hover:text-violet-300 - Consistent across signin and signup pages
aee636e to
d4cc6b7
Compare
Summary
Test plan
npm testto verify no regressions🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
UI Improvements