[BUG]: Contributor metrics remain combined across organizations when filtering

Abierto
#454 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@Aniruddh1702 ya está trabajando en esto.

Desde el 27/11/2026.

  • #479 de @Aniruddh1702 — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript, react

Línea de trabajo

Start by reading src/services/analytics.js and src/pages/ContributorsPage.jsx to trace how contributor metrics are aggregated and how the organization filter is applied. Compare the metric values for one contributor across All Organizations and a single organization; done means the two metrics reflect the selected organization while the CROSS-ORG signal still reflects contributions across loaded organizations.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
Bug Description

Description -:
On the Contributors page, selecting a specific organization filters the contributor list, but the Total Contributions and Repos Contributed To values still appear to represent data across all loaded organizations.
This is particularly noticeable when a contributor belongs to multiple organizations and has the CROSS-ORG signal.

Actual Behaviour -:
The contributor list is filtered according to the selected organization, but the Total Contributions and Repos Contributed To values remain unchanged and appear to reflect the combined data from all loaded organizations.

Expected Behaviour -:

  • When a specific organization is selected, the Total Contributions and Repos Contributed To values should ideally reflect only that organization's repositories.
  • When All Organizations is selected, the existing combined values should remain.
  • The CROSS-ORG signal should continue to represent whether the contributor has contributed across multiple loaded organizations.

Additional Context -:

  • The Contributors page appears to aggregate contributor metrics across loaded repositories and subsequently filter the displayed contributors by organization.
  • It may be worth reviewing whether these individual metrics should also be scoped to the selected organization.
  • I'm raising this for review to confirm whether the current behaviour is intentional or should be addressed.

Relevant Files -:

  • src/services/analytics.js
  • src/pages/ContributorsPage.jsx
Steps to Reproduce
  1. Load multiple GitHub organizations in OrgExplorer.
  2. Navigate to the Contributors page.
  3. Find a contributor who appears in more than one loaded organization. (CROSS-ORG)
  4. Note their Total Contributions and Repos Contributed To values.
  5. Change the organization filter from All Organizations to one specific organization.
  6. Observe the same contributor's metrics.
Logs and Screenshots
Screenshot 2026-11-12 224428 Screenshot 2026-11-12 224458 Screenshot 2026-11-12 224537 Screenshot 2026-11-12 225233 Screenshot 2026-11-12 225309
Environment Details

No response

Impact

Medium - Feature works but has issues

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Lenguaje dominante
JavaScript
Estrellas
53
Forks
187
Merge medio
18 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AOSSIE-Org/OrgExplorer

Todos los issues de AOSSIE-Org/OrgExplorer

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.