Update displaying top 3 most used languages with those percent#58
Update displaying top 3 most used languages with those percent#58luminous037 wants to merge 2 commits into
Conversation
|
@luminous037 is attempting to deploy a commit to the lucinyan's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@LuciNyan |
|
Hi @luminous037 ! I suggest we avoid modifying existing unit tests and instead focus on adding new ones. Changing current tests could impact users who are already using pixel-profile, as they might not expect to see "top lang" in the generated images. Additionally, I’ve noticed that the display of "top lang" in the generated images feels a bit visually crowded from a layout perspective. It might be worth considering a redesign of the template to improve the overall visual effect. |

Added .ts file to utils to calculate the percentage of top languages.
Added stat and style codes for displaying top languages to the stats.ts and github-stats.tsx files.
I used the &hide=topLanguages option to hide the top languages stat, just like the other stats.
test image