Commit Graph

123 Commits

Author SHA1 Message Date
54af226e52 revert looseLabels changes
we went a different route for the time axis and don't need this
2024-11-17 16:00:06 +00:00
754840d19c run frontend tests before building 2024-11-17 09:43:38 +00:00
aaaa0041d1 use helper to shorten looseLabels tests 2024-11-17 09:40:54 +00:00
40af75c140 nice-numbers: remove hardcoded values for rounding
in preparation for paramatrising digits-that-are-nice, compute
the boundaries between one number and the next
2024-11-17 00:19:39 +00:00
12a547c7aa drag time graphs left/right 2024-11-16 18:11:21 +00:00
5f02b5b992 rename messages for map dragging 2024-11-16 00:03:55 +00:00
7fe09053e3 remove MapZoom{In,Out} messages
they can both be replaced with MapScale
2024-11-16 00:00:16 +00:00
8c1eb9f77f remove scroll buttons and message
no need for it, dragging works fine
2024-11-15 23:43:56 +00:00
baf3046149 add scroll mouse for graphs to zoom in/out 2024-11-15 22:17:07 +00:00
9cfbb78e53 add entr for auto-rebuilding frontend in dev 2024-11-15 22:16:00 +00:00
536f45a26c replace MapZoomWheel with MapScale
which doesn't require but subsequently ignore x and mode fields
2024-11-15 22:14:54 +00:00
6e092a83ae eat mouse wheel events destimed for map zoom
stop propagation, prevent default
2024-11-15 22:08:12 +00:00
5b9697e283 subseq of points from start 2024-11-15 21:57:45 +00:00
dbc2ee667a add y axis labels to time graphs 2024-11-14 22:19:26 +00:00
293231fdf5 frontend make target needs all the elm files 2024-11-14 22:18:48 +00:00
42d0ff65b8 elm has a clap function already 2024-11-14 19:08:49 +00:00
3200a4618f add Paul Heckbert's "Nice numbers for graph labels" algo 2024-11-14 19:07:43 +00:00
3a3dce91b1 make the wheel zoom less sensitive 2024-11-14 16:03:32 +00:00
86e9919825 rename type MapZoom -> ZoomLevel 2024-11-14 15:07:33 +00:00
7f58809741 zoom map on mouse wheel events 2024-11-14 15:05:31 +00:00
7d9273190e rename Zoom -> MapZoom to avoid confusion with timeline zoom 2024-11-14 09:59:08 +00:00
46ee6dc1f5 fix bullets 2024-11-14 09:47:40 +00:00
be02fcfbd4 add screenshot 2024-11-13 22:10:01 +00:00
21fc9d6874 add titles and colour to line graphs 2024-11-13 22:05:08 +00:00
cdfc56d7fe fix scaling for time graphs 2024-11-13 20:38:47 +00:00
b7344a68c6 set viewBox for graphs to show full time range
todo: also scale the y axis correctly
2024-11-13 00:16:50 +00:00
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