Skip to content
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

Export leaderboard result #1102

Merged
merged 41 commits into from
Apr 6, 2024

Conversation

DesSnowy
Copy link
Contributor

@DesSnowy DesSnowy commented Apr 6, 2024

Description
This change allows admin to export the top 10 leaderboards entries for both score and popular vote.

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

Changes done:

  • Added to path to get each type of leaderboard
  • Added new way to render and display the leaderboard to the frontend
  • Added the path to swaggers
  • Add new test cases

DesSnowy added 30 commits March 20, 2024 23:39
…:DesSnowy/source-academy-backend into RenameHasTokenCounterToHasVotingFeatures
@DesSnowy
Copy link
Contributor Author

DesSnowy commented Apr 6, 2024

Corresponding frontend PR: source-academy/frontend#2892

@coveralls
Copy link

coveralls commented Apr 6, 2024

Coverage Status

coverage: 95.43% (-0.1%) from 95.558%
when pulling ec1c11a on DesSnowy:ExportLeaderboardResult
into 556f7ad on source-academy:master.

@DesSnowy DesSnowy marked this pull request as draft April 6, 2024 06:23
@DesSnowy DesSnowy marked this pull request as ready for review April 6, 2024 09:00
Copy link
Member

@RichDom2185 RichDom2185 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for working on this! Looks good, just some minor nits regarding renaming and whatnot.

Thanks!

Copy link
Member

@RichDom2185 RichDom2185 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot!

@RichDom2185 RichDom2185 merged commit 2913e69 into source-academy:master Apr 6, 2024
2 checks passed
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.

3 participants