Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dynamic report data update #29

Merged
merged 1 commit into from
Jul 21, 2019
Merged

Conversation

VertexC
Copy link
Contributor

@VertexC VertexC commented Jul 7, 2019

First time when user click show data button on dashboard, it will bring up all data collected within 7 days. Then the text of button will change to show more. Each more click will bring up 5 more data. If there is no more data to show, it will alert with "There is no more data to load!"

image

@pep8speaks
Copy link

pep8speaks commented Jul 7, 2019

Hello @VertexC, Thank you for updating the PR!

Line 9:1: E402 module level import not at top of file
Line 10:1: E402 module level import not at top of file

Comment last updated at 2019-07-20 22:23:41 UTC

@VertexC VertexC force-pushed the report branch 2 times, most recently from d39d53f to 6c091a7 Compare July 7, 2019 23:28
templates/report/dashboard.html Outdated Show resolved Hide resolved
templates/report/dashboard.html Outdated Show resolved Hide resolved
templates/report/dashboard.html Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jul 20, 2019

Codecov Report

Merging #29 into master will increase coverage by 8.49%.
The diff coverage is 98.23%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #29      +/-   ##
=========================================
+ Coverage    45.4%   53.9%   +8.49%     
=========================================
  Files          23      29       +6     
  Lines        1775    2102     +327     
=========================================
+ Hits          806    1133     +327     
  Misses        969     969
Impacted Files Coverage Δ
mod_report/forms.py 46.15% <100%> (+9.31%) ⬆️
mod_report/controllers.py 73.91% <100%> (+34.37%) ⬆️
tests/testServiceManagement.py 98.27% <100%> (ø)
tests/authMock.py 96% <96%> (ø)
tests/testDashboardDataReport.py 98.57% <98.57%> (ø)
tests/testNestedMenus.py 96.22% <0%> (ø)
install/init_db.py 0% <0%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9532138...448cc4f. Read the comment docs.

@canihavesomecoffee canihavesomecoffee merged commit 6f61c66 into PiPot:master Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants