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

feat: add leaderboard endpoint #15

Merged

Conversation

kieranroneill
Copy link
Member

Description

  • Move generic PostHog utility functions and types to /lib directory
  • Add query to get the total number of accounts that have completed a daily quest
  • Add query to get the paginated results of the leaderboard
  • Add /leaderboard endpoint that gets a paginated total number of completed daily quests for each account in descending order

Type of change

  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🏗️ Build configuration (CI configuration, scaffolding etc.)
  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • 📝 Documentation update(s)
  • 📦 Dependency update(s)
  • 👩🏽‍💻 Improve developer experience
  • ⚡ Improve performance
  • ✨ New feature (non-breaking change which adds functionality)
  • ♻ Refactor
  • ⏪ Revert changes
  • 🧪 New tests or updates to existing tests

@kieranroneill kieranroneill added ♻️ refactor The refactoring fairy has waved their magic wand ✨ feature New feature or request labels Jul 25, 2024
@kieranroneill kieranroneill self-assigned this Jul 25, 2024
@kieranroneill kieranroneill linked an issue Jul 25, 2024 that may be closed by this pull request
@kieranroneill kieranroneill merged commit decc31e into beta Jul 25, 2024
1 check passed
@kieranroneill kieranroneill deleted the 14-add-leaderboard-endpoint-to-get-the-quests-leaderboard branch July 25, 2024 17:36
github-actions bot pushed a commit that referenced this pull request Jul 25, 2024
# [1.4.0-beta.1](v1.3.0...v1.4.0-beta.1) (2024-07-25)

### Features

* add leaderboard endpoint ([#15](#15)) ([decc31e](decc31e))
@agoralabs-bot
Copy link
Contributor

🎉 This issue has been resolved in version 1.4.0-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@agoralabs-bot agoralabs-bot added the 🚀 released To the moon! label Jul 25, 2024
github-actions bot pushed a commit that referenced this pull request Jul 25, 2024
# [1.4.0](v1.3.0...v1.4.0) (2024-07-25)

### Features

* add leaderboard endpoint ([#15](#15)) ([decc31e](decc31e))
@agoralabs-bot
Copy link
Contributor

🎉 This issue has been resolved in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request ♻️ refactor The refactoring fairy has waved their magic wand 🚀 released To the moon!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add leaderboard endpoint to get the quests leaderboard
2 participants