Skip to content

Leaderboard points do not update according to selected activity filters #152

Description

@Ayush1169

Describe the bug

When applying activity-based filters on the leaderboard (e.g. "Issue Opened"), the list of contributors updates correctly, but the points shown for each contributor still include points from all activities such as PR merged, PR opened, and reviews.

This results in misleading point totals that do not reflect the selected filter.

To Reproduce

  1. Go to the Leaderboard page.
  2. Apply a filter such as "Issue Opened".
  3. Observe that the leaderboard list updates.
  4. Check the points shown for contributors.
  5. Points still include contributions from other activities like PR merged and reviews.

Expected behavior

When a specific activity filter is applied:

  • Only points related to the selected activity should be displayed.
  • Other activity points should be excluded from the total.
  • When no filters are applied, the leaderboard should show aggregated points from all activities.

Actual behavior

Points remain aggregated across all activities even when a specific filter is active.

Impact

This change would improve data accuracy, user trust, and clarity in contribution metrics.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions