Add formatted workout steps to Garmin activities#56
Add formatted workout steps to Garmin activities#56PabiGamito wants to merge 2 commits intostrautomator:masterfrom
Conversation
| } | ||
|
|
||
| private intensity_prefixes = { | ||
| "warmup": "🟢 Warmup: ", |
There was a problem hiding this comment.
I assume we probably want to do something with localization of the text here
| switch (step.target_type) { | ||
| case "speed": | ||
| if (step.target_value) { | ||
| line += ` @ ${this.formatSpeedAsPace(step.target_value)}` |
There was a problem hiding this comment.
This is specific to running. We probably want to format this for cycling activities in a way that makes sense for cycling workouts. Plus we should add support for power and heart rate target types as well.
PabiGamito
left a comment
There was a problem hiding this comment.
This PR still needs some work but I wanted to get some preliminary thoughts about this idea to see if it makes sense and get some initial feedback on the code.
|
I would love that, even better if we could add the execution score |
|
@PabiGamito thanks a lot for the PR. I won't have much time to work on this in the next 2 to 3 weeks, so it would be great if you could update the PR with the workout steps formatted for cycling as well. I will merge as soon as it's good enough for at least running and cycling. The other targets (power, HR) can come later. |
|
This is interesting! Would this be merged at some point soon? |
|
@tongtunggiang not planned at the moment, as the PR only has the tweaks for running. If it includes cycling as well, I'll get it merged. |
This adds formatted workout steps like the following:
This is something I currently do manually for all my workout activities and so it would love for this to be automated through Strautomator.