level12 / webgrid

Other
12 stars 7 forks source link

provide totals in rendered JSON output #163

Closed guruofgentoo closed 2 years ago

guruofgentoo commented 2 years ago

Also refactored the totals properties on the grid to move grid logic out of the renderer.

fixes #155

codecov[bot] commented 2 years ago

Codecov Report

Merging #163 (71a4832) into master (0b86982) will increase coverage by 0.08%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
+ Coverage   90.04%   90.13%   +0.08%     
==========================================
  Files          26       26              
  Lines        6246     6282      +36     
  Branches      746      751       +5     
==========================================
+ Hits         5624     5662      +38     
  Misses        536      536              
+ Partials       86       84       -2     
Impacted Files Coverage Δ
webgrid/renderers.py 91.90% <100.00%> (+0.06%) :arrow_up:
webgrid/tests/test_rendering.py 99.73% <100.00%> (+<0.01%) :arrow_up:
webgrid/tests/test_unit.py 97.41% <100.00%> (+0.06%) :arrow_up:
webgrid/types.py 97.91% <100.00%> (+0.09%) :arrow_up:
webgrid/tests/test_columns.py 98.20% <0.00%> (+0.71%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more