Skip to content

feat: implement project-wise contribution filtering in team leaderboard

This MR enhances the Team Leaderboard module by introducing project-wise contribution filtering and improved aggregation logic.

The leaderboard now supports filtering contributions based on selected projects, enabling more accurate and contextual team analytics.


What’s Implemented

  • Added project-based filtering in leaderboard analytics
  • Enhanced contribution aggregation logic in:
    • gitlab_utils/batch.py
    • gitlab_utils/commits.py
    • gitlab_utils/issues.py
    • gitlab_utils/merge_requests.py
  • Created modes/team_leaderboard.py for structured team leaderboard rendering
  • Ensured clean separation between data processing and UI rendering
  • Maintained compatibility with existing contribution processing logic

🧪 Testing

  • Verified project-wise filtering logic manually
  • Ensured no regression in existing contribution aggregation
  • Confirmed leaderboard renders correctly with filtered datasets

Merge request reports

Loading