9 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 b43e8b9219 Cleanup admin quest 2025-10-06 12:36:11 +02:00
Pascal c2c52dbe45 Fix i18n bugs 2025-08-30 16:36:39 +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 9cb405be22 Add writing reviews for answers 2025-08-14 20:33:39 +02:00
Pascal 4189c95d38 Start admin pages 2025-08-09 14:58:38 +02:00