Commit Graph

54 Commits

Author SHA1 Message Date
Sebastien Stettler f30479db42
ci: add djlint to ci (#763)
* ci: add djlint to ci

* lint: all django templates
2024-02-06 05:35:36 -08:00
Xavier Mehrenberger bdeb14968a Fix link target for height percentile reports 2023-12-25 06:48:33 -08:00
Xavier Mehrenberger 6c4f5b23f0 feat: Height percentiles report (#719) 2023-12-25 06:48:33 -08:00
Nicholas Trecina 1063d39af0 Fixed report breadcrumbs being duplicated. Fixed DiaperChangeTypesChildReport pointing to the wrong report view. Fixed child sw
itcher for WHO weight percentiles boy/girl reports.
2023-12-17 04:57:07 -08:00
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
Christopher C. Wells ad5f81d84a Adopt new Bootstrap 5 dark mode support 2023-07-09 09:26:13 -07:00
Christopher C. Wells 34fe811a54 Upgrade to Bootstrap 5 (#479)
* Update Tempus Dominus to v6 (WIP)

* Re-add calendar input prepend container

* Normalize setting of default date values

* Migrate to Bootstrap 5 (WIP)

* Remove deprecated card columns implementation from dashboard

* Update BS5 data props

* Use Masonry layout for dashboard cards (for now)

This doesn't seem particularly ideal so may need a more involved refactor

* Update styles for Bootstrap 5 deprecations

* Remove resolutions crap

* Refactor deprecated BS4 classes

* Update list table styles

* Refactor deprecated jumbotron class usages

* Update close button structure

* Add `v2` branch to standard CI workflows
2023-03-25 12:57:12 -07:00
Pavol Gazda 2519dad74c Add reports for temperature readings 2023-01-05 13:10:05 -08:00
Jean-Louis Jouannic 0cd989ff96 🚸 adds a child quick switch in breadcrumb
This quick switch is available in dashboard, timeline and reports breadcrumbs
and allows to quickly switch to the "same" page but for another child
2022-08-03 10:45:22 -07:00
Christopher C. Wells 348e622321 Refactor naming pattern of simple "change" graphs 2022-05-28 07:02:13 -07:00
bugbountyguy 2e8aa9f8d8 Move pumping to alphabetize report list 2022-04-04 20:39:39 -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
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 c850998b64 Remove deprecated `icon` base class usage 2021-08-31 08:08:13 -07:00
Christopher C. Wells 3a7c8c92fd Add a Diaper Change amounts report 2020-01-26 14:12:27 -08:00
Christopher C. Wells a93070c5ba Add locale support for datetime picker 2020-01-20 15:50:35 -08:00
Christopher C. Wells 5fb2627c19 Move Plotly locales in to `graph.js` 2020-01-20 15:50:35 -08:00
Christopher C. Wells 2627b1cbfd Add Turkish translations 2020-01-16 19:42:49 -08:00
Christopher C. Wells f6b5126dfd Add Spanish translations 2020-01-16 19:33:03 -08:00
Ben Nelson 1cbd78193c Spelling corrections for 'not enough information to generate this report' message 2019-12-14 13:10:16 -08:00
Christopher C. Wells 9da0f2a1d5 Add locale support to Plotly graphs 2019-11-09 16:42:51 -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 8ed0e9117a Add translatable strings support to reports app. 2019-04-14 13:32:46 -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 e92d3f361e Misc. Django 2.0 update changes. 2017-12-03 16:52:27 -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 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 e09580e978 Fix graph JS link for new whitenoise setup. 2017-10-24 12:18:08 -04:00
Christopher Charbonneau Wells e45101b75c Rename project Baby Buddy. 2017-10-22 14:00:42 -04:00
Christopher Charbonneau Wells 5f3cadd38b Implement breadcrumbs. 2017-10-20 16:07:53 -04:00
Christopher Charbonneau Wells b4ac40d2d4 Add a diaper lifetimes box plot graph. 2017-09-25 13:14:14 -04:00
Christopher Charbonneau Wells 4be3d66a85 Add time since to Timeline entries. 2017-09-25 11:42:41 -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 6cfbba5f81 Further standardize report templates. 2017-09-13 11:20:28 -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 e4a92e0614 Use local graph assets instead of Plotly CDN. 2017-08-24 09:53:23 -04:00