[BUG]: Contributor metrics remain combined across organizations when filtering
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, react
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- JavaScript
- Star
- 53
- Fork
- 187
- Merge trung bình
- 18 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của AOSSIE-Org/OrgExplorer
-
[BUG]: Organization filter dropdown in AnalyticsPage renders empty list due to truthy evaluation of empty issuesDataCó thể đã có người làm @havyasreekuppam đã nhận 5 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
AOSSIE-Org/OrgExplorer#476 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add Pat for 5000 req/hr button not visible when pat expiresCó thể đã có người làm @Rajvardhan-Singh-Rathore đã nhận 6 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
AOSSIE-Org/OrgExplorer#473 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible nameCó thể đã có người làm @prasanm1423 đã nhận 10 ngày trước. Đang mởbug enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
AOSSIE-Org/OrgExplorer#466 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[FEATURE]: Set dynamic document.title based on active page routeCó thể đã có người làm @23241a6749 đã nhận 8 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
AOSSIE-Org/OrgExplorer#462 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loadedCó thể đã có người làm @vivekrajputofficial29-afk đã nhận 8 ngày trước. Đang mởbug enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 89/100
AOSSIE-Org/OrgExplorer#461 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của AOSSIE-Org/OrgExplorer
Issue tương tự
-
marketing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Kanevry/session-orchestrator#108 ·
-
PHP 8.6: "Returning a value from a constructor is deprecated" in app/Common/Models/Model.phpĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
awesomemotive/all-in-one-seo-pack#3238 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
andromarces/agent-loops#2055 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày