• Joined on 2022-07-02
dan pushed to main at dan/souplesse 2024-11-14 09:47:56 +00:00
46ee6dc1f5 fix bullets
dan pushed to main at dan/souplesse 2024-11-13 22:10:14 +00:00
be02fcfbd4 add screenshot
dan pushed to main at dan/souplesse 2024-11-13 22:06:47 +00:00
21fc9d6874 add titles and colour to line graphs
cdfc56d7fe fix scaling for time graphs
Compare 2 commits »
dan pushed to main at dan/souplesse 2024-11-13 00:28:01 +00:00
b7344a68c6 set viewBox for graphs to show full time range
6ddd374a94 convert to flexbox, add power and elevation views
cfef807bf6 remove some onscreen garbage
9b6ddd46d5 render cadence graph
85c040023d fe: extract Point into a module
Compare 6 commits »
dan pushed to main at dan/souplesse 2024-11-12 07:36:17 +00:00
543873164e twiddle readme
cbe8bf4d4d frontend: get start/duration from query params
3427f500b3 to whit TODO
5032c7408c merge Store into Point
9a9c41a2ba export Session.duration as NominalDiffTime
Compare 12 commits »
dan pushed to main at dan/souplesse 2024-11-10 20:12:54 +00:00
4bdd103bd5 plot the points
dan pushed to main at dan/souplesse 2024-11-10 18:54:33 +00:00
9b4cb45c16 fetch and parse json from frontend
8dda4c37ba json-encode times as epoch seconds, as elm prefers
ea2732e525 linkify calendar entries
7a1901af7b format session duration in calendar
886089fbcd extract Session module
Compare 11 commits »
dan pushed to main at dan/souplesse 2024-11-06 22:01:16 +00:00
04797427fc add start and duration params to json endpoint
e111a323f7 add cadence/power/hr to json
Compare 2 commits »
dan pushed to main at dan/souplesse 2024-11-05 23:32:21 +00:00
8bd67b2096 serve JSON fron db at /points
7d2b669f3f fix exports from Track
Compare 2 commits »
dan pushed to main at dan/souplesse 2024-11-05 19:38:15 +00:00
798ded7541 save points to postgres in upload handler
81fa7346d3 fix multiline string syntax error
fa123b7c9a fix warning wrt static site config
Compare 3 commits »
dan pushed to main at dan/souplesse 2024-11-05 18:29:40 +00:00
2fae769bb9 add postgres
0e7406f7aa switch from Float to Double
5995a4083a remove unused names
Compare 3 commits »
dan pushed to main at dan/souplesse 2024-11-03 18:48:20 +00:00
f581107869 delete commented code
5f162a95bc improve error message (it's still rubbish though)
1b8293f93e upload gpx file (cargo-culted, very rough)
0d4da6ec93 add glue to serve frontend js from backend
Compare 4 commits »
dan pushed to main at dan/souplesse 2024-11-01 00:02:45 +00:00
12f1de6e58 tweak readme
dan pushed to main at dan/souplesse 2024-11-01 00:01:00 +00:00
d23ee5a948 note what next
fa289335d3 add yesod
Compare 2 commits »
dan pushed to main at dan/souplesse 2024-10-31 18:43:57 +00:00
dcaa38e5fe clear out [done] TODO items
a15346ae7a add Track.parseFile and call it from the main app
b572e353b4 sample data
6e4073ca7a remove redundant pattern match
ff4451cb6f apply hlint suggestions
Compare 6 commits »
dan pushed to main at dan/souplesse 2024-10-31 17:11:43 +00:00
7860a189b3 make elevation part of Position
5b827ed6ed handle missing lat/lon/time data
10c7d68f31 extract function for gpxtpx extensions
63f54a9355 read heart rate
Compare 4 commits »
dan pushed to main at dan/souplesse 2024-10-31 00:39:40 +00:00
7af52b4fbf update TODO
ea313b7f6e replace foo >>= return . bar with <&>
Compare 2 commits »
dan pushed to main at dan/souplesse 2024-10-31 00:36:15 +00:00
e15c42ff4a handle bad data
a3d48100ae replace case expressions with listToMaybe
Compare 2 commits »
dan pushed to main at dan/souplesse 2024-10-30 21:17:52 +00:00
2befb534a1 use composition instead of lambda
aa1f69f3d4 reindent using ormolu
31ba15f5a9 use partial functions in tests
aeb002092c make hunit exit 1 if there are errors
36eeea6bef shorten tests using Either operations
Compare 5 commits »
dan pushed to main at dan/souplesse 2024-10-30 17:51:31 +00:00
dd49bc50fa parse trkpt timestamp
5ec4e6be9a parse cadence and power
3278c7962c add hlint and apply suggestions
c514c20e68 use real gpx namespace
90101760a2 fail tests if empty points array
Compare 5 commits »