16 Commits
Author SHA1 Message Date
Pascal 8e5e60da87 refactor(hunt): Style hunt admin 2026-08-03 01:57:35 +02:00
Pascal 3623701548 feat(settings): add sidebar visibility state to settings store 2026-07-31 19:31:08 +02:00
Pascal 77becc453e feat(hunt): add public flag to hunts and implement hunt creation page
- Add 'public' boolean column to Hunt model with default true
- Update hunt admin UI to toggle 'public' flag
- Implement new hunt creation page with form supporting all hunt properties
- Add sidebar navigation item for hunt creation for authorized users
- Adjust home API to filter hunts by public flag only
2026-07-30 23:33:34 +02:00
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 146e48d42d Last minute fixes 2025-10-01 00:31:31 +02:00
Pascal 86a66aad37 Add imprint 2025-08-30 17:56:52 +02:00
Pascal e763e3adf0 Translate invite code and start help page 2025-08-30 17:31:19 +02:00
Pascal 24f933fbaa Use composition for translation 2025-08-14 19:56:49 +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 28b42762fe Add hunt detail 2025-08-01 01:14:34 +02:00
Pascal 15f4f74cb7 Add stuff 2025-07-31 22:50:39 +02:00