Description
Is your feature request related to a problem? Please describe.
The current implementation only shows the repositories a user has contributed to in the last year.
Describe the solution you'd like
It would be nice to show the contributions a user has contributed to for all years.
Additional context
This issue follows up on #2269. As explained in #2269 (comment), the current implementation (i.e. only showing the last year) is due to a GraphQL limitation. I created a feature request in https://github.com/orgs/community/discussions/39589 that should allow us to show the total time contributed to stats for the Private Vercel instance and GitHub action. Please show your support there to get this feature implemented 🙏🏻:star_struck:.
TODOs
-
Add a feature request to git https://github.com/community/community/discussions asking for an easy way to retrieve the total repositories a user has contributed to and update the documentation. For example, by adding date selectors (i.e.
from
andto
) to therepositoriesContributedTo
object.UPDATE: I just created [feature_request] Add date selector arguments to GraphQL repositoriesContributedTo object community/community#39589.
-
Implement a function that loops through the years and sums the result of
repositoriesContributedTo.totalCount
. Release this feature under an env variable so people can enable it when they deploy their own Vercel instance (see feat: add CACHE_SECONDS environment variable #2266 and feat: enable multi page star fetching for private vercel instances #2159 for an example).