Commit Graph
22 Commits
Author SHA1 Message Date
Pascal 370ba3406f refactor(hunt): replace admin middleware with auth and implement membership state
- Change middleware from 'admin' to 'auth' on hunt and quest admin pages
- Add global hunt store to track current hunt ID and membership status
- Use hunt store membership state to conditionally display admin UI elements
- Handle fetch errors gracefully with alerts and back navigation buttons
- Update admin UI logic to depend on membership state instead of user role
- Add membership state update after API calls in hunt, quest, teams, and admin pages
- Refactor UI templates to show error messages when fetch fails
- Centralize membership logic for better authorization control in frontend
2026-07-30 22:33:47 +02:00
Pascal baca5415c3 Fix type errors 2025-10-16 20:44:52 +02:00
Pascal ae1f65f262 Persist hideAnswer switch 2025-10-06 12:19:07 +02:00
Pascal 146e48d42d Last minute fixes 2025-10-01 00:31:31 +02:00
Pascal 280dfee53b Add SEO info 2025-09-15 16:08:53 +02:00
Pascal 600ccb4207 Add colors to quest list 2025-09-14 18:18:18 +02:00
Pascal 5d4e802796 Add line breaks to description 2025-09-11 22:51:23 +02:00
Pascal e763e3adf0 Translate invite code and start help page 2025-08-30 17:31:19 +02:00
Pascal 7948fed103 Start i18n on static texts 2025-08-21 20:52:59 +02:00
Pascal 16956d12f4 Add eslint 2025-08-20 23:40:00 +02:00
Pascal cc544322b2 Switch to translatable data 2025-08-20 23:18:40 +02:00
Pascal c35fb06830 Add diashow and styling 2025-08-17 01:40:30 +02:00
Pascal 5146e8e490 Reuse common dateStyle 2025-08-14 20:20:54 +02:00
Pascal 24f933fbaa Use composition for translation 2025-08-14 19:56:49 +02:00
Pascal 900414727f Move review to separate model 2025-08-13 23:53:36 +02:00
Pascal befc678bdb Add team member and hunt member management for admins 2025-08-10 00:20:44 +02:00
Pascal 4189c95d38 Start admin pages 2025-08-09 14:58:38 +02:00
Pascal 8aa8be7e9f Remember uploaded images 2025-08-04 19:34:50 +02:00
Pascal 36e8ef41bf Add team creation, team join and debug login screen 2025-08-03 18:58:17 +02:00
Pascal 624bb7e124 Add quest page 2025-08-01 22:15:30 +02:00
Pascal 03527b2fe0 Add dynamic title 2025-08-01 01:31:11 +02:00
Pascal 28b42762fe Add hunt detail 2025-08-01 01:14:34 +02:00