Skip to content

Conversation

@DylanDevelops
Copy link
Owner

@DylanDevelops DylanDevelops commented Apr 8, 2025

This pull request includes updates to the leaderboard page to display user streaks alongside their scores. The changes involve both the frontend and backend to support this new feature.

Frontend changes:

  • app/(main)/leaderboard/page.tsx: Imported the Flame icon from lucide-react and added it to the leaderboard display to show user streaks. Updated the layout to accommodate the new streak information. [1] [2] [3] [4]

Backend changes:

  • convex/users.ts: Added a new streaks field to the leaderboard entries returned by the getLeaderboardEntries query, which maps the current streaks of the top users.

image

@DylanDevelops DylanDevelops requested a review from divinewton April 8, 2025 01:02
@divinewton divinewton merged commit 36533e5 into main Apr 8, 2025
4 checks passed
@divinewton divinewton deleted the streak-on-leaderboard branch April 8, 2025 01:14
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