Skip to content

Ability to add parameters to annotation description #248

@GrazianoCapelli

Description

@GrazianoCapelli

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 become Current Speed = 30 km/h.
  • ${id} - My awesome description would become 12 - My awesome description
  • ${date} ${time} would become 05/05/2026 07:35
  • Walked distance ${distance_current} would become Walked distance 12.5 km

We should as first instance choose the placeholder syntax.
Some relevant existing usages are:

  • ${parameter} = Json and Bash
  • <parameter> = HTML
  • {name} = Python

With 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussIdeas, mockups, constructive criticisms, and suggestions are welcome!enhancementThis is an enhancement of an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions