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

Top languages card donut vertical layout #2701

Merged

Conversation

qwerty541
Copy link
Collaborator

@qwerty541 qwerty541 commented May 7, 2023

image

Preview deployed there: https://github-readme-stats-1svgrsiyn-qwerty541.vercel.app

Option: https://github-readme-stats-1svgrsiyn-qwerty541.vercel.app/api/top-langs?username=qwerty541&layout=donut-vertical

TODOS:

  • rebase master
  • refactoring
  • docs
  • tests
  • animations

@vercel
Copy link

vercel bot commented May 7, 2023

@qwerty541 is attempting to deploy a commit to the github readme stats Team on Vercel.

A member of the Team first needs to authorize it.

@qwerty541 qwerty541 marked this pull request as draft May 7, 2023 07:18
@codecov
Copy link

codecov bot commented May 7, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.04 🎉

Comparison is base (6d45f89) 97.53% compared to head (7cde69e) 97.58%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2701      +/-   ##
==========================================
+ Coverage   97.53%   97.58%   +0.04%     
==========================================
  Files          24       24              
  Lines        4630     4725      +95     
  Branches      423      428       +5     
==========================================
+ Hits         4516     4611      +95     
  Misses        112      112              
  Partials        2        2              
Impacted Files Coverage Δ
src/cards/top-languages-card.js 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@rickstaa
Copy link
Collaborator

rickstaa commented May 7, 2023

Hey @qwerty541. I think it is wonderful that you have contributed so much to the project in the last days 🚀! I asked @anuraghazra to add you as a collaborator. You are welcome to accept or decline 👍🏻.

Sadly, the donut layout has already been implemented in #2099 😅. I am planning to merge it this week when the @arndom implements the changes I requested. You can find the other top bugs, feature requests and pull requests in #1935.

@rickstaa rickstaa closed this May 7, 2023
@qwerty541
Copy link
Collaborator Author

Hey @qwerty541. I think it is wonderful that you have contributed so much to the project in the last days 🚀! I asked @anuraghazra to add you as a collaborator. You are welcome to accept or decline 👍🏻.

Sadly, the donut layout has already been implemented in #2099 😅. I am planning to merge it this week when the @arndom implements the changes I requested. You can find the other top bugs, feature requests and pull requests in #1935.

Hey @rickstaa. Thank you for the collaboration invitation, i am going to accept it when it will be sent.

I feel like a fool for not checking for open pull requests on the issue before starting to work. I'll try to be more careful in the future.

I want to draw your attention to what my pull request offers a DIFFERENT design of top languages card with donut than #2099. In my pull request, the objects are arranged vertically, the amount of empty space is minimized, the card turned out to be quite compact. In another pull request, the objects are arranged horizontally, the card turned out to be quite cumbersome, and it has an obvious disadvantage, which is that with a large number of different languages there will be a lot of empty space above and below the donut. For this reason, some users may prefer to use my design. What do you think about supporting both layouts like donut-vertical and donut-horizontal?

@rickstaa rickstaa reopened this May 8, 2023
@rickstaa
Copy link
Collaborator

rickstaa commented May 8, 2023

Hey @qwerty541. I think it is wonderful that you have contributed so much to the project in the last days rocket! I asked @anuraghazra to add you as a collaborator. You are welcome to accept or decline 👍🏻.
Sadly, the donut layout has already been implemented in #2099 sweat_smile. I am planning to merge it this week when the @arndom implements the changes I requested. You can find the other top bugs, feature requests and pull requests in #1935.

Hey @rickstaa. Thank you for the collaboration invitation, i am going to accept it when it will be sent.

I feel like a fool for not checking for open pull requests on the issue before starting to work. I'll try to be more careful in the future.

I want to draw your attention to what my pull request offers a DIFFERENT design of top languages card with donut than #2099. In my pull request, the objects are arranged vertically, the amount of empty space is minimized, the card turned out to be quite compact. In another pull request, the objects are arranged horizontally, the card turned out to be quite cumbersome, and it has an obvious disadvantage, which is that with a large number of different languages there will be a lot of empty space above and below the donut. For this reason, some users may prefer to use my design. What do you think about supporting both layouts like donut-vertical and donut-horizontal?

Hey @rickstaa. Thank you for the collaboration invitation, i am going to accept it when it will be sent.

Amazing! It would be an honour to have you on the team 🚀.

I feel like a fool for not checking for open pull requests on the issue before starting to work. I'll try to be more careful in the future.

No problem, it is easy to get lost in 180 open pull requests 😅. That is why merging #2489 is a high priority since that will remove 36 translation repositories.

I want to draw your attention to what my pull request offers a DIFFERENT design of top languages card with donut than #2099. In my pull request, the objects are arranged vertically, the amount of empty space is minimized, the card turned out to be quite compact. In another pull request, the objects are arranged horizontally, the card turned out to be quite cumbersome, and it has an obvious disadvantage, which is that with a large number of different languages there will be a lot of empty space above and below the donut. For this reason, some users may prefer to use my design. What do you think about supporting both layouts like donut-vertical and donut-horizontal?

I think having two donut layouts is great if duplicate code is kept to the minimum. Let's keep this PR open so that you can rebase it on top of the master branch when #2099 is merged.

@rickstaa
Copy link
Collaborator

rickstaa commented May 9, 2023

@qwerty541 I just merged #2099.

@qwerty541 qwerty541 changed the title Top languages card donut layout Top languages card donut horizontal layout May 11, 2023
@qwerty541 qwerty541 changed the title Top languages card donut horizontal layout Top languages card donut vertical layout May 11, 2023
@github-actions github-actions bot added the documentation Improvements or additions to documentation. label May 17, 2023
@qwerty541 qwerty541 marked this pull request as ready for review May 18, 2023 00:34
Copy link
Collaborator Author

@qwerty541 qwerty541 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rickstaa Hey, Rick! I finished work on this pull request, can you review it?

@rickstaa rickstaa merged commit f9427b2 into anuraghazra:master May 19, 2023
@rickstaa
Copy link
Collaborator

rickstaa commented May 19, 2023

Great pull request! Merged into master 🚀.

j4ckofalltrades pushed a commit to j4ckofalltrades/gh-stats that referenced this pull request May 21, 2023
LucienZhang pushed a commit to LucienZhang/github-readme-stats that referenced this pull request Jun 5, 2023
* Top languages card donut layout

* dev

* dev

* dev

* dev
devantler pushed a commit to devantler/github-readme-stats that referenced this pull request Sep 24, 2023
* Top languages card donut layout

* dev

* dev

* dev

* dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants