Commit Graph
43 Commits
Author SHA1 Message Date
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 552bb17c15 feat(rooms): migrate multiplayer room storage from memory to PostgreSQL 2026-04-11 17:37:56 +02:00
jessy-david-dev 589e379dc3 fix(daily): remove invalid phase comparison causing TS build error 2026-04-11 15:57:35 +02:00
jessy-david-dev 5cd32c37e0 chore(linting): remove unused eslint-disable directives 2026-04-11 15:41:35 +02:00
jessy-david-dev d5a66c2dac chore(api): add explicit type casting for request payloads 2026-04-11 15:20:29 +02:00
jessy-david-dev 7d1b236b46 feat(profiles): add public player profiles with clickable leaderboard entries
- Create /api/users/[id] endpoint for public player stats
- Add PublicProfileScreen component with stats by mode
- Make leaderboard entries clickable to view player profiles
- Fix .gitignore to exclude .claude/ and *.db files
2026-04-11 15:17:56 +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 5d8f7eae45 refactor(home): rename todayEmoji to totalEmoji 2026-04-11 13:47:49 +02:00
jessy-david-dev e9f39c572d feat(game): add configurable rounds per room 2026-04-11 13:47:05 +02:00
jessy-david-dev d245232497 fix(api): improve security and performance in leaderboard and rooms 2026-04-11 13:37:50 +02:00
jessy-david-dev f62ce65858 feat: add robots.txt, sitemap, and JSON-LD structured data 2026-04-11 13:30:45 +02:00
jessy-david-dev 2db89a85ad chore: update footer link styling for legal pages 2026-04-11 13:24:57 +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 76c7967a9a feat: add RGPD data export and legal notices page 2026-04-10 23:09:36 +02:00
jessy-david-dev 7f9d58bdf2 fix(home): restore fixed topbar positioning 2026-04-10 22:58:45 +02:00
jessy-david-dev a52edfd458 feat: add share buttons for victory screens (X, LinkedIn, WhatsApp) 2026-04-10 22:57:31 +02:00
jessy-david-dev 19d9afd2b4 feat: add 404 page, migrate to UUID v7, and consolidate DB 2026-04-10 22:48:15 +02:00
jessy-david-dev 25e3e0b79b update(auth): add authentication and layout improvements 2026-04-10 22:32:39 +02:00
jessy-david-dev af03b32921 chore: remove instruction files and stray character 2026-04-10 22:27:57 +02:00
jessy-david-dev 47b8de0b67 feat: add about page, global stats counter, and blitz screen updates
- Create about page with game modes, technologies, and paliers
- Add stats API endpoint for global game counter
- Update home screen with emoji-based tier system (🌱-🚀)
- Rewrite BlitzScreen to match new puzzle-based win/lose phases
- Add simple-icons package for tech stack icons
- Update metadata with wikirush.xyz domain
- Fix em dashes to hyphens throughout codebase
- Update footer with privacy and about links
2026-04-10 22:26:24 +02:00
jessy-david-dev dc12abf796 feat: add daily challenge and blitz mode (2min speedrun) 2026-04-10 21:41:49 +02:00
jessy-david-dev 8c18984121 fix(home): make subtitle more visible 2026-04-10 19:26:47 +02:00
jessy-david-dev 2242adc011 feat(profile): add account deletion with confirmation and update privacy policy 2026-04-10 19:24:12 +02:00
jessy-david-dev cd5f2bdf3f feat: add privacy policy page and footer 2026-04-10 19:21:52 +02:00
jessy-david-dev 8d80d4278a fix(profile): style logout button in red to signal destructive action 2026-04-10 19:08:25 +02:00
jessy-david-dev d21b4e4829 fix(leaderboard): show all stats on mobile with stacked layout 2026-04-10 19:06:56 +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 aed510afd5 feat(leaderboard): add global rankings screen with solo/multi/all filters 2026-04-10 17:30:13 +02:00
jessy-david-dev 676e5ba756 chore(assets): clean up Next.js defaults and update logo styling 2026-04-10 17:20:04 +02:00
jessy-david-dev 741dd84324 fix(home): remove white background from logo PNG 2026-04-10 16:54:54 +02:00
jessy-david-dev 4c0cd9334e fix(home): remove white background from logo with mix-blend-mode 2026-04-10 16:53:56 +02:00
jessy-david-dev b72165e073 feat(home): replace text logo with WikiRush image 2026-04-10 16:53:10 +02:00
jessy-david-dev 0b71bd4f6d fix(solo): restore dark background on setup/won phases of solo screen 2026-04-10 16:49:17 +02:00
jessy-david-dev 6378056f97 refactor(page): extract screen routing into ScreenRouter component 2026-04-10 16:47:13 +02:00
jessy-david-dev 8f62b7edbf refactor(page): extract all effects into useGameEffects hook 2026-04-10 16:45:57 +02:00
jessy-david-dev 4f6e793c74 refactor(page): extract handlers and utils into dedicated modules 2026-04-10 16:44:24 +02:00
jessy-david-dev 9e13d83251 feat(game): auto-save multiplayer game results when round ends 2026-04-10 16:40:33 +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
jessy-david-dev ca760cf8b0 Initial commit from Create Next App 2026-04-10 11:46:43 +02:00