-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Below are several example HIIT workouts that are spread throughout blockTemplates.ts
{ type: "hiit", activity: "Reset-20", duration: 20 },
{ type: "hiit", activity: "Hill Sprints", duration: "3 sprints" },
{ type: "hiit", activity: "Tempo Run", duration: "5 km" },
{ type: "hiit", activity: "GC 9", duration: "" },
{ type: "hiit", activity: "600m Resets", duration: "" },
Below are some explanations for those HIIT workouts:
- Reset-20: Sprint 20 sec, rest 2-5 min, 3-5 rounds
- Hill Sprints: Sprint 10-20 sec, rest 2-3 min, 3-10 rounds
- 5km Tempo Run: 5 km at 80-85% max heart rate
- GC 9: [3 Pull-ups, 5 Burpees, 10 Air Squats] x AMRAP in 10 minutes; then 100 meter Sprints x 10 rounds
- 600m Resets: Sprint 600 meters, rest 3-5 minutes, 6 rounds
Below are some suggested changes to how the workouts are defined in blockTemplates.ts
{ type: "hiit", activity: "Reset-20", duration: "20 sec", rounds: 5 },
{ type: "hiit", activity: "Hill Sprints", duration: "", rounds: 3 },
{ type: "hiit", activity: "Tempo Run", duration: "5 km" },
{ type: "hiit", activity: "GC 9", duration: "100 m", rounds: 10 },
{ type: "hiit", activity: "600m Resets", duration: "600 m", rounds: 6 },
I'm not exactly sure how to handle that sometimes the sessions are defined in terms of time and sometimes in terms of distance...
Nor am I sure how to handle something like GC 9
The rounds were added to blockTemplates.ts by PR #43
I need to test that HIIT workouts work properly.
Previously that was too tedious so I created issue #44 which was fixed by PR #45
Hopefully now using the API calls, and mocking different HIIT workouts, we can test the functionality.
In terms of UI, the only change by PR #43 was adding the rounds as text to the workouts, but actual rounds functionality in the UX is still lacking. LiSS workouts have the countdown for durations, but HIIT workouts just have simple text presented and a "complete workout" button.