-
-
Notifications
You must be signed in to change notification settings - Fork 142
Ability to add parameters to annotation description #248
Copy link
Copy link
Open
Labels
discussIdeas, mockups, constructive criticisms, and suggestions are welcome!Ideas, mockups, constructive criticisms, and suggestions are welcome!enhancementThis is an enhancement of an existing featureThis is an enhancement of an existing feature
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
discussIdeas, mockups, constructive criticisms, and suggestions are welcome!Ideas, mockups, constructive criticisms, and suggestions are welcome!enhancementThis is an enhancement of an existing featureThis is an enhancement of an existing feature
Along the time some people asked to add the ID of the annotation to the annotation description, other people the timestamp, or the walked distance or other relevant track/location data.
Maybe, since we have pinned description, a good way to implement all those features could be to add the possibility to add some parameters to the description. Parameters would be a placeholder for the data retrievable from the annotation, and would be automatically replaced with the related data.
Some examples of usage:
Current Speed = ${speed}would becomeCurrent Speed = 30 km/h.${id} - My awesome descriptionwould become12 - My awesome description${date} ${time}would become05/05/2026 07:35Walked distance ${distance_current}would becomeWalked distance 12.5 kmWe should as first instance choose the placeholder syntax.
Some relevant existing usages are:
${parameter}= Json and Bash<parameter>= HTML{parameter}= PythonWith this feature, with a relatively modest startup effort (the user should write a description with the desired data placeholder and save it to the pinned descriptions), the users could have a quick way to add related data to descriptions.