Commit Graph

1003 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells 7f5a40ae41 Add ability to stop a timer (WIP).
This commit handles everything except including the timer in the timers list in the UI. This may require changing the model declaration to make the "active" field more complex or add another field.
2017-09-08 14:36:22 -04:00
Christopher Charbonneau Wells c3e5a0349e Include seconds in Tummy Time entry form fields. 2017-09-07 20:14:26 -04:00
Christopher Charbonneau Wells 89e60e46b7 Do not set default init date in Tummy Time card declaration.
This would cause the date to default to the date the instance starts, not the date the method is called from a template.
2017-09-07 20:12:36 -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 4b2e08e0fb Lock latest dependencies. 2017-08-25 17:40:53 -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 2320d31d48 Add graph handling for sleep entry start and end dates that cross midnight. 2017-08-25 17:32:46 -04:00
Christopher Charbonneau Wells 9d0572ba92 Move duration methods in to utils for use elsewhere in the project. 2017-08-25 16:33:14 -04:00
Christopher Charbonneau Wells 1dbdc582dd Add TODO reminder... 2017-08-25 14:19:08 -04:00
Christopher Charbonneau Wells 81af1dacf5 Format sleep vs. wake time graph. 2017-08-25 14:17:15 -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 2fdee5785b Update Pipfile.lock. 2017-08-25 06:51:29 -04:00
Christopher Charbonneau Wells 0da15482bd Fix last diaper change time on card. 2017-08-24 16:29:31 -04:00
Christopher Charbonneau Wells e3d7d64c35 Add Reports menu to child dashboard. 2017-08-24 15:40:11 -04:00
Christopher Charbonneau Wells 4d0a75d020 Add an upper limit for diaper change card data and some method descriptions. 2017-08-24 14:58:33 -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 a114ce7421 Fix gulp styles:app task for static_src folder name change. 2017-08-24 13:18:00 -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 e4a92e0614 Use local graph assets instead of Plotly CDN. 2017-08-24 09:53:23 -04:00
Christopher Charbonneau Wells bc13ab09e8 Add a gulp "build" task for building and compressing all assets. 2017-08-24 09:50:39 -04:00
Christopher Charbonneau Wells aafc44a70d Add plotly and create a separate "graph" JS handler for gulp. 2017-08-24 09:48:38 -04:00
Christopher Charbonneau Wells 536283e3db Handle dashboard redirect when there are no Child objects. 2017-08-24 08:04:54 -04:00
Christopher Charbonneau Wells 78ebc87265 Use static_src directories to prevent collisions with Django's collectstatic. 2017-08-24 07:54:47 -04:00
Christopher Charbonneau Wells dd6eb954c3 Add INTERNAL_IPS to development settings and check the debug varibale in templates. 2017-08-24 07:36:11 -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 e3b73d53c5 Replace timezone.now() usage with localtime. 2017-08-22 21:36:44 -04:00
Christopher Charbonneau Wells c4147af34d Adjust fake command handler to prevent date cross over. 2017-08-22 21:35:36 -04:00
Christopher Charbonneau Wells c13914d6e2 Use local time zone setting for fake dates to prevent overlaps. 2017-08-22 21:08:31 -04:00
Christopher Charbonneau Wells 23acc006d4 Linting fixes. 2017-08-22 13:36:49 -04:00
Christopher Charbonneau Wells 410e6c9e48 Add flake8 Python linting. 2017-08-22 13:29:16 -04:00
Christopher Charbonneau Wells 2789234a92 Linting fixes. 2017-08-22 13:16:35 -04:00
Christopher Charbonneau Wells 0c5c3b7a2c Add "lint" gulp command with sass linting. 2017-08-22 13:13:23 -04:00
Christopher Charbonneau Wells 0f079c14fa Add watchConfig for gulp watch. 2017-08-22 12:56:30 -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 f5768959d8 Use os.path for the reset management command to support multiple platforms. 2017-08-22 09:32:29 -04:00
Christopher Charbonneau Wells aae16346bd Add a TODO note for not intersecting faked dates. 2017-08-21 20:12:50 -04:00
Christopher Charbonneau Wells 4e7f80cd2e Create a mockup of a couple of days of sleep data using progress bars. 2017-08-21 20:10:00 -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 51946dd28a Add a "days" argument to the fake command for number of days of data to fake for each child. 2017-08-21 19:34:06 -04:00
Christopher Charbonneau Wells 8ae33b0f48 Create skeleton of reports app. 2017-08-21 19:22:03 -04:00
Christopher Charbonneau Wells 7bffb41718 Fix all url declarations to specifying starts with (^). 2017-08-21 19:19:48 -04:00
Christopher Charbonneau Wells 0b8205a830 Include all of the past five days in the diaper change types card. 2017-08-21 19:00:08 -04:00
Christopher Charbonneau Wells d659fc26e4 Account for duration days in timers. 2017-08-21 18:44:47 -04:00
Christopher Charbonneau Wells c0b38f3790 Add the watch task to gulp's default task. 2017-08-21 16:35:11 -04:00
Christopher Charbonneau Wells e33b3b24b7 Remove compress as a default action and use uncompressed assets for now. 2017-08-21 16:23:45 -04:00
Christopher Charbonneau Wells f62c8edf52 Add a gulp watch task. 2017-08-21 16:19:45 -04:00
Christopher Charbonneau Wells 7daa691b21 Refactor gulp tasks as a directory. 2017-08-21 16:03:16 -04:00
Christopher Charbonneau Wells b0f552f3f8 Refactor gulp tasks as a directory (WIP). 2017-08-21 15:42:32 -04:00