github-readme-stats
github-readme-stats copied to clipboard
feature: Display Wakatime Editor, Category and OS Stats
Description
I've added a new query-parameter to display used editors. categories and os in wakatime. This feature was also requested in #1107. To do that I have refactored renderWakatimeCard
to render the corresponding card depending on the graph
query-parameter.
I also wanted to rename the langs_count
into unit_count
or item_count
, but i think this might break earlier versions. That's why langs_count
will also change the displayed editor-count.
Code
- Added
graph
param inwakatime.js
andwakatime-card.js
- Adjusted README
Types of changes
- Enhancement
- Refactor
Reference
- #1107
@distrustME is attempting to deploy a commit to the github readme stats Team on Vercel.
A member of the Team first needs to authorize it.
Codecov Report
Base: 96.65% // Head: 96.58% // Decreases project coverage by -0.06%
:warning:
Coverage data is based on head (
2cdd84a
) compared to base (1d10912
). Patch coverage: 92.10% of modified lines in pull request are covered.
Additional details and impacted files
@@ Coverage Diff @@
## master #1202 +/- ##
==========================================
- Coverage 96.65% 96.58% -0.07%
==========================================
Files 22 22
Lines 3797 3809 +12
Branches 323 326 +3
==========================================
+ Hits 3670 3679 +9
- Misses 125 128 +3
Partials 2 2
Impacted Files | Coverage Δ | |
---|---|---|
src/cards/wakatime-card.js | 99.13% <92.10%> (-0.87%) |
:arrow_down: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
The only test that is failing and preventing a successful build is tests/card.test.js
.
This is related to #1851.