question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Include in hovercard the user's contributions commit count + order

See original GitHub issue

Description

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:

Screenshot

2021-08-11_210022 2021-08-11_210325

Example URL

Everywhere, specially in Issues and PRs

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
fregantecommented, Aug 12, 2021

While not exactly the same, this extension is pretty good at it https://github.com/hzoo/contributors-on-github

1reaction
fregantecommented, Sep 18, 2021

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)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found