Goal: Create a frontend view for admins to see ranked contest results.
Requirements:
- Connect to
GET /api/test/:id/leaderboard (requires admin auth).
- Gracefully handle
403 if the contest is still active.
- Display a data table with: Rank, Name, Total Score, and Submission Time.
- Add a "View Leaderboard" button for completed contests on the admin dashboard.
Note: Backend API is already completed in #67.
Goal: Create a frontend view for admins to see ranked contest results.
Requirements:
GET /api/test/:id/leaderboard(requiresadminauth).403if the contest is still active.Note: Backend API is already completed in #67.