Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display number of co-authors #2244

Open
CaedenPH opened this issue Oct 30, 2022 · 2 comments
Open

Display number of co-authors #2244

CaedenPH opened this issue Oct 30, 2022 · 2 comments
Labels
enhancement New feature or request. stats-card Feature, Enhancement, Fixes related to stats the stats card.

Comments

@CaedenPH
Copy link
Contributor

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

I'm always frustrated when I don't know how many commits I have co-authored or how many discussions I have answered...

Describe the solution you'd like

Perhaps more fields in the github-stats-card containing information about the number of discussions answered and total co-authors

Describe alternatives you've considered

No response

Additional context

image
You don't know how many co-authors you have after you hit 4x

@CaedenPH CaedenPH added the enhancement New feature or request. label Oct 30, 2022
@rickstaa rickstaa added the stats-card Feature, Enhancement, Fixes related to stats the stats card. label Oct 30, 2022
@rickstaa
Copy link
Collaborator

rickstaa commented Oct 30, 2022

@CaedenPH Thanks for your feature request. I am also curious to know how much PR I have co-authored. However, I'm unsure how interested others are in seeing a user's co-authored count 🤔. It would make more sense to add a feature request to https://github.com/community/community asking whether GitHub can show the co-authored count on the badge overview. I think similar stats should be shown on the Galaxy Brain, Galaxy Brain and StarGazer badges. Alternatively, we could make a small web API on which users can retrieve this data. What do you think?

@rickstaa
Copy link
Collaborator

@CaedenPH I just saw that #1991 already requests the discussion information to be added to the stats card. You can add your support for that feature there.

Regarding the co-authored information, I'm happy to merge a PR into the main branch if enough interest is expressed for his feature from the community (see #1935). I, however, could not find an easy way to find the number of co-authored commits using the GraphQL API. This information only seems to be available on the commit level (see https://docs.github.com/en/graphql/reference/objects#commit). Showing this information on the stats card will be too costly since we need to go through all PR commits of all PRs to retrieve it. Before implementing such a feature, we should add a feature request to https://github.com/community/community in which we request this information to be included under the GraphQL user object.

@rickstaa rickstaa changed the title Display number of co-authors and discussions answered Display number of co-authors Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request. stats-card Feature, Enhancement, Fixes related to stats the stats card.
Projects
None yet
Development

No branches or pull requests

2 participants