[BUG]: Contributor metrics remain combined across organizations when filtering
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, react
- Domain
- data-visualization
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Load multiple GitHub organizations in OrgExplorer.
- Navigate to the Contributors page.
- Find a contributor who appears in more than one loaded organization. (CROSS-ORG)
- Note their Total Contributions and Repos Contributed To values.
- Change the organization filter from All Organizations to one specific organization.
- Observe the same contributor's metrics.
Logs and Screenshots
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
- Dominant language
- JavaScript
- Stars
- 53
- Forks
- 187
- Avg merge
- 18m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/OrgExplorer
-
[BUG]: Organization filter dropdown in AnalyticsPage renders empty list due to truthy evaluation of empty issuesDataPossibly taken @havyasreekuppam claimed this 5 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AOSSIE-Org/OrgExplorer#476 · 5 comments ·
Maintainers usually reply within 1 day
-
Add Pat for 5000 req/hr button not visible when pat expiresPossibly taken @Rajvardhan-Singh-Rathore claimed this 6 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AOSSIE-Org/OrgExplorer#473 · 6 comments ·
Maintainers usually reply within 1 day
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible namePossibly taken @prasanm1423 claimed this 10 days ago. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#466 · 2 comments ·
Maintainers usually reply within 1 day
-
[FEATURE]: Set dynamic document.title based on active page routePossibly taken @23241a6749 claimed this 8 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#462 · 2 comments ·
Maintainers usually reply within 1 day
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loadedPossibly taken @vivekrajputofficial29-afk claimed this 8 days ago. Openbug enhancement
Difficulty 1/5 Under an hour Newbie friendliness 89/100
AOSSIE-Org/OrgExplorer#461 · 1 comment ·
Maintainers usually reply within 1 day
All issues in AOSSIE-Org/OrgExplorer
Similar issues
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Kanevry/session-orchestrator#108 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
andromarces/agent-loops#2055 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days