Commit graph

3 commits

Author SHA1 Message Date
sirpiglr
cf72b31513 Secure all admin routes and fix achievement icon display
Introduces a ProtectedRoute component to secure all admin routes, centralizing authentication logic. Removes redundant individual auth checks from admin pages. Updates admin-achievements.tsx to use a new `iconMap` for consistent icon rendering, resolving display issues.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 5a2fcd4b-aa24-41db-8542-c8df6e959cd0
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/ugufFZw
Replit-Helium-Checkpoint-Created: true
2025-12-16 01:02:07 +00:00
sirpiglr
9c99d35836 Improve admin page navigation by delaying redirects
Fixes issues where admin pages would incorrectly redirect to login by adding a short delay to authentication checks.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 0cf85aaf-4648-41fb-9f64-9582eea59cc1
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/bYlft3B
Replit-Helium-Checkpoint-Created: true
2025-12-16 00:40:38 +00:00
sirpiglr
5ab99659bc Add an admin page to manage applications and resolve alerts
Introduces a new admin page for managing applications and includes functionality to resolve alerts.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 279f1558-c0e3-40e4-8217-be7e9f4c6eca
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 34bed664-a459-48b3-b4bd-fe1aeb4a6f47
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/b984cb14-1d19-4944-922b-bc79e821ed35/279f1558-c0e3-40e4-8217-be7e9f4c6eca/GoEZTAy
Replit-Helium-Checkpoint-Created: true
2025-12-15 23:31:22 +00:00