Commit Graph

44 Commits

Author SHA1 Message Date
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 490e07c381 Handle utc offset changes (daylight savings) in the Sleep Patterns graph.
This change simply adjusts the size of the bar in the graph if an offset change happened between a sleep entry's start and end date.
2017-11-07 06:23:19 -05:00
Christopher Charbonneau Wells c5612b102d Refactor reports graphs in to separate files. 2017-11-03 23:03:24 -04: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 72a75feea9 Add reports tests. 2017-10-25 10:48:33 -04:00
Christopher Charbonneau Wells 789054cfb6 Remove unused "rangeslider" utility function. 2017-10-25 10:44:57 -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 f23ea78cef Linting fixes. 2017-10-22 15:05:58 -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 90a74c94be Use theme colors for timeline. 2017-10-20 16:06:31 -04:00
Christopher Charbonneau Wells 701a18199f Change reports URLs to extend from /children/<slug>. 2017-10-20 10:21:50 -04:00
Christopher Charbonneau Wells a38c77a7c1 Update graph colors to match site theme colors. 2017-10-19 14:22:03 -04:00
Christopher Charbonneau Wells 48d5f17646 Add range selectors to some graphs. 2017-10-19 13:19:52 -04:00
Christopher Charbonneau Wells 4bb96b19be Account for full date when replacing time values.
This prevents issues when the dates in question cross months or years as well as days.
2017-10-01 10:00:42 -04:00
Christopher Charbonneau Wells b4ac40d2d4 Add a diaper lifetimes box plot graph. 2017-09-25 13:14:14 -04:00
Christopher Charbonneau Wells 5a2983d30e Remove redundant "changes" from Diaper Change types graph key. 2017-09-25 12:18:02 -04:00
Christopher Charbonneau Wells 4be3d66a85 Add time since to Timeline entries. 2017-09-25 11:42:41 -04:00
Christopher Charbonneau Wells 43edfddd82 Move "short" duration string function to graphs and exclude seconds. 2017-09-25 11:40:15 -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 6ec4307173 Increase default top margin to account for two line graph titles. 2017-09-13 14:52:18 -04:00
Christopher Charbonneau Wells e73cb380ef Add duration figures to graph view for sleep totals. 2017-09-13 14:10:11 -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 944d33390d Begin Sleep Amount graph (WIP). 2017-09-10 17:26:18 -04:00
Christopher Charbonneau Wells fe1b54842d Correct sleep graph duration displays for entries crossing midnight. 2017-09-09 11:20:37 -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 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 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
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 23acc006d4 Linting fixes. 2017-08-22 13:36:49 -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 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 8ae33b0f48 Create skeleton of reports app. 2017-08-21 19:22:03 -04:00