feat: introduce leaderboard page with filtering, table, and user rank#62
Merged
0xdevcollins merged 3 commits intoboundlessfi:mainfrom Jan 30, 2026
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a complete mock leaderboard feature, including backend API endpoints, frontend hooks, and supporting types and utilities. The changes enable fetching, filtering, and paginating leaderboard data, retrieving user ranks, and obtaining top contributors, all using mock data for development and testing purposes.
This pull request introduces a new, fully client-rendered leaderboard page along with a set of reusable leaderboard UI components. The changes add filtering, infinite pagination, and current user rank display. The implementation includes modular components for the leaderboard table, filters, rank/tier/streak badges, and a sidebar for the user's rank and stats. Additionally, there is a minor cleanup in the
Bountytype to remove obsolete comments.Leaderboard Page and UI Components:
LeaderboardPage(app/leaderboard/page.tsx) that fetches leaderboard data, manages filters via URL, and displays the leaderboard table and user rank sidebar.LeaderboardTablewith infinite scroll, loading skeletons, and highlighting for the current user. Includes rank, contributor info, tier, score, completed, earnings, and streak columns.LeaderboardFilterscomponent for filtering by timeframe and tier, with a clear filters button.RankBadgefor rank display,TierBadgefor contributor tier, andStreakIndicatorfor streaks with tooltip. [1] [2] [3]UserRankSidebarto show the current user's rank, avatar, tier, and stats with loading and empty states.Type and Code Cleanup:
Bountytype definition, keepingrequirementsandscopeas optional fields for backward compatibility.closes #58
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.