Include in hovercard the user's contributions commit count + order
See original GitHub issueDescription
In a repo’s: Insights | Contributions
tab, there are listed all contributions to main
, excluding merge commits and bot accounts. By default they are shorted by ‘Commits’ contributions count.
In this repo the order is as follows:
1 | fregante | 1,048 commits |
2 | yakov116 | 258 commits |
3 | sindresorhus | 195 commits |
4 | cheap-glitch | 96 commits |
5 | kidonng | 84 commits |
(etc) |
Currently hovering mouse over a username of a member that has commmited to the repo, there’s info as follows:
Committed to this repository in the past day Committed to this repository in the past week Committed to this repository in the past month Committed to this repository
My suggestion is to also include commit count + order (see mockup below). The reasoning is: the most active/top contributors to better stand out among the repo community.
Related info:
- StackOverflow - Count commits on Github api
- Repository Statistics API documentation - List repository contributors
Screenshot
Example URL
Everywhere, specially in Issues and PRs
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Why are my contributions not showing up on my profile?
Contributions are only counted if they meet certain criteria. In some cases, we may need to rebuild your graph in order for contributions...
Read more >Counting your contribution to a git repository - Shing Lyu
Let's start with the easy one: counting the number of commits made by one user. The easiest way is to run. git shortlog...
Read more >How to get the Contributor's LOC count using GitHub's ...
I already have commit, repository, and star counts, but LOC escapes ... get the number of contributions from the API endpoint you mention....
Read more >git - Show a contributor's number of commits and lines of code ...
On GitHub's repo summary bar, click the contributor count: screenshot of repo summary bar with “contributors” highlighted.
Read more >Get Contributor stats from git - Lost in Details
Abstract: This article is about getting contributor stats from a git repository. Solution: To get the number of commits for each user execute...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
While not exactly the same, this extension is pretty good at it https://github.com/hzoo/contributors-on-github
Feel free to open a PR to demo it and store its code here forever, and then we can decide depending on how big it is 😃 (probably still not though)