Ride page should draw the played steps for recorded rides #127

Open
opened 2026-11-08 18:14:16 +00:00 by chris-kreidl · 1 comment
chris-kreidl commented 2026-11-08 18:14:16 +00:00 (Migrated from github.com)

(ride chart pauses) The ride page draws the plan's steps, not what the ride screen played. A skipped step or an intensity nudge still misaligns the fill from there on. Recorded rides keep the played steps and nudges in RideRecording.targets (unread so far); draw those for recorded rides.

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

(ride chart pauses) The ride page draws the plan's steps, not what the ride screen played. A skipped step or an intensity nudge still misaligns the fill from there on. Recorded rides keep the played steps and nudges in `RideRecording.targets` (unread so far); draw those for recorded rides. _Moved from docs/PROGRESS.md → Follow-ups → Later on 2026-11-08._
chris-kreidl commented 2026-11-08 20:12:56 +00:00 (Migrated from github.com)

What this is about. When you ride a workout on the trainer in the app (the ride screen, /ride), you can skip a step or nudge the intensity up or down. Afterwards, the ride's page draws the plan's steps behind the power chart, not what the ride screen actually played. After a skip or a nudge, the shading no longer lines up with your power. The ride screen saves what it played (RideRecording.targets), but nothing reads it yet.

Status (checked 2026-11-08): unchanged. targets is written by src/server/recording.ts and not read by any view.

Fix: for recorded rides, draw the stored played steps instead of the plan's. Small to medium. This also covers the target-vs-actual part of #136.

**What this is about.** When you ride a workout on the trainer in the app (the ride screen, `/ride`), you can skip a step or nudge the intensity up or down. Afterwards, the ride's page draws the *plan's* steps behind the power chart, not what the ride screen actually played. After a skip or a nudge, the shading no longer lines up with your power. The ride screen saves what it played (`RideRecording.targets`), but nothing reads it yet. **Status (checked 2026-11-08):** unchanged. `targets` is written by `src/server/recording.ts` and not read by any view. **Fix:** for recorded rides, draw the stored played steps instead of the plan's. Small to medium. This also covers the target-vs-actual part of #136.
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#127
No description provided.