joereddington / watson

Some automatic tracking tools
0 stars 0 forks source link

TimeChart should include exercise. #9

Open joereddington opened 7 years ago

joereddington commented 7 years ago

The columns in Time Chart in some sense track the important parts of my day. Exercise is one of those and I'd like there to be more of it. Plus: it should be easy to do.

Actions

*Check that you've got exercise data

joereddington commented 7 years ago
25/08/17 10:37 to 10:50:

Okay, let's take the data.

Useful note: Chart.js is NOT available locally. I've moved development to the server and am making the edit.

10:50 to 10:58:

Fixed a bug: the culling of heartrate readings was happening at the wrong side. Also fixed another bug about the sleep calendar.

11:02:

I've made the edits. Appears to be working fine (although I've taken very little exercise recently...:(

joereddington commented 7 years ago
25/08/17 11:07:

Also fixed the bug running it on the server.

joereddington commented 7 years ago
11:08:

Althought it is failing three tests on the server and only one on flair...

11:15:

I've been attempting to add some tests, and it turns out that, ah-ha, I've been screwing up. The test files weren't commited. presumably because they were potentially private. Crap. Hang on. Let me see if dropbox has an old version.

11:19 to 11:33:

Dropbox let me restore it and I've also created a branch to store them on.

11:37 to 11:46:

I'm adding a test, but having a problem finding a rest that has the same behaviour. Have managed to commit (7eac5cd) a test.

12:30 to 12:39:

Had a break for a phone call with mum, have successfully fixed the problem and push to sever, then took out a bunch of printing statments.