Repository navigation
Shadcn/Tailwind refactor: CSS utility migration, UI components, layout polish - #1
Merged
Merged
Conversation
Move hand-written CSS to Tailwind utility classes in App.js and LoadingScreen.js. Add header/loading/sidebar color tokens to @theme block for Tailwind usage. Keep only :nth-child animations and ::after pseudo-elements in CSS. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…ion) Replace chart-container, chart-card, chart-controls with Tailwind utilities. Use shadcn Card component for chart cards. Convert all inline styles to Tailwind classes. Keep only heatmap intensity CSS (uses CSS custom properties). Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…eduction) Use shadcn Card/CardHeader/CardTitle/CardContent for dashboard sections. Convert StudyStreak, GoalCard, UpcomingMilestones, SmartRecommendations to Tailwind utilities. Keep only dashboard layout, grid-pair, and CircularProgress SVG styles in CSS. Update tests to match new selectors. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…duction) Convert ModuleList, ModuleDetail, VideoCard, ConfidenceRating, GoalModal to Tailwind utility classes. Keep only pseudo-element styles, nth-child animation delays, custom checkbox styling, and keyframe animations in CSS. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…eduction) Convert all settings tabs (Theme, Dashboard, Data Management, Resources, YouTube, About), WelcomeDialog, and YoutubeSigninDialog to Tailwind utilities. Keep only Radix dialog overrides, drag-and-drop states, custom checkboxes, and keyframe animations in CSS. Also fix nav button arrows to use lucide-react ChevronLeft/ChevronRight for perfect vertical centering. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…Alert) Replace custom checkbox implementations in VideoCard, ModuleDetail, and DashboardTab with shadcn Checkbox. Replace inline badges with shadcn Badge in StudyStreak, ThemeTab, and DashboardTab. Replace milestone progress bar with shadcn Progress in StudyStreak. Replace border dividers with Separator. Replace video-note, warning-banner, confidence-hint, danger-zone with Alert. Clean up now-unused CSS for checkboxes and section-checkboxes. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…elect, normalize z-index scale - Phase 2: Remove hamburger sidebar, add Settings gear icon, blurBounceIn animation - Phase 3: Convert 3 toggle groups to shadcn ToggleGroup (ModuleList, PerformanceCharts, header) - Phase 4: Replace 4 window.confirm() calls with AlertDialog (GoalCard, DashboardTab, ResourcesPathTab, YoutubeTab) - Phase 5: Replace GoalModal overlay with Dialog, native select with shadcn Select - Normalize z-index: 40 (loading), 50 (dialogs), 60/70 (alert), 80 (select), 90 (toast) - Default time range changed from 30 to 7 days Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…ngs.css cleanup - Phase 6: RadioGroup installed (ConfidenceRating kept as raw buttons -- better accessibility) - Phase 7: Replace custom ToastProvider with Sonner adapter (backward-compatible useToast API) - Fix dialog centering: use CSS translate property instead of transform to avoid animation conflicts - Fix dialog animations: explicit fadeIn/fadeOut keyframes replace Tailwind animate-in/out (no slide) - Fix z-index: header z-[45] sits below dialog overlay z-50 - Remove blanket !important dialog overrides from Settings.css - Settings and GoalModal widened to max-w-3xl (768px) Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…abels Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
- Inline theme CSS variables in index.html <head> before first paint - Static loader and React LoadingScreen now visually identical (network icon, title, pulsing progress bar) - Removed spinner, status text, and percentage from LoadingScreen - Moved video hint text below video list in ModuleDetail - Aligned Resources heading margin to match Videos heading Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
- Removed translate-y/translate-x/scale hover effects across all cards, buttons, tabs, recommendations, heatmap cells - Restored hover:-translate-y-1 on ConfidenceRating (intentional interaction) - Replaced rgba(0,0,0,0.08) with hsl(var(--foreground)/0.08) for dark theme support - Replaced hardcoded blue focus ring with hsl(var(--primary)/...) in ResourcesPathTab - Added hover:border-primary to module list view cards Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…ct list view Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
…ents Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
… tests, all thresholds passing) Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
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
This branch migrates the entire CSS codebase to Tailwind utilities and integrates shadcn/ui components throughout the app.
CSS Migration (79% overall reduction)
Shadcn/UI Components Added
Layout & UX Improvements
Test plan
npm run lintandnpm run format:check(both passing)