Route map later: hover marker, colour by power, privacy zones #137

Closed
opened 2026-11-08 18:15:03 +00:00 by chris-kreidl · 4 comments
chris-kreidl commented 2026-11-08 18:15:03 +00:00 (Migrated from github.com)

(session 42) Out of scope for the route map, wanted later: a chart-hover ↔ map marker, colouring the track by power or HR, privacy zones near home (before friends' rides show anywhere but their own page), a dark map style, and maps on Today or History. The route is simplified on every ride-page load (about 3 ms for a 17k-row ride); store it at import if that ever matters.

Moved from docs/PROGRESS.md → Follow-ups → Later on 2026-11-08.

(session 42) Out of scope for the route map, wanted later: a chart-hover ↔ map marker, colouring the track by power or HR, privacy zones near home (before friends' rides show anywhere but their own page), a dark map style, and maps on Today or History. The route is simplified on every ride-page load (about 3 ms for a 17k-row ride); store it at import if that ever matters. _Moved from docs/PROGRESS.md → Follow-ups → Later on 2026-11-08._
chris-kreidl commented 2026-11-08 20:08:36 +00:00 (Migrated from github.com)

What this is about. A wish list left over from the route map (session 42, the map on a ride's page):

  • Hover link: hovering the power chart puts a marker at that spot on the map, and the reverse.
  • Track colour: colour the track by power or heart rate instead of one line colour.
  • Privacy zones: hide the start and end of a track near home. That's needed before friends' rides show anywhere except their own page.
  • Dark map style, and maps on Today or History.
  • Performance: the route is simplified on every ride-page load (about 3 ms for a 17k-point ride). Store the simplified track at import only if that ever matters.

Status (checked 2026-11-08): none built. The Maps milestone (sessions 43–45) built the tiles and base map, not these.

Most valuable first: privacy zones, if friends' rides are ever shared. The rest is polish. Session 49 (#224) puts ridden profiles on History, not maps.

**What this is about.** A wish list left over from the route map (session 42, the map on a ride's page): - **Hover link:** hovering the power chart puts a marker at that spot on the map, and the reverse. - **Track colour:** colour the track by power or heart rate instead of one line colour. - **Privacy zones:** hide the start and end of a track near home. That's needed before friends' rides show anywhere except their own page. - **Dark map style**, and **maps on Today or History**. - **Performance:** the route is simplified on every ride-page load (about 3 ms for a 17k-point ride). Store the simplified track at import only if that ever matters. **Status (checked 2026-11-08):** none built. The Maps milestone (sessions 43–45) built the tiles and base map, not these. **Most valuable first:** privacy zones, if friends' rides are ever shared. The rest is polish. Session 49 (#224) puts ridden profiles on History, not maps.
chris-kreidl commented 2026-11-19 03:21:33 +00:00 (Migrated from github.com)

Status (checked 2026-11-18): the dark map style is done (night route map, #92/#76, merged in #278). Still not built: chart-hover ↔ map marker, track colour by power or HR, privacy zones, maps on Today or History, storing the simplified track.

**Status (checked 2026-11-18):** the dark map style is done (night route map, #92/#76, merged in #278). Still not built: chart-hover ↔ map marker, track colour by power or HR, privacy zones, maps on Today or History, storing the simplified track.
roboziggy[bot] commented 2026-11-20 19:25:25 +00:00 (Migrated from github.com)

Understood: #137 is a wish list of four unbuilt map items (chart-hover ↔ map marker, track colour by power/HR, privacy zones, maps on Today/History) plus storing the simplified track. It's too many things for one PR, and privacy zones and the maps-on-Today/History placement need your calls. Which should I build?

  1. Scope. My recommendation: this PR does chart-hover ↔ map marker and track colour by power/HR (both on the ride page only, no schema change). Privacy zones, maps on Today/History and the stored simplified track stay on the list.
  2. Privacy zones. If you want them now: a per-user home point and radius in Settings (default 200 m, imperial display), with track points inside it cut from the start and end of the map and the tiles. Should it apply to the owner's own ride page too, or only when others can see the ride? I recommend only others (nothing shows friends' rides yet, so it would be unused code). I'd leave it for the session that shares rides.
  3. Track colour control. A small Power / Heart rate / None toggle on the map, default None (today's single line). Fine, or do you want a default of power?
  4. Maps on Today/History. I recommend skipping: Today and History have no ride-map design yet, so it needs a design call first.
  5. Stored simplified track. I recommend skipping (3 ms per load).
Understood: #137 is a wish list of four unbuilt map items (chart-hover ↔ map marker, track colour by power/HR, privacy zones, maps on Today/History) plus storing the simplified track. It's too many things for one PR, and privacy zones and the maps-on-Today/History placement need your calls. Which should I build? 1. **Scope.** My recommendation: this PR does chart-hover ↔ map marker and track colour by power/HR (both on the ride page only, no schema change). Privacy zones, maps on Today/History and the stored simplified track stay on the list. 2. **Privacy zones.** If you want them now: a per-user home point and radius in Settings (default 200 m, imperial display), with track points inside it cut from the start and end of the map and the tiles. Should it apply to the owner's own ride page too, or only when others can see the ride? I recommend only others (nothing shows friends' rides yet, so it would be unused code). I'd leave it for the session that shares rides. 3. **Track colour control.** A small Power / Heart rate / None toggle on the map, default None (today's single line). Fine, or do you want a default of power? 4. **Maps on Today/History.** I recommend skipping: Today and History have no ride-map design yet, so it needs a design call first. 5. **Stored simplified track.** I recommend skipping (3 ms per load).
chris-kreidl commented 2026-11-20 19:35:55 +00:00 (Migrated from github.com)
  1. I agree
  2. I agree with the options in Settings. On the owner's own ride page it would be ideal to still show the full track, but keep the excluded section a different color.
  3. Default to power if present, then fallback to HR, then fallback to none.
  4. Agreed, please file a new issue
  5. Agreed
1. I agree 2. I agree with the options in Settings. On the owner's own ride page it would be ideal to still show the full track, but keep the excluded section a different color. 3. Default to power if present, then fallback to HR, then fallback to none. 4. Agreed, please file a new issue 5. Agreed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/trainer#137
No description provided.