Skip to content

feat: add community leaderboard and clean tracker header - #420

Merged
trtajim merged 1 commit into
mainfrom
feat/leaderboard
Oct 13, 2026
Merged

trtajim merged 1 commit into
mainfrom
feat/leaderboard

Conversation

@trtajim

@trtajim trtajim commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Description

  • Implemented community leaderboard at /leaderboard with dual tabs:
    • শীর্ষ শিক্ষার্থী (Top Students): Ranked by logged study time from daily_study_logs (filtered by activity_privacy !== 'private').
    • শীর্ষ কন্ট্রিবিউটর (Top Contributors): Ranked by approved shared resources from resources.
  • Added timeframe filters: এই সপ্তাহ (this_week), এই মাস (this_month), সর্বমোট (all_time).
  • Top 3 podium display and full Top 50 ranked list rows.
  • Included 1-line Bangla explanations below tabs.
  • Added Leaderboard navigation link and quick access buttons in Peers and Tracker pages.
  • Removed Log in -> CTA from the Study Tracker header.

Summary by CodeRabbit

  • New Features
    • Added a leaderboard with student study-time and contributor resource rankings.
    • Browse weekly, monthly, or all-time rankings, view the top three and full list, and check your own rank when eligible.
    • Added leaderboard links to the navigation, peers, and tracker pages.

@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Repository: hscstack/platform/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 92f601e4-b9e9-4d72-8798-7bc047814d94
📥 Commits

Reviewing files that changed from the base of the PR and between 7591019 and 4e8521d.

📒 Files selected for processing: 6
  • app/Http/Controllers/LeaderboardController.php
  • resources/js/lib/navigation.ts
  • resources/js/pages/Leaderboard/Index.vue
  • resources/js/pages/Peers/Index.vue
  • resources/js/pages/Tracker/Index.vue
  • routes/web.php
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@trtajim
trtajim merged commit c1cc6cf into main Oct 13, 2026
5 of 6 checks passed
@trtajim
trtajim deleted the feat/leaderboard branch October 13, 2026 18:50
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.

1 participant