You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Admin UI needs a comprehensive design overhaul to improve usability, consistency, accessibility, and maintainability. This issue tracks the work needed to transform it from a functional but dated interface into a professional, modern admin dashboard.
Current State Assessment
Architecture Problems
4,587-line monolithic HTML file with inline JavaScript and no component separation
All styles inline using Tailwind classes - no design system or reusable patterns
2,500+ lines of JavaScript embedded in a single Alpine.js component
No separation of concerns between views, logic, and presentation
Visual Inconsistencies
7 different button patterns with inconsistent sizing (px-3 py-1.5 vs px-4 py-2 vs px-4 py-3)
No semantic color system: Blue, Cyan, Purple, Green, Red, Yellow used without clear meaning
Inconsistent spacing: gap-1, gap-2, gap-3, gap-4, gap-6 with no pattern
Modal designs vary: different widths (max-w-md to max-w-4xl), headers, and behaviors
Typography lacks hierarchy - text-sm, text-lg, text-xl, text-2xl mixed without system
Usability Issues
No search or filtering on videos table (critical for large libraries)
No column sorting on tables
Bulk action toolbar has 6 buttons that wrap awkwardly on small screens
"Logout" mixed with content tabs (should be in user menu)
No keyboard shortcuts or command palette
Confirmation patterns inconsistent (modal vs confirm() dialog)
Accessibility Failures
Color contrast fails WCAG AA: text-dark-500 on dark-950 background = ~2.5:1 (needs 4.5:1)
Status indicators are color-only with no text/icon for colorblind users
Missing ARIA labels on interactive elements
No visible focus indicators on form elements
Touch targets too small (<44px) for mobile
No screen reader announcements for dynamic content
Mobile Responsiveness
Videos table doesn't adapt to mobile (needs card view)
Button sizes fail touch target requirements
Settings tabs don't wrap properly
Fixed-width grids don't gracefully degrade
Missing Modern UI Patterns
No toast/snackbar notification system (uses inline messages)
No skeleton loaders during data fetch
No empty states with illustrations/CTAs
No drag-and-drop for file upload
No optimistic UI updates
No undo for destructive actions
Proposed Solution
Phase 1: Foundation (Design System)
Create a proper design token system:
Create tokens.css with CSS custom properties for colors, typography, spacing, shadows, radii
Define semantic color roles: --color-primary, --color-surface, --color-error, etc.
Establish typography scale with clear heading hierarchy
Define consistent spacing scale (8px base unit)
Document color contrast compliance
Phase 2: Component Library
Build reusable components with consistent styling:
Buttons: Primary, Secondary, Danger, Ghost variants in sm/md/lg sizes
Inputs: Text, Select, Checkbox, Radio with validation states
Cards: Default, Elevated, Outlined variants with header/body/footer
Badges: Success, Error, Warning, Info with icons for accessibility
Modals: Standardized header/body/footer with focus trapping
Summary
The Admin UI needs a comprehensive design overhaul to improve usability, consistency, accessibility, and maintainability. This issue tracks the work needed to transform it from a functional but dated interface into a professional, modern admin dashboard.
Current State Assessment
Architecture Problems
Visual Inconsistencies
px-3 py-1.5vspx-4 py-2vspx-4 py-3)gap-1,gap-2,gap-3,gap-4,gap-6with no patternmax-w-mdtomax-w-4xl), headers, and behaviorstext-sm,text-lg,text-xl,text-2xlmixed without systemUsability Issues
confirm()dialog)Accessibility Failures
text-dark-500ondark-950background = ~2.5:1 (needs 4.5:1)Mobile Responsiveness
Missing Modern UI Patterns
Proposed Solution
Phase 1: Foundation (Design System)
Create a proper design token system:
tokens.csswith CSS custom properties for colors, typography, spacing, shadows, radii--color-primary,--color-surface,--color-error, etc.Phase 2: Component Library
Build reusable components with consistent styling:
Phase 3: Core Improvements
Address critical usability gaps:
Phase 4: Architecture Refactor
Improve maintainability:
Phase 5: Mobile & Polish
Final refinements:
Specific Issues to Fix
Button Standardization
Status Badge Accessibility
Add icons alongside colors:
Modal Consistency
Standardize all 8+ modals to use:
Form Improvements
Success Metrics
References