Commit Graph
93 Commits
Author SHA1 Message Date
Ian Gulliver 6816adcff6 Block access to interactive UI when we're not connected, since values may be stale and changes may be delayed. 2016-01-07 18:44:55 -08:00
Ian Gulliver 65cb36d3e8 Convert the spinner to CSS animation from SMIL, and shrink it while doing so. 2016-01-07 18:19:45 -08:00
Ian Gulliver 7035605669 Color the sleep chart row labels. 2016-01-06 16:24:29 -08:00
Ian Gulliver bb624bb93d First pass at the sleep chart. 2016-01-06 16:22:30 -08:00
Ian Gulliver 5afb09eea8 Make charts end at current time, rather than the last data point. 2016-01-06 12:35:15 -08:00
Ian Gulliver 7c3a19bf89 Increase precision kept for kilogram values. 2016-01-06 00:35:37 -08:00
Ian Gulliver 259e6680d3 Code simplification, more chart layout cleanup. 2016-01-06 00:28:07 -08:00
Ian Gulliver b946f18eb5 Style charts to fit in. 2016-01-06 00:20:40 -08:00
Ian Gulliver bb0f1ccbad Temperature chart. 2016-01-06 00:07:26 -08:00
Ian Gulliver 2d319431f3 Passable weight chart. 2016-01-05 23:52:32 -08:00
Ian Gulliver d26cc3c4ab Remove some cruft. 2016-01-05 23:02:33 -08:00
Ian Gulliver 7845686cde Increase thresholds for using larger units. 2016-01-05 17:19:33 -08:00
Ian Gulliver 867c3be671 Rendering fix for safari. 2016-01-04 19:40:27 -08:00
Ian Gulliver 588c9e7bbb Fix to the previous fix. 2016-01-04 19:23:39 -08:00
Ian Gulliver edc569cc6c Minor firefox fix; still mostly broken. 2016-01-04 19:22:02 -08:00
Ian Gulliver 884d86f486 Minor CSS fix for safari. 2016-01-04 19:15:54 -08:00
Ian Gulliver 6c7de45984 Make it possible to cancel awake as an implied action. 2016-01-04 17:49:15 -08:00
Ian Gulliver 90e2add31e Remove some low hanging fruit to speed up startup. 2016-01-04 17:43:42 -08:00
Ian Gulliver 8147249bff Lint fixes. 2016-01-04 17:36:42 -08:00
Ian Gulliver 6ba3f63491 Drop the SVG rendering; planning to use Google Charts instead. 2016-01-03 23:56:22 -08:00
Ian Gulliver ddc7703bba Add weight/temp reporting. 2016-01-03 23:55:46 -08:00
Ian Gulliver 3fbdd71623 Outline for measurement submission. 2016-01-03 22:24:09 -08:00
Ian Gulliver 9f33602515 Add style for action buttons lost in stylesheet conversion. 2016-01-02 18:15:15 -08:00
Ian Gulliver a2d52d8e57 Example SVG generation. 2016-01-02 11:35:20 -08:00
Ian Gulliver a74b64f457 Make tile layout a bit better, so we stop losing parts of text. 2016-01-01 21:38:21 -08:00
Ian Gulliver f0de371500 Add a "Breast pumped" tile. 2016-01-01 21:09:16 -08:00
Ian Gulliver bb34f30224 Lower bath timeout -- it sticks out staying green for so long. 2016-01-01 19:07:37 -08:00
Ian Gulliver b1c48c0333 Show date list on display page. 2016-01-01 18:38:17 -08:00
Ian Gulliver 0d563012fe Make icons larger. 2016-01-01 12:15:28 -08:00
Ian Gulliver a4ebe52519 Add "Bath" tracking. 2016-01-01 12:01:59 -08:00
Ian Gulliver 7ac7a406c3 Start of timeline code framework. 2016-01-01 12:00:32 -08:00
Ian Gulliver 6ef21791ce Fix some lint errors. 2015-12-31 21:42:20 -08:00
Ian Gulliver 64840f25dd Enlarge display table font a bit. 2015-12-31 21:04:44 -08:00
Ian Gulliver 01c26cf440 Use smaller units for slightly higher numbers, to add some more detail in cases that used to just say "1h" 2015-12-31 20:54:02 -08:00
Ian Gulliver 2e12ea0702 Make the timer stand apart on android. 2015-12-31 16:46:22 -08:00
Ian Gulliver 6212a8cd33 Ignore repetition that's too fast. 2015-12-31 13:04:11 -08:00
Ian Gulliver 9d4a214ba0 Show median periods. 2015-12-31 12:16:24 -08:00
Ian Gulliver 685a3d1fd4 Remove the per-hour counts, until I can figure out how to make them less confusing. 2015-12-31 11:20:47 -08:00
Ian Gulliver cbc4fa4cee Add per-hour event counts. 2015-12-31 10:51:42 -08:00
Ian Gulliver 84fb696be4 Event count table on display page. 2015-12-31 10:44:46 -08:00
Ian Gulliver 6025e2be37 Keep a cache of messages bucketed by tile. 2015-12-31 08:36:13 -08:00
Ian Gulliver e3dce3569d Ignore duplicate messages for some tiles (awake, asleep). 2015-12-31 08:31:25 -08:00
Ian Gulliver 3d2a577026 Update the display page on a timer as well, so durations increase when nothing else is happening. 2015-12-31 00:08:42 -08:00
Ian Gulliver 4633f4bf94 Clean up the stylesheet mess. Put the first useful data on the display page. 2015-12-30 23:55:56 -08:00
Ian Gulliver 30f8fcfed4 Make tiles say "never" until the first time they're triggered. 2015-12-30 19:38:02 -08:00
Ian Gulliver 619a9086bc Show the back side by default for those without write access. 2015-12-30 19:12:35 -08:00
Ian Gulliver 7584855c42 Display child name on the flip side. 2015-12-30 19:09:21 -08:00
Ian Gulliver 37389dd45c Add the page flip, and fix some pointers. 2015-12-30 18:35:40 -08:00
Ian Gulliver 957d2fa9d3 Set page title to child name. 2015-12-30 17:57:02 -08:00
Ian Gulliver 66718424bb Add flip icon. 2015-12-30 17:55:35 -08:00
Ian Gulliver 859190143a DOM structure to enable flipping the whole page. 2015-12-30 17:49:58 -08:00
Ian Gulliver 4a55a758f4 Fix "undefined" yourName setting.
Fix strange text justification in overlay.
Don't blank out background before we're ready.
2015-12-30 17:29:10 -08:00
Ian Gulliver 6966bb5997 Remove advertising. 2015-12-30 17:06:07 -08:00
Ian Gulliver 3566dc776d Add original loading animation, to enable later editing. 2015-12-30 16:51:43 -08:00
Ian Gulliver c0c42aaeb4 Stop background repeat on loading screen. 2015-12-30 16:07:21 -08:00
Ian Gulliver 945e8866e7 Add loading screen. 2015-12-30 16:04:30 -08:00
Ian Gulliver 6b2be9f260 Some lint fixes. 2015-12-30 11:42:40 -08:00
Ian Gulliver 370f5d363b Add Google logo for login. 2015-12-30 11:38:19 -08:00
Ian Gulliver 9d1cf0bb8d Figure out our local name from our logged-in user's past messages. 2015-12-30 11:36:55 -08:00
Ian Gulliver cf5bf1f091 Make login optional. Add login icon. 2015-12-30 10:58:42 -08:00
Ian Gulliver 3125108ff2 Make time since last event rendering clearer. 2015-12-30 09:41:01 -08:00
Ian Gulliver 820107e50b Fix issue with two open windows on the same profile can't see each others' name changes. 2015-12-30 09:38:12 -08:00
Ian Gulliver fab34b428d Add access request/approve/deny functionality. 2015-12-29 19:12:57 -08:00
Ian Gulliver f60c55b204 Add status box to see time and current active tiles. 2015-12-28 21:54:36 -08:00
Ian Gulliver f4497b23e5 Keep track of tile state. Add support for canceling other tiles. 2015-12-28 21:07:46 -08:00
Ian Gulliver 0656aff2b7 Clean up tile object passing. Add support for tile implications, e.g. feeding implies awake. 2015-12-28 20:35:06 -08:00
Ian Gulliver 35b9de8932 Attach sender name to events. 2015-12-28 16:37:07 -08:00
Ian Gulliver f514d41367 Fix jsdoc. 2015-12-27 21:48:21 -08:00
Ian Gulliver 65a5845466 Allow us to see our own messages, but ignore name changes. 2015-12-27 21:46:37 -08:00
Ian Gulliver 1c676c0867 Only ignore child name change messages. 2015-12-27 21:43:12 -08:00
Ian Gulliver 81dac3b750 Don't respond to our own messages. 2015-12-27 21:42:30 -08:00
Ian Gulliver 67a229e309 Handle changes after load. 2015-12-27 21:36:06 -08:00
Ian Gulliver 500fae524d Changes to match hogfather API, stop with focus setting games. 2015-12-27 21:19:11 -08:00
Ian Gulliver 478e8b4fd0 Switch from hashes to URL paths to hack around login issue. 2015-12-27 21:06:48 -08:00
Ian Gulliver 9a6d96a777 Record events. 2015-12-27 20:52:36 -08:00
Ian Gulliver c34f01458e Store child name in hogfather chat. 2015-12-27 20:48:35 -08:00
Ian Gulliver 29f0d7600c Clean up layout deferral. Require login. 2015-12-27 19:50:37 -08:00
Ian Gulliver fe5eff8923 Include cosmopolite and hogfather. Delay construction until hogfather is ready. 2015-12-27 17:05:20 -08:00
Ian Gulliver 564c56cdeb Turn on cosmopolite. 2015-12-27 16:19:55 -08:00
Ian Gulliver 97eead1401 Add verify script. 2015-12-27 16:15:22 -08:00
Ian Gulliver 194965961f Focus on child name field when starting. 2015-12-27 10:17:15 -08:00
Ian Gulliver 68c88e8092 Better messaging about why controls are deactivated. 2015-12-27 10:13:45 -08:00
Ian Gulliver 9a8f5e16f4 Local storage of your name. 2015-12-27 09:26:46 -08:00
Ian Gulliver c66b5f1ed4 Show/hide overlay over buttons until names are entered. 2015-12-27 09:18:40 -08:00
Ian Gulliver 6b24e1e97a Tell browsers to stop being smart. 2015-12-26 23:17:00 -08:00
Ian Gulliver e5bdcfdf08 Adjust sizing for standards-compatible mode. 2015-12-26 23:09:01 -08:00
Ian Gulliver 4ca6690630 Disable iphone input styling.
Add doctype.
2015-12-26 23:07:13 -08:00
Ian Gulliver 38d0b75260 Remove some styling to unbreak firefox. 2015-12-26 22:56:46 -08:00
Ian Gulliver b7e30894dd Add child name and your name bars. 2015-12-26 22:52:09 -08:00
Ian Gulliver 69879af1aa Lint cleanups. 2015-12-26 22:27:13 -08:00
Ian Gulliver 7c9750ce07 Add a container around the grid, so we can add other elements to the container. 2015-12-26 18:25:15 -08:00
Ian Gulliver 1afd0cea2d Fix window resizing. 2015-12-26 18:15:21 -08:00
Ian Gulliver 1a0c3fcb87 Initial commit. 2015-12-26 18:10:23 -08:00