You can now add #tags to completed activities, planned workouts and workouts in your library. When an activity is paired with a planned workout then any tags from the workout are added to the activity. You can filter for activities by tag and search for workouts by tag.
For gear it would need to be set on the calendar event because library and plan workouts are not āper userā. And if you have to edit it on the calendar event you might as well just edit the activity instead. It would be better to support more activity types (e.g. MTB, Gravel etc.) and then add those to gear and select the gear that way. What is your use-case for this?
For me itās both a sport thing (which bike: gravel, road, tri) which isnāt completely tied to a sport type (tri and road would be the same?)
But also location. I have different running shoes in different locations, so depending on the weekday they change. Since Iām planning workouts on to my calendar upfront I could already set the gear there and wouldnāt have to think after the workout.
Amazing! For years, both in Apple and garmin Watch I have always wanted to simply search between types of workouts such as zone 2 or intervals. Itāll be much more enjoyable to look back and compare specific activities now
It is possible using a custom activity field. Many of the standard fields on activity can be updated as a side-effect of the script processing, including the tags:
{
// activity.tags will be null if there are none
let tags = activity.tags = (activity.tags || [])
if (tags.indexOf("foo") < 0) tags.push("foo")
}
Another example of this is a custom training load calculation. You can update activity.icu_training_load from the script.
Ah wow! For some reason I assumed the activity object would be read-only and the only thing āgetting outā would be the last expression of the script.
This is really cool - thereās a lot of power in doing some custom post-processing.
Not sure if it is something I am doing or a bug but I canāt filter out planned workouts by tag.
I have created some planned workouts and assigned the tag #warmup
I did the workout and the activity was paired with planned workout and the tag was assigned to the activity
I donāt think youāre missing anything. It seems that the filter only applies to activities and not planned workouts. Iām not sure if thereās a specific reason for this as I agree that youād mostly be looking to filter both on matching activities and planned workouts.
We can ping @david to get this on his radar as a feature request.
I have just implement this. The existing filter functionality now also applies to planned workouts. You a filter for tags but also other things that are present on planned workouts (e.g. moving time, type).
Not 100 % sure but I think that you need to remove unwanted tags from activities that have it. The āTag Listā is populated by any tag you ever used on an activity, itās a listing of what is found in that database column.
Best way to remove certain tags is to filter in the activity List view, remove and add as needed.
@david, I no longer have any activities with a specific tag, have re-logged and it still shows up in the tag list.
I made sure that no workouts in the library or in a training plan contain that tag. Also made sure that no charts are using that tag as a filter anymore.
I used it previously in charts and in workouts that got paired with activities. Maybe Iām missing something, or maybe thereās something on the backend that is holding on to that tag. Any idea on how I could troubleshoot further?