github-readme-stats icon indicating copy to clipboard operation
github-readme-stats copied to clipboard

feature: Display Wakatime Editor, Category and OS Stats

Open Morphclue opened this issue 3 years ago • 3 comments

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 in wakatime.js and wakatime-card.js
  • Adjusted README

Types of changes

  • Enhancement
  • Refactor

Reference

  • #1107

image image image

Morphclue avatar Jul 22 '21 16:07 Morphclue

@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.

vercel[bot] avatar Jul 22 '21 16:07 vercel[bot]

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.

codecov[bot] avatar Sep 03 '21 08:09 codecov[bot]

The only test that is failing and preventing a successful build is tests/card.test.js. This is related to #1851.

Morphclue avatar Jul 10 '22 15:07 Morphclue