Commit Graph

40 Commits

Author SHA1 Message Date
Michael Salaverry 1ebe5a5ce0 fix: graph start from left axis
https://github.com/babybuddy/babybuddy/pull/444#issuecomment-1281767322
2023-09-30 06:34:26 -07:00
Marco H 26e8a1f689 New statistic graph: Diaper change intervals
Fix formatting

Fix comment

Remove debug

Remove debug

Change naming of variable

Add new statistics graph: Feeding intervals

Fix naming

Add simple HTTP status code tests for new graphs

Remove number of feedings from graph

Remove obsolete yaxis2

Fix calculation of intervals and change scale to hours instead of minutes
2023-09-30 06:34:26 -07:00
Michael Salaverry 8d8006ab71
feat: Weight percentiles report #512 (#708)
* feat: weight percentiles report
https://github.com/babybuddy/babybuddy/issues/512

* fix: formatting on weight percentile graph to extend out only 1 day more than the last weigh in date
https://github.com/babybuddy/babybuddy/pull/708#discussion_r1332335789

* feat: pre-commit lint with black hook
tested and stops the python commit if formatting is bad. then it runs black and fixes the formatting, resulting in a new git change to add/commit again

---------

Co-authored-by: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com>
2023-09-27 06:24:53 -07:00
Pavol Gazda 2519dad74c Add reports for temperature readings 2023-01-05 13:10:05 -08:00
Christopher C. Wells 348e622321 Refactor naming pattern of simple "change" graphs 2022-05-28 07:02:13 -07:00
bugbountyguy 4ceb6095d3 Rename breastpump to pumping 2022-04-04 20:39:39 -07:00
bugbountyguy 5c45b037f0 Finish up adding the brestpump measurement 2022-04-04 20:39:39 -07:00
Christopher C. Wells 20d9cab158 Change reports list to a page
Fixes #379
2022-02-26 13:23:43 -08:00
Christopher C. Wells cd946280cb Format code with black 2022-02-09 16:00:30 -08:00
Yulian Kuncheff 0af4521005 Linting and faker changes 2021-12-31 09:19:53 -05:00
Yulian Kuncheff 9b604627a1 Add Height, Head Circumference, and BMI, corresponding reports, and move to separate menu with Weight and Temperature. 2021-12-31 09:19:53 -05:00
Ohad Lutzky a5ec2d85c8
Add tummy time duration report (#316) 2021-10-04 12:37:11 -07:00
Christopher C. Wells 0e6a5cb08a Prevent caching of pages requiring authentication 2021-09-16 19:34:33 -07:00
Christopher C. Wells 3a7c8c92fd Add a Diaper Change amounts report 2020-01-26 14:12:27 -08:00
Christopher C. Wells 3ba58c9352 Add "Feeding Amounts" report. (#68) 2019-05-29 10:06:50 -07:00
Christopher C. Wells bff17dd2a0 Support two output formats from plotly.plot. 2019-05-29 09:47:21 -07:00
Christopher C. Wells a47767355d Update report graph output processing for new Plot.ly data output. 2019-02-02 19:11:20 -08:00
Christopher Charbonneau Wells c2724cd918 Correct mistyped view name. 2018-05-20 14:42:14 -07:00
Christopher Charbonneau Wells 08488af718 Raise permission denied instead of redirecting to login (#49). 2018-05-20 14:40:09 -07:00
Christopher Charbonneau Wells 5dc372281b Remove all unicode_literals imports. 2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells 4272c9b075 Add a basic bar chart showing average feeding durations over time. 2017-11-29 21:28:54 -05:00
Christopher Charbonneau Wells 5d4db5de6b Add simple weight report. 2017-11-10 07:20:34 -05:00
Christopher Charbonneau Wells 162f117cef Move timeline code to core and integrate with Child detail view. 2017-11-07 13:15:48 -05:00
Christopher Charbonneau Wells b0d2fdd521 Use localdate() instead of now() for default Timeline view date. 2017-10-30 20:58:12 -04:00
Christopher Charbonneau Wells c305d8038b Display a message when there is not enough data to generate a report. 2017-10-27 20:46:48 -04:00
Christopher Charbonneau Wells f23ea78cef Linting fixes. 2017-10-22 15:05:58 -04:00
Christopher Charbonneau Wells b4ac40d2d4 Add a diaper lifetimes box plot graph. 2017-09-25 13:14:14 -04:00
Christopher Charbonneau Wells 6562fa2390 Finalize child timeline graph/view. 2017-09-20 11:52:30 -04:00
Christopher Charbonneau Wells ab1b9ee7a8 Add actual events to timeline (WIP). 2017-09-16 17:17:09 -04:00
Christopher Charbonneau Wells 3d88235eb9 Implement generic, app-specific "icon" style names over FA. 2017-09-15 12:29:56 -04:00
Christopher Charbonneau Wells 1f1d96093b Add example timeline view (WIP). 2017-09-15 08:11:41 -04:00
Christopher Charbonneau Wells 83aaab5bde Add a sleep totals graph. 2017-09-13 11:53:32 -04:00
Christopher Charbonneau Wells e77c2a5639 Refactor naming of current reports. 2017-09-13 11:25:12 -04:00
Christopher Charbonneau Wells 9a2facfa72 Create a sleep times graph (WIP).
Adding a Pandas requirement for dealing with the data and separating graph processing in to a separate file.
2017-08-25 12:19:06 -04:00
Christopher Charbonneau Wells ae71c5933e Prepare for a sleep reports page. 2017-08-25 08:08:02 -04:00
Christopher Charbonneau Wells d11733442d Add a diaper change types over time report. 2017-08-24 14:54:01 -04:00
Christopher Charbonneau Wells ed96814b10 Revert custom graph works and add Plotly-based example. 2017-08-23 09:04:53 -04:00
Christopher Charbonneau Wells 7ba85f29d4 Continue initial attempt at sleep graph (WIP). 2017-08-22 21:37:10 -04:00
Christopher Charbonneau Wells 10e87c27b5 Prevent date intersections in the "fake" management command. 2017-08-22 09:35:01 -04:00
Christopher Charbonneau Wells 8ae33b0f48 Create skeleton of reports app. 2017-08-21 19:22:03 -04:00