Hey, David!
Happy new year! May your goals for this year be fulfilled, in all spheres: personal, professional, athletic, social, intellectual, etc.
I have a feature request. It would be really nice to have speed in kph on running workouts along with mm:ss pace, since almost all treadmills in gyms let you structure a workout in speed rather than pace.
I have a bookmarklet that does exactly that:
javascript:(function() {
document.querySelectorAll("div.markdown ul > li").forEach(li => {
let match = li.textContent.match(/(\d+)m \d+% Pace \((\d+):(\d+) for ([^ ]+)km *[^@]+/);
if (match) {
let [_, time, min, sec, dist] = match;
let totalMin = parseFloat(min) + parseFloat(sec) / 60;
let speed = 60 / totalMin;
li.textContent = li.textContent.replace("km)", `km @ ${speed.toFixed(1)}km/h)`);
}
});
})();
Yet, it’s still a bit of a manual work as I have to open the workout view:
Run the bookmarklet that transforms the rendered textual description:
I then copy, paste, clean it up and save the workout. That way, when I’m at the gym, I have the speed for each block, which spares me from doing the math.
What do you think?