Skip to content

Leaderboard #3113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open

Leaderboard #3113

wants to merge 49 commits into from

Conversation

tohyzhong
Copy link

@tohyzhong tohyzhong commented Mar 8, 2025

Description

  • Added Overall Leaderboard and Contest Leaderboards
  • XP and contest score fetching from backend
  • podium display for each leaderboard
  • customise number of entries to display in overall leaderboard in course config panel and create courses
  • dropdown to switch between leaderboards
  • routing to different leaderboards (url + dropdown)
  • links for contest entries
  • added contest scores update button in ground control (under voting features)
  • export as CSV for admins and staff
  • contest score updating
  • contest xp issuing for contest winners
  • Fixed code links from leaderboard without using setTimeout
  • Customise XP issuing for contest winners in contest voting XML file
  • Default Source Academy Profile pictures in Leaderboard based on NUSNet ID

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Code quality improvements

How to test

Checklist

  • I have tested this code
  • I have updated the documentation

@tohyzhong tohyzhong requested a review from RichDom2185 March 8, 2025 12:15
@tohyzhong tohyzhong self-assigned this Mar 8, 2025
@tohyzhong tohyzhong marked this pull request as ready for review March 9, 2025 10:24
@tohyzhong tohyzhong marked this pull request as draft March 9, 2025 10:25
@tohyzhong tohyzhong marked this pull request as ready for review March 18, 2025 17:02
@tohyzhong tohyzhong marked this pull request as draft March 18, 2025 17:02
@tohyzhong tohyzhong marked this pull request as ready for review April 16, 2025 10:44
@tohyzhong tohyzhong closed this Apr 16, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in SA 2526 CP3108 P09: Leaderboard Apr 16, 2025
@tohyzhong tohyzhong reopened this Apr 16, 2025
@tohyzhong tohyzhong marked this pull request as draft April 16, 2025 10:47
@tohyzhong tohyzhong marked this pull request as ready for review April 16, 2025 11:08
@sayomaki
Copy link
Contributor

Can you run the yarn format command first to fix the lint issues?

…intainability; update ContestLeaderboard and OverallLeaderboard components for better state management and data retrieval.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

5 participants