onaio / tally-ho

Election results data entry and verification software.
http://tally-ho.readthedocs.org/en/latest/
Other
19 stars 21 forks source link

Add report view for result form progress by their states. #380

Closed peterMuriuki closed 1 year ago

peterMuriuki commented 1 year ago

closes #369

Adds 2 views:

Render template with table data shown as: <forms in a certain state> / <unprocessed forms for a given form state>

Modify form list view to ingest query search params. the params show the unprocessed forms for a given form state and can be further filtered using a race type.

Adds bs4 as a dev dependency to help parse template output in tests.

codecov-commenter commented 1 year ago

Codecov Report

Merging #380 (113adff) into master (20303ca) will increase coverage by 0.57%. The diff coverage is 89.91%.

@@            Coverage Diff             @@
##           master     #380      +/-   ##
==========================================
+ Coverage   67.31%   67.88%   +0.57%     
==========================================
  Files         123      124       +1     
  Lines        7492     7595     +103     
==========================================
+ Hits         5043     5156     +113     
+ Misses       2449     2439      -10     
Impacted Files Coverage Δ
tally_ho/urls.py 92.85% <ø> (ø)
tally_ho/apps/tally/views/data/form_list_view.py 76.66% <83.33%> (+17.09%) :arrow_up:
tally_ho/apps/tally/views/super_admin.py 71.34% <89.06%> (+1.65%) :arrow_up:
tally_ho/apps/tally/views/constants.py 100.00% <100.00%> (ø)
tally_ho/libs/models/enums/form_state.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

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