-
-
Notifications
You must be signed in to change notification settings - Fork 23.4k
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
feat: remove 'include_private' #2736
Conversation
As explained in #2517 the 'include_private' flag is confusing and doesn't work as expected. This commit therefore removes this flag.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@qwerty541 @anuraghazra told me he will add you as a collaborator when he finds the time. I was curious to know what you think about this change? |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #2736 +/- ##
==========================================
+ Coverage 97.53% 97.59% +0.05%
==========================================
Files 24 24
Lines 4824 4814 -10
Branches 449 447 -2
==========================================
- Hits 4705 4698 -7
+ Misses 118 115 -3
Partials 1 1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anuraghazra told me he will add you as a collaborator when he finds the time.
Nice
I was curious to know what you think about this change?
I fully agree that the count_private
parameter has behavior that confuse users and support the course to change how it works. But it is important to consider that a large number of users still want to be able to add their private contributions to the statistics card, and I am one of them. As far as I understand, this pull request is a preparation step for adding the optional ability to display the value of the total contributions, including private ones, on the statistics card. If I understood everything correctly, then I support this change.
I can also add that I think it's good practice for a pull request to contain changes related to only one small task. If I were you, I would format the readme file in a separate pull request so that changes are not confusing.
@qwerty541 This pull request was meant to remove the |
I also think displaying contributions instead of commits would be better as some users mainly have private contribs. However this will generate a lot of questions from users. Note that "contributed to" can also be replaced by "repositories" to avoid confusions (while still counting the repositories that were contributed to). |
@francois-rozet Thanks for your feedback 💪🏻! Users can already show private commits by deploying their own Vercel instance. However, as stated above, I agree that giving users the ability to also show contributions using the |
Would |
Ideally, I think it would be an extra statistics people can enable. People can then disable the commits if they like, using the |
I am not familiar with that part of the API (adding a new field to the card), but I can do the "backend" part if needed. Or you can point me to where I can modify the card. |
It would, of course, be great if you could create a pull request, but don't feel pressured 👍🏻. The stats card items are added in: github-readme-stats/src/cards/stats-card.js Lines 191 to 203 in 275c1fc
Please don't hesitate to request any help you need. |
I updated the CONTRIBUTING.md some weeks ago also to explain how people can use a debugger with the project might that be helpful. |
I looked a little deeper and realized that the main problem with the |
Great! I will merge this pull request when I get a review from @anuraghazra or @Zo-Bro-23 👍🏻. |
Hey, @rickstaa! You need to resolve conflicts before merging. |
2db6cf7
to
30fd5c8
Compare
7c4c70a
to
0c3aa0f
Compare
Of course! Sorry, here you go 😄. |
5886567
to
a35b8e5
Compare
* feat: remove 'include_private' As explained in anuraghazra#2517 the 'include_private' flag is confusing and doesn't work as expected. This commit therefore removes this flag. * fix: fix tests * docs: remove redundant private deploy note
This reverts commit b9200c6.
- add card_width - remove count_private ref: anuraghazra/github-readme-stats#2736
* feat: remove 'include_private' As explained in anuraghazra#2517 the 'include_private' flag is confusing and doesn't work as expected. This commit therefore removes this flag. * fix: fix tests * docs: remove redundant private deploy note
This is now being handled directly by self-hosting anuraghazra/github-readme-stats#2736
…k Staa <rick.staa@outlook.com> 7 Jun 2023 at 10:21
* feat: remove 'include_private' As explained in anuraghazra#2517 the 'include_private' flag is confusing and doesn't work as expected. This commit therefore removes this flag. * fix: fix tests * docs: remove redundant private deploy note
* feat: remove 'include_private' As explained in anuraghazra#2517 the 'include_private' flag is confusing and doesn't work as expected. This commit therefore removes this flag. * fix: fix tests * docs: remove redundant private deploy note
As explained in #2517 the 'include_private' flag is confusing and doesn't work as expected. This commit therefore removes this flag.
TODOs