Conversation
…ootball squad Data layer (lib/squad/): fetches a repo's top contributors, values them with the same market-value formula as individual profiles, assigns tactical positions by commit rank, and supports 433/442/352/4231 formations with automatic downgrade for smaller squads. Live page (app/squad/[owner]/[repo]/): vertical pitch with GSAP entrance, formation switcher, bench, and per-player popovers (stats, country, links to GitHub/Transfergit) via @floating-ui/react. OG export (app/api/og/squad/[owner]/[repo]/): portrait (README) and landscape (social/OG metadata) images in floodlight or grass themes, wired into the squad page's export panel and metadata. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
feat(squad): add Repo Squad — GitHub repo contributors fielded as a football squad
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
style(home): align navbar spacing and refine 3d ring orbit physics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This update introduces the Repo Squad feature and a complete re-architecture of the GitHub data fetching pipeline to ensure 100% data integrity and resilience for heavy-history or high-activity GitHub profiles.
Key Changes
Feature: Repo Squad: New functionality to visualize repository contributors as a professional football squad, featuring tiered valuations, tactical formations, and custom drag-and-drop layouts.
Data Integrity (Honesty Model): Re-architected
lib/github.tsto eliminate data corruption. The system now correctly identifies and flags incomplete/pending seasons assyncing...rather than fabricating or truncating statistics.Bisection Engine: Implemented query chunking and bisection logic, allowing the app to process 15+ years of history without hitting GitHub's
RESOURCE_LIMITS_EXCEEDEDerrors.Resilience & UX:
Advanced rate-limit handling with intelligent backoff, retries, and clear UI feedback.
Robust export routes (SVG/OG): exports now consistently return branded cards, ensuring embeds never break even during data synchronization.
Professional loading states: introduced
"Scouting seasons of history..."progress indicators for cold loads.Documentation: Established a comprehensive
CONTRIBUTING.mdguide, modular documentation in/docs, and an updated project roadmap.Technical Notes
Full test suite (73/73) is passing with green builds.
For further details on the new architecture, refer to
docs/architecture.mdanddocs/caching-and-rate-limits.md.