anuraghazra / anuraghazra/github-readme-stats

Card showing percent of merged, open and closed pr/issues

Offen
#2,219 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
JavaScript
Sterne
79.8k
Forks
37.7k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Is your feature request related to a problem? Please describe.

It would be cool to have a card that shows the % of merged, open and closed pull requests and the % of open and closed issues.

### Describe the solution you'd like

```
query userInfo($login: String!) {
user(login: $login) {
pullRequests {
totalCount
}
openPullRequests: pullRequests(states: OPEN) {
totalCount
}
closedPullRequests: pullRequests(states: CLOSED) {
totalCount
}
mergedPullRequests: pullRequests(states: MERGED) {
totalCount
}
issues {
totalCount
}
openIssues: issues(states: OPEN) {
totalCount
}
closedIssues: issues(states: CLOSED) {
totalCount
}
}
}`
```
this would be the graphql query most likely

### Describe alternatives you've considered

_No response_

### Additional context

It could be a new type of card, status card or something similiar.
It could look similiar to the top langs card, with the percentage of merged/open/closed, or there could be an svg of a pi chart. Whatever works :)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.