Commit Graph
17 Commits
Author SHA1 Message Date
jessy-david-dev 84db5451a2 feat(lobby): replace max players select with free number input 2026-04-15 19:27:49 +02:00
jessy-david-dev 6ba0df304f feat(lobby): allow up to 100 players per room 2026-04-15 19:26:50 +02:00
jessy-david-dev 1dcd45930c fix(lobby): optimistic toggle for search allowed, fixes display always showing blocked 2026-04-15 18:34:02 +02:00
jessy-david-dev 4e03876338 fix(lobby): use local state for rounds selector instead of server state 2026-04-15 18:27:51 +02:00
jessy-david-dev 2a3dd6be56 fix: sync totalRounds changes to server, filter geographic admin articles, validate user exists before saving game 2026-04-13 15:42:00 +02:00
jessy-david-dev 169f71c67d fix(multi): sync game mode changes to server in lobby 2026-04-12 23:59:40 +02:00
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