Commit Graph

147 Commits

Author SHA1 Message Date
6ddd374a94 convert to flexbox, add power and elevation views
they all look iffy, elevation especially. we may have got the scale
all wrong
2024-11-12 23:50:19 +00:00
cfef807bf6 remove some onscreen garbage 2024-11-12 21:30:37 +00:00
9b6ddd46d5 render cadence graph
in the wrong place and size but it's on the screen which is a start
2024-11-12 21:29:02 +00:00
85c040023d fe: extract Point into a module 2024-11-12 18:52:44 +00:00
b8fee7b0e3 remove elm gpx parser 2024-11-12 18:44:40 +00:00
543873164e twiddle readme 2024-11-12 00:20:48 +00:00
cbe8bf4d4d frontend: get start/duration from query params 2024-11-12 00:15:19 +00:00
3427f500b3 to whit TODO 2024-11-11 21:21:49 +00:00
5032c7408c merge Store into Point 2024-11-11 21:13:50 +00:00
9a9c41a2ba export Session.duration as NominalDiffTime 2024-11-11 19:14:21 +00:00
8988bb5b61 add cadence/power/heartRate to Point
we're not using it for anything yet, just parsing it
2024-11-11 18:44:26 +00:00
1bb2fe9218 add Session.refreshDrafts
hides some gnarly raw sql inside the module
2024-11-11 18:44:10 +00:00
e58b250024 add intToText fn that doesn't use show 2024-11-11 18:44:10 +00:00
1fd0435da6 reorder imports 2024-11-10 22:17:18 +00:00
7bc7f9e89f remove unused pragma 2024-11-10 22:15:57 +00:00
1346971962 pass zoom to trackView 2024-11-10 20:58:14 +00:00
dc46300f05 replace circles with polyline 2024-11-10 20:58:05 +00:00
4bdd103bd5 plot the points 2024-11-10 20:12:34 +00:00
9b4cb45c16 fetch and parse json from frontend 2024-11-10 18:53:56 +00:00
8dda4c37ba json-encode times as epoch seconds, as elm prefers 2024-11-10 18:53:15 +00:00
ea2732e525 linkify calendar entries 2024-11-10 17:34:39 +00:00
7a1901af7b format session duration in calendar 2024-11-10 16:18:38 +00:00
886089fbcd extract Session module 2024-11-10 16:18:18 +00:00
617feef051 extract Point from Track 2024-11-10 15:43:13 +00:00
200c1019c4 separate migrations for Point and Session 2024-11-10 15:36:10 +00:00
d6719447bb note some plans for the Session 2024-11-10 13:13:22 +00:00
6c3eb694f0 add "session"
a session is a series of points which we assume (or the
rider confirms) comprise a complete and continuous ride
2024-11-10 13:11:13 +00:00
b21eda22ad chek for overlap when uploading file 2024-11-07 18:59:56 +00:00
4ca505ada1 Store.save takes Track not Point 2024-11-07 16:42:53 +00:00
04797427fc add start and duration params to json endpoint 2024-11-06 22:00:51 +00:00
e111a323f7 add cadence/power/hr to json 2024-11-06 19:13:47 +00:00
8bd67b2096 serve JSON fron db at /points 2024-11-05 23:32:01 +00:00
7d2b669f3f fix exports from Track 2024-11-05 23:31:06 +00:00
798ded7541 save points to postgres in upload handler 2024-11-05 19:37:11 +00:00
81fa7346d3 fix multiline string syntax error 2024-11-05 18:57:52 +00:00
fa123b7c9a fix warning wrt static site config 2024-11-05 18:56:12 +00:00
2fae769bb9 add postgres 2024-11-04 23:37:48 +00:00
0e7406f7aa switch from Float to Double
anticipating  that the storage will prefer doubles
2024-11-04 23:36:43 +00:00
5995a4083a remove unused names 2024-11-04 23:36:10 +00:00
f581107869 delete commented code 2024-11-03 18:48:01 +00:00
5f162a95bc improve error message (it's still rubbish though) 2024-11-03 18:47:45 +00:00
1b8293f93e upload gpx file (cargo-culted, very rough) 2024-11-03 18:41:29 +00:00
0d4da6ec93 add glue to serve frontend js from backend 2024-11-03 12:21:47 +00:00
12f1de6e58 tweak readme 2024-11-01 00:02:32 +00:00
d23ee5a948 note what next 2024-11-01 00:00:36 +00:00
fa289335d3 add yesod
hello world exaple is based on
https://github.com/yesodweb/yesod?tab=readme-ov-file#getting-started
2024-10-31 23:58:47 +00:00
dcaa38e5fe clear out [done] TODO items 2024-10-31 18:31:00 +00:00
a15346ae7a add Track.parseFile and call it from the main app
that's right, this is no longer a hello world app
2024-10-31 18:29:57 +00:00
b572e353b4 sample data 2024-10-31 18:29:06 +00:00
6e4073ca7a remove redundant pattern match
we get the attributes using the cursor, so no need to parse
it for the node
2024-10-31 17:25:01 +00:00