claude/determined-khayyam #15

Merged
eikmeidu merged 4 commits from claude/determined-khayyam into master 2026-02-26 19:44:56 +01:00
Owner
No description provided.
- Port all Admin Panel pages (Dashboard, Events, Stories, Users,
  Moderation, Notifications, Website, Settings) as Next.js components
- Adapt design tokens from Tailwind v4 (indigo) to existing v3 theme
  (blue primary #3B82F6, dark bg #0d1117, card #161b27)
- Add conditional LayoutWrapper to hide global nav/footer on /admin
- Extend tailwind.config with admin semantic color system (card,
  sidebar, muted, popover, ring, input, etc.)
- Add recharts dependency for Dashboard charts
- Fix TypeScript implicit-any errors in supabase server.ts and
  middleware.ts
- Temporarily remove /admin from protected middleware paths (TODO)
- Change dev server port to 3001

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Convert admin panel from mock data to real Supabase queries
- Add server actions (verifyEvent, publishStory, updateUserRole, etc.)
- Add service role client for bypassing RLS in admin context
- Convert admin page.tsx to server component with auth check
- Show warning banner if SQL migration not yet run
- Add /profil page (was missing, caused 404)
- Add Admin-Panel link in navigation for admin users
- Re-enable /admin in middleware protected paths
- Add scripts/admin-setup.sql for DB migration (role column + admin user)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- "Mit Google anmelden" button above email form
- Divider "oder per E-Mail" between the two options
- Error display covers both auth methods
- Updated subtitle text

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Login page: tab switcher between Magic Link and Passwort
- Password tab: login + register mode with confirm field
- Show/hide password toggle, min 8 chars validation
- Profile page: "Passwort" button opens change form
- Password change via supabase.auth.updateUser() (bcrypt server-side)
- Success feedback auto-closes form after 2 seconds

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
eikmeidu merged commit e6bd895ff2 into master 2026-02-26 19:44:56 +01:00
eikmeidu deleted branch claude/determined-khayyam 2026-02-26 19:45:01 +01:00
Sign in to join this conversation.
No description provided.