4 Commits
Author SHA1 Message Date
Pascal 3623701548 feat(settings): add sidebar visibility state to settings store 2026-07-31 19:31:08 +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 ae1f65f262 Persist hideAnswer switch 2025-10-06 12:19:07 +02:00
Pascal 624bb7e124 Add quest page 2025-08-01 22:15:30 +02:00