Commit Graph
11 Commits
Author SHA1 Message Date
jessy-david-dev b1fcbbdb04 feat(multi): add configurable time limit per round with countdown display 2026-04-11 22:41:40 +02:00
jessy-david-dev d4bb21da5d style(lobby): format game mode labels and search toggle 2026-04-11 22:03:00 +02:00
jessy-david-dev ede083f881 fix(multi): restrict search and game settings to room host only 2026-04-11 22:02:06 +02:00
jessy-david-dev 0401cdffe6 feat(multi): add game mode selection and surrender button for all_finish mode 2026-04-11 21:58:35 +02:00
jessy-david-dev 8ff64b3470 feat(admin): add admin panel with user management, daily puzzle CRUD, and activity graph
- Add admin page at /admin (restricted to ADMIN_EMAIL via proxy)
- Implement user ban/unban and deletion
- Add daily puzzle creation, modification, deletion
- Include 14-day activity chart with hover details
- Add User.banned field to schema and migrate database
- Block banned users from logging in
- Add ADMIN_EMAIL to .env.local configuration
- Update Prisma client after schema changes
2026-04-11 15:10:08 +02:00
jessy-david-dev e9f39c572d feat(game): add configurable rounds per room 2026-04-11 13:47:05 +02:00
jessy-david-dev b2f28bbb75 feat: add search toggle for game setup and improve RGPD compliance 2026-04-11 13:24:30 +02:00
jessy-david-dev 02dd3869d3 fix(responsive): full mobile-first pass on all screens, fix join button layout 2026-04-10 19:04:52 +02:00
jessy-david-dev b15418e949 refactor: migrate all components to Tailwind, globals.css 1676 → 88 lignes 2026-04-10 18:58:41 +02:00
jessy-david-dev 3fd3f01637 feat(lobby): add clickable code copy to clipboard with visual feedback 2026-04-10 15:47:33 +02:00
jessy-david-dev dc09658fdb feat: add user accounts, authentication, and game history with Prisma 7
- Implement user registration and login with NextAuth v5 (email/password, JWT)
- Add authentication modal in UI with login/register tabs
- Create user profile screen showing game statistics and history
- Integrate Prisma 7 ORM with SQLite database for data persistence
- Store game results (mode, path, clicks, time) in database
- Auto-save completed games only when user is authenticated
- Separate business logic into reusable hooks (useSoloGame, useMultiGame)
- Organize UI into composable screen components (HomeScreen, SoloScreen, ProfileScreen, etc)
- Add session persistence across F5 refresh for solo and multiplayer
- Style auth modal, account button, and profile stats dashboard
2026-04-10 15:43:07 +02:00