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

Display popular votes leaderboard #2785

Merged

Conversation

jayjay19630
Copy link
Contributor

@jayjay19630 jayjay19630 commented Feb 15, 2024

Description

This pull request adds a new tab which shows the popular votes leaderboard in the contest voting assessments. Relevant backend pull request to be be opened soon. This resolves issue #2699.

Changes To Be Made

  • Add a new popularVoteLeaderboard attribute to IContestVotingQuestion
  • Create new tab for popular vote leaderboard
  • Edit tests and snapshots

Checklist

  • I have tested this code

@coveralls
Copy link

coveralls commented Feb 15, 2024

Pull Request Test Coverage Report for Build 8023039313

Details

  • 0 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 36.999%

Totals Coverage Status
Change from base Build 8023025641: 0.03%
Covered Lines: 5743
Relevant Lines: 14626

💛 - Coveralls

@jayjay19630
Copy link
Contributor Author

jayjay19630 commented Feb 17, 2024

Corresponding backend PR: source-academy/backend#1066

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, looking forward to the changes, just some of my thoughts below:

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! But I'll delay the approval until the corresponding backend PR is also approved.

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

@RichDom2185 RichDom2185 merged commit 0e106dd into source-academy:master Feb 24, 2024
6 checks passed
@jayjay19630 jayjay19630 deleted the DisplayPopularVotesLeaderboard branch February 26, 2024 11:38
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.

4 participants