This PR makes the sport attribute available to workouts.
Older workouts will not have this attribute, we could go back and add them in, but that's probably a job for another PR.
This PR will be about building the UI to display the type of workout performed. I suggest we start with RUNNING, CYCLING and SWIMMING and treat any other value as we currently do. So gracefully enhance new workouts with an icon and text that reads correctly:
This PR makes the sport attribute available to workouts.
Older workouts will not have this attribute, we could go back and add them in, but that's probably a job for another PR.
This PR will be about building the UI to display the type of workout performed. I suggest we start with
RUNNING
,CYCLING
andSWIMMING
and treat any other value as we currently do. So gracefully enhance new workouts with an icon and text that reads correctly: