Skip to content

fix: contest results page and past-contest view details button - #166

Merged
HermanPlay merged 1 commit into
masterfrom
feat/contest-results-fix
Aug 11, 2026
Merged

HermanPlay merged 1 commit into
masterfrom
feat/contest-results-fix

Conversation

@HermanPlay

Copy link
Copy Markdown
Member

Closes #133.

Changes

  • Participant results page (/user/contests/[contestId]/results): now renders only the current user's own task results from /contests/{id}/results/my. Previously it rendered a leaderboard + summary cards driven by myResults/leaderboard fields that this endpoint never returns — participants saw an empty state.
  • PastContestCard "View Details" button: was a no-op (no href). Now navigates to the contest results page.

Verification

  • pnpm run build succeeds
  • Deployed locally; results page SSR 200

- participant results page now renders only the current user's task
  results from /contests/{id}/results/my (removed broken leaderboard that
  relied on fields the endpoint never returns)
- PastContestCard 'View Details' button now links to the results page
  (was a no-op button without href)
- closes #133
@HermanPlay
HermanPlay merged commit afedb5d into master Aug 11, 2026
1 check passed
@HermanPlay
HermanPlay deleted the feat/contest-results-fix branch August 11, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contests Result page

1 participant