fix: update top repos selection to include all repositories#96
Conversation
WalkthroughThe ChangesNetwork data source update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/pages/NetworkPage.jsx`:
- Around line 29-31: The NetworkPage data selection is still passing unbounded
model.allRepos and model.contributors into the graph, which can make the
SVG/force simulation too expensive for large orgs. Update the
top-repo/top-contributor handling in NetworkPage to cap or slice the datasets
before they reach the renderer, and make sure the nearby comment reflects the
new bounded behavior instead of “Top repos and contributors for performance.”
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 91718099-1b03-49cd-9f50-17680195707a
📒 Files selected for processing (1)
src/pages/NetworkPage.jsx
Screenshots/Recordings:
Before: -

After: -

Additional Notes:
Fix network page to include all the repos when PAT is available.
Checklist
We encourage contributors to use AI tools responsibly when creating Pull Requests. While AI can be a valuable aid, it is essential to ensure that your contributions meet the task requirements, build successfully, include relevant tests, and pass all linters. Submissions that do not meet these standards may be closed without warning to maintain the quality and integrity of the project. Please take the time to understand the changes you are proposing and their impact.
Summary by CodeRabbit