spawner/frontend/src/app
XPS\Micro 234156feed feat: add shadcn sidebar to dashboard with navigation
Integrate shadcn sidebar component into dashboard layout:
- Create new dashboard/layout.tsx with SidebarProvider and responsive design
- Add AppSidebar component with navigation items (Dashboard, Settings, Admin)
- Implement responsive sidebar (permanent on desktop, drawer on mobile)
- Add Settings page with user profile information
- Update dashboard page to remove old header and integrate with new layout
- Configure Tailwind CSS colors for sidebar theming
- Add components.json for shadcn configuration

Features:
- Desktop sidebar is permanent and collapsible
- Mobile sidebar opens as overlay/drawer
- Active route highlighting in navigation
- User profile display with email and role
- Logout button in sidebar footer
- Conditional Admin link (only for admin users)
- Settings page showing account information

Files created:
- src/components/ui/sidebar.tsx (shadcn sidebar primitives)
- src/components/app-sidebar.tsx (main sidebar component)
- src/app/dashboard/layout.tsx (layout wrapper)
- src/app/dashboard/settings/page.tsx (settings page)
- components.json (shadcn configuration)

Files modified:
- tailwind.config.ts (added sidebar color scheme)
- src/app/globals.css (added sidebar CSS variables)
- src/app/dashboard/page.tsx (refactored to work with layout)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-01 23:13:03 +01:00
..
admin fix: handle undefined last_used in formatDate 2026-01-31 17:31:13 +01:00
dashboard feat: add shadcn sidebar to dashboard with navigation 2026-02-01 23:13:03 +01:00
login feat: Implement passwordless authentication with Magic Links 2026-01-31 16:19:22 +01:00
signup feat: Implement passwordless authentication with Magic Links 2026-01-31 16:19:22 +01:00
verify-error fix: wrap useSearchParams in Suspense boundary for Next.js 14 compatibility 2026-01-31 10:46:58 +01:00
verify-login fix: wrap useSearchParams in Suspense boundary for verify pages 2026-01-31 17:44:51 +01:00
verify-signup fix: wrap useSearchParams in Suspense boundary for verify pages 2026-01-31 17:44:51 +01:00
verify-success fix: email verification improvements 2026-01-31 11:57:52 +01:00
globals.css feat: add shadcn sidebar to dashboard with navigation 2026-02-01 23:13:03 +01:00
layout.tsx Initial project structure with documentation 2026-01-30 18:00:41 +01:00
page.tsx Initial project structure with documentation 2026-01-30 18:00:41 +01:00