Commit Graph

108 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 7382e74d78 Use Bootstrap card columns for Child Dashboard. 2018-07-31 19:57:01 -07:00
Christopher Charbonneau Wells a524259507 Replace Page Visibility API with focus event listener for dashboard refreshes.
This is a bit of a testing phase to see if the focus event listerner behaves any better than the Page Visibility API, particularly in mobile browsers.
2018-03-22 20:29:40 -07:00
Christopher Charbonneau Wells 911cde4f95 Remove ounces references for feeding amounts. 2018-03-13 19:10:21 -07:00
Christopher Charbonneau Wells a3fe999660 Remove strong from Diaper Changes types card solid figure. 2018-02-04 19:39:28 -05:00
Christopher Charbonneau Wells 3b0002a211 Fix link with incorrect namespace. 2017-12-03 17:03:13 -05: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 880d7ca19f Use floats for Diaper Change type data to prevent division issues in Python 2.7. 2017-11-19 12:32:46 -05:00
Christopher Charbonneau Wells 5a57ac7a48 Update naps card to pass timedelta directly. 2017-11-19 11:01:38 -05:00
Christopher Charbonneau Wells 092d724906 Add child picture to multi-child dashboard view. 2017-11-18 07:47:50 -05:00
Christopher Charbonneau Wells 60ac9a7f5d Add Settings model extending User. 2017-11-12 12:09:54 -05:00
Christopher Charbonneau Wells 770e7a69eb Refactor Averages card as Statistics carousel card. 2017-11-11 07:01:04 -05:00
Christopher Charbonneau Wells 5d4db5de6b Add simple weight report. 2017-11-10 07:20:34 -05:00
Christopher Charbonneau Wells b7de3999b9 Remove xl column setting for child cards.
The lower resolutions of the xl breakpoint did not render this well (the button bar overflows cards).
2017-11-09 07:20:38 -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 e2733e6b1e Improve Dashboard view.
This commit adds a placeholder image for Child objects (in the future, hopefully, photo uploads will be added) and reworks the Dashboard view to look better when more than one child is in the database. There are also some minor tweaks to the Child detail view and one new Gulp requirement to improve the flow of copying static image assets from apps.
2017-11-06 16:24:21 -05:00
Christopher Charbonneau Wells cb2c63cf8a Add nap averages data to the averages card. 2017-11-04 17:52:28 -04:00
Christopher Charbonneau Wells f6dd38a891 Make "nap" bounds configurable with a 6AM - 6PM default. 2017-11-04 09:42:18 -04:00
Christopher Charbonneau Wells 003e112d27 Clean up general card styles. 2017-10-30 19:35:51 -04:00
Christopher Charbonneau Wells e90e31cfd3 Add "Averages" dashboard card. 2017-10-30 14:26:49 -04:00
Christopher Charbonneau Wells 22664ecc0f Reload the dashboard page every 60 seconds and on visibility state change. 2017-10-29 16:01:13 -04:00
Christopher Charbonneau Wells 97dbf87e5b Refactor card templates and styling. 2017-10-28 23:01:39 -04:00
Christopher Charbonneau Wells 6ce6599b39 Clean up card content when no data is in the database. 2017-10-27 20:18:55 -04:00
Christopher Charbonneau Wells 84e96c046f Add pluralize check to naps count card. 2017-10-24 10:08:49 -04:00
Christopher Charbonneau Wells 19ad5b98a3 Adjust card styles.
Removes footers with mostly useless information and uses muted text for all content.
2017-10-23 20:07:45 -04:00
Christopher Charbonneau Wells 66a91fe534 Add a "naps" card. 2017-10-23 19:52:20 -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 0038a34843 Prep for adding breadcrumbs (WIP). 2017-10-20 10:32:27 -04:00
Christopher Charbonneau Wells 05ece53f18 Tweak dark colors and remove custom coloring classes from some elements. 2017-09-27 11:28:10 -04:00
Christopher Charbonneau Wells b4ac40d2d4 Add a diaper lifetimes box plot graph. 2017-09-25 13:14:14 -04:00
Christopher Charbonneau Wells 17abac0829 Add an active timers list card. 2017-09-25 12:13:37 -04:00
Christopher Charbonneau Wells 6562fa2390 Finalize child timeline graph/view. 2017-09-20 11:52:30 -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 0ae9c5a408 Fix zero division error when a day has no sleep entries. 2017-09-15 07:09:43 -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 f89a8ce289 Add a total sleep on date card. 2017-09-13 10:31:56 -04:00
Christopher Charbonneau Wells aba6fdff15 Remove last tummy time card from child dashboard. 2017-09-10 16:27:52 -04:00
Christopher Charbonneau Wells 422b381e50 Change Diaper Change Types card to not care about dates (or timezones) for the data dict. 2017-09-07 20:08:28 -04:00
Christopher Charbonneau Wells 6939adccaa Add a Last Feeding Method card and rearrange child dashboard cards. 2017-08-25 17:39:10 -04:00
Christopher Charbonneau Wells ae71c5933e Prepare for a sleep reports page. 2017-08-25 08:08:02 -04:00
Christopher Charbonneau Wells e3d7d64c35 Add Reports menu to child dashboard. 2017-08-24 15:40:11 -04:00
Christopher Charbonneau Wells eefa00bfd3 Add a very basic prototype dashboard for multiple children. 2017-08-24 13:09:56 -04:00
Christopher Charbonneau Wells faaa67995f Make the dashboard cards layout more opinionated.
This puts all the "last" cards in one row consistently, assuming that the tummy time and diaper change cards should always have fairly large heights. The shifting heights were causing cards to appear in different places with the masonry setup.
2017-08-21 19:53:21 -04:00
Christopher Charbonneau Wells b05b268c7e Replace inline CSS for diaper change types card and prepare for other sass styling. 2017-08-21 11:03:18 -04:00
Christopher Charbonneau Wells 267c6483b5 Clarify last tummy time language on card. 2017-08-20 15:36:26 -04:00
Christopher Charbonneau Wells e1379b0bf4 Minor dashboard adjustments. 2017-08-20 11:57:48 -04:00
Christopher Charbonneau Wells 591f2fba52 Use a timedelta for last tummy time card. 2017-08-20 11:45:26 -04:00
Christopher Charbonneau Wells 21e4af6f58 Move duration tools to a separate template tag collection. 2017-08-20 10:04:20 -04:00
Christopher Charbonneau Wells 6d73cb69f6 Convert duration_string to a template tag (WIP). 2017-08-19 16:46:50 -04:00
Christopher Charbonneau Wells 25fbf4c4d0 Add Tummy Time day activity card. 2017-08-18 14:58:10 -04:00
Christopher Charbonneau Wells c2c708883e Add a Diaper Change types card. 2017-08-18 14:01:27 -04:00
Christopher Charbonneau Wells 63faa0b553 Add last Sleep and Tummy Time cards and change to a card columns layout. 2017-08-18 11:22:08 -04:00
Christopher Charbonneau Wells e92050cb44 Add a Last Diaper Change card. 2017-08-18 11:00:58 -04:00
Christopher Charbonneau Wells 4cfc6cb360 Create extended template example for Last Feeding. 2017-08-18 10:32:17 -04:00
Christopher Charbonneau Wells c908ae6e2b Refactor dashboard as a separate app. 2017-08-18 09:02:31 -04:00