feat: max-speed marker scrubs timeline + timeline tick (FEAT-16)

- Clicking the amber max-speed map marker now jumps the replay to that point
- Add an amber tick on the scrubber at the max-speed position (clickable too)
- Both on Pi and server portal
This commit is contained in:
Mathieu Moran
2026-08-15 18:00:06 -04:00
parent 87d63e8f32
commit 7d6dd28680
4 changed files with 63 additions and 9 deletions
+5 -2
View File
@@ -71,8 +71,11 @@
<button id="trip-play" class="btn btn-primary btn-sm" type="button" aria-label="Play">
<i class="fas fa-play" aria-hidden="true"></i>
</button>
<input id="trip-scrubber" class="form-range flex-grow-1" type="range"
min="0" max="0" value="0" aria-label="Trip replay timeline">
<div class="position-relative flex-grow-1">
<input id="trip-scrubber" class="form-range w-100" type="range"
min="0" max="0" value="0" aria-label="Trip replay timeline">
<div id="trip-max-tick" class="trip-max-tick" title="Max speed" hidden></div>
</div>
</div>
<div class="d-flex flex-wrap justify-content-between gap-2 small mt-2">
<strong id="trip-replay-time"></strong>