Skip to content

feature: Enable a configurable worldwide leaderboard #186

Description

@O2sa

The leaderboard currently focuses on country-specific rankings. We should add support for a worldwide leaderboard that aggregates users globally and limits the number of displayed users through a runtime environment variable.

Tasks

  • Add support for a worldwide leaderboard route/state in the leaderboard data flow.
  • Query users across all countries when the selected leaderboard slug is worldwide.
  • Add a runtime environment variable (e.g., WORLDWIDE_LEADERBOARD_DISPLAY_LIMIT) to control how many users are shown.
  • Apply a sensible fallback limit when the runtime variable is missing or invalid.
  • Update .env.example and relevant documentation with the new variable.
  • Verify the UI handles the worldwide leaderboard title, count, and ranking correctly.

Tip

🚀 Want to contribute?
Comment assign me to be automatically assigned to this issue via our GitHub Actions bot. Happy coding! ✨

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions