anuraghazra / github-readme-stats

:zap: Dynamically generated stats for your github readmes
https://github-readme-stats.vercel.app
MIT License
69.57k stars 23.05k forks source link

Add open issues count on extra pin cards #2486

Open guibranco opened 1 year ago

guibranco commented 1 year ago

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

In the extra pin card, add an icon for open issues in that repository

Describe the solution you'd like

Currently: Readme Card

Example: image

Describe alternatives you've considered

No response

Additional context

The quantity of open issues is already present in the repositories API response. No extra calls need to be done.

rickstaa commented 1 year ago

@guibranco I like the idea. We could also add the open pull request. Feel free to create a PR and I will review it 👍.

guibranco commented 1 year ago

@rickstaa I've submit the PR, from my side I think is all done, could you please check and let me know if I missed something ?

Aditya-creator-bot commented 1 year ago

We can add issue and badges in readme using shield.io.

guibranco commented 1 year ago

We can add issue and badges in readme using shield.io.

@Aditya-creator-bot I didn't get the context ? What you mean ?

Aditya-creator-bot commented 1 year ago

We can add issue and badges in readme using shield.io.

@Aditya-creator-bot I didn't get the context ? What you mean ?

I mean in the repo readme.md file we can add badges of issues, pull requests, contributer counter.

guibranco commented 1 year ago

I mean in the repo readme.md file we can add badges of issues, pull requests, contributer counter.

@Aditya-creator-bot yes we can, but what does that have to do with this issue ? You understand what we are talking here ? We are talking about the card, not the readme file, I still don't get your point...

Aditya-creator-bot commented 1 year ago

I mean in the repo readme.md file we can add badges of issues, pull requests, contributer counter.

@Aditya-creator-bot yes we can, but what does that have to do with this issue ? You understand what we are talking here ? We are talking about the card, not the readme file, I still don't get your point...

I got it, but I thought if we have already added badge in repo what is the need for that.

One of the need can be, someone can easily check the no. of issues in the repo.

guibranco commented 1 year ago

@Aditya-creator-bot you understand why this repository exists ? It generates a card with relevant information of a repository without the person looking to the card needs to open the repository to check this information.

The person who is looking this card won't open readme file / repository home page to check this anyway, so if we have this in the card, we have more value added to it.

Just to give you real life examples:

In the below image, you can see 10 cards, and that is just 10 HTTP requests. If I add this information through badges.io, I'll have at least 4x more requests (1 request for each information per card), so we are moving from 50 HTTP requests to just 10... image

Aditya-creator-bot commented 1 year ago

I appreciate. We should go on in this issue

rickstaa commented 1 year ago

@Aditya-creator-bot you understand why this repository exists ? It generates a card with relevant information of a repository without the person looking to the card needs to open the repository to check this information.

The person who is looking this card won't open readme file / repository home page to check this anyway, so if we have this in the card, we have more value added to it.

Just to give you real life examples:

  • I have a page where I monitor/track almost 50 cards of this. So, in one quick single look, I can check if any of them has open issues, open pull requests, and also prioritize which one I'll work first based on stars count without opening each one by one to check...
  • In my portfolio/resume page I also show some cards, with some projects that I created, and with that I can only use one single image instead of a lot of badges.io requests to show all relevant information.

In the below image, you can see 10 cards, and that is just 10 HTTP requests. If I add this information through badges.io, I'll have at least 4x more requests (1 request for each information per card), so we are moving from 50 HTTP requests to just 10... image

Thanks for the lengthy justification of why we should merge #2487 into the main branch; very nice use-case. I review it when I find the time. 👍