Commit Graph

442 Commits

Author SHA1 Message Date
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
Christopher Charbonneau Wells 50bf6b9a15 Add dependencies for gulp compress tasks. 2017-08-21 15:20:13 -04:00
Christopher Charbonneau Wells 347b1ff11b Make the timer display smaller on small devices. 2017-08-21 11:43:46 -04:00
Christopher Charbonneau Wells b02752f52f Adjust sass process for import globbing (to limit multiple imports). 2017-08-21 11:43:12 -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 3d0af7f9a5 Initiate sass-based app style system. 2017-08-21 10:43:13 -04:00
Christopher Charbonneau Wells f3fc219980 Add hrefs to menu links so they work on mobile. 2017-08-21 09:55:06 -04:00
Christopher Charbonneau Wells 3d8ea65bf9 Add JS and CSS minify. 2017-08-20 16:05:52 -04:00
Christopher Charbonneau Wells 267c6483b5 Clarify last tummy time language on card. 2017-08-20 15:36:26 -04:00
Christopher Charbonneau Wells 628fe44217 Keep timezone aware in cards. 2017-08-20 13:48:49 -04:00
Christopher Charbonneau Wells 2db3f43394 Default to JSON only API for base settings. 2017-08-20 13:31:19 -04:00
Christopher Charbonneau Wells f02e0b59bd Add current user menu. 2017-08-20 12:29:19 -04:00