Summary
On the Home screen, display the user’s next planned workout (the earliest upcoming workout that is not completed) and directly underneath it display the exercises belonging to that workout, including sets and reps. Current challenge: the exercises list cannot be correctly scoped to the selected “next workout” record. The exercises that are shown now, don’t belong to this workout.
Problem Statement
We can successfully fetch the “next workout” on Home using list filters/sorting. However, we struggle to bind the exercises list to that specific workout record. Without correct scoping, the exercises list either shows the wrong exercises or cannot be filtered reliably.
We should not add dates to each WorkoutExercise record, because exercises must remain reusable across sessions/templates.
Goals
-
Home always shows one Next Workout card (or an empty-state CTA if none).
-
Home shows a list of WorkoutExercises that belong to that Next Workout.
Does anyone have any advice on how to fix this within my app?
Thank you in advance.

