anuraghazra / anuraghazra/github-readme-stats

Show all time contributed to

Ouverte
#2,282 13 commentaires 33 réactions 0 personnes assignées Voir sur GitHub
:star: top feature :star: top issue enhancement stats-card upstream
Langage dominant
JavaScript
Étoiles
79.8k
Forks
37.7k
Métriques de merge des PR
Aucune PR mergée en 30 j

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 https://github.com/anuraghazra/github-readme-stats/issues/2269#issuecomment-1321167681, 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

- [x] 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` and `to`) to the `repositoriesContributedTo` object.

**UPDATE:** I just created https://github.com/community/community/discussions/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 https://github.com/anuraghazra/github-readme-stats/pull/2266 and https://github.com/anuraghazra/github-readme-stats/pull/2159 for an example).

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.