6ea8a4717d
note some changes needed for multiuser support
2024-12-02 00:10:31 +00:00
8d01b16e4f
render thresholds for each graph
...
also add the visible graphs to Model type instead of hardcoding them
2024-12-02 00:09:33 +00:00
d41426f4cf
separate the grisly internals from the user-facing README
2024-11-29 18:17:12 +00:00
0cb79fb54d
make make run tests
2024-11-29 18:14:35 +00:00
a21b21d240
describe Procfile in README
2024-11-29 18:14:19 +00:00
0b1aa29f41
highlight selection on map
2024-11-27 18:43:56 +00:00
c294add7e2
highlight selected range on time graphs when active
2024-11-27 18:32:02 +00:00
290edd1daf
clamp marks to visible time range
2024-11-27 17:52:49 +00:00
621055e2df
use overmind to start everything
2024-11-27 17:48:58 +00:00
b635c9f5a1
add Model.elm to make deps
2024-11-27 17:48:35 +00:00
0bc1d5e2e3
make leftMark and rightMark separate model properties
...
the logic is much simpler if rightMark is a time not a duration
2024-11-27 17:47:58 +00:00
a1f64fed52
update screenshot
2024-11-27 00:27:04 +00:00
ddd461dc8d
rewrite drag handling
...
We do almost all the same things to update an in-progress drag
(scrolls, repaints, bounds checking etc) as for a finished drag, so
imo the model state (centre, startTime etc) during a drag should be
updated just the same as it is after the button is released
2024-11-27 00:18:33 +00:00
dfe0a7dbd5
use a Maybe instead of NoTarget
2024-11-25 21:36:07 +00:00
7dc7c6b2b0
new model has zoom 0
...
this is just to reduce the number of places that need zoomStep
2024-11-25 21:24:22 +00:00
8f9e89ffcd
rename FineZoomLevel to ZoomLevel and ZoomLevel to TileZoomlevel
...
"bounded contexts": use the shorter name for the souplesse concept
and the longer name (only in MapTile) for OSM zoom levels
2024-11-24 21:07:01 +00:00
02a30a7a10
prefer FineZoomLevel to ZoomLevel almost everywhere
...
we only use the coarse zoom internally in TileMap
2024-11-23 17:19:33 +00:00
33d59e1696
extract Model module
2024-11-23 16:41:04 +00:00
d8180febe7
expose pixel bounds from TileMap not boundingTiles
2024-11-23 13:47:56 +00:00
7bb1b9666a
introduce TileMap type
2024-11-23 13:03:12 +00:00
966026b3e7
add helpful(?) comment
2024-11-23 12:04:06 +00:00
795e63d773
push tile bounds calc down into tiles from caller
2024-11-23 12:03:29 +00:00
fb61919c96
remove unneeded record update
2024-11-23 12:02:09 +00:00
ff0e5fe75c
extract TileMap and Pos modules
2024-11-22 23:39:30 +00:00
c81b37a65e
clamp markedTime to stay visible in TimeScale
2024-11-22 17:59:52 +00:00
bd8b982238
lighten the time graph background colour
2024-11-22 17:50:23 +00:00
8f3c594699
inline variable definiton
2024-11-22 17:46:55 +00:00
20c287378a
extract function for drag finish
2024-11-22 17:45:31 +00:00
affe6cdc56
update mark positions while they're being dragged
2024-11-22 17:34:40 +00:00
2c49318823
allow dragging the selection markers (no live update)
2024-11-21 23:03:15 +00:00
70a654c472
use Float for time consistently
2024-11-21 22:15:32 +00:00
f17332a047
fix low-hanging errors from elm-analyse
2024-11-21 21:53:07 +00:00
9484597491
inline/remove top level oneliners
2024-11-21 21:40:47 +00:00
ec21f4c6e8
add elm-analyse
2024-11-21 21:40:31 +00:00
b83ddf58c0
remove unused function maybe (prefer Maybe.withDefault)
...
and also a couple of libs we weren't using
2024-11-21 21:35:59 +00:00
0da4e867bb
remove some cruft from README
2024-11-21 21:34:44 +00:00
ab3a5aaf9f
use Pos instead of curried lat/long
2024-11-21 16:05:47 +00:00
f379d2d9b9
centre map on loaded track
2024-11-21 15:54:18 +00:00
8c187fe3c9
downsample the points once, not again for each graph
2024-11-21 14:34:17 +00:00
9fd3620d9b
compile Drg messages/model into a single concept
...
we can only drag one thing at a time anyway
2024-11-21 12:37:48 +00:00
f4a9314033
render start/end marks on time axis
...
they don't do anything yet
2024-11-21 11:56:51 +00:00
c10e5ea70d
set Model start/duration from points
2024-11-21 11:46:45 +00:00
aa36f74762
rename newModel -> updateModel
2024-11-21 11:34:41 +00:00
e0d395ba9f
show ticks on time axis
2024-11-17 16:33:01 +00:00
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