Pogues icon indicating copy to clipboard operation
Pogues copied to clipboard

Handling label types between VTL, Markdown and simple text

Open romaintailhurat opened this issue 2 years ago • 2 comments

There are different types of label in Pogues:

  1. simple text
  2. Markdown text
  3. VTL expression

The first and second could be presented as a single option (simple text being valid Markdown) but are distinct from the third one.

We need to manage those different types. A previous idea was to ask users to consider simple text / markdown as a VTL string (between "), but some users want to still use simple text as input for their labels.

So we need to handle that explicitly, with a UI for choosing the type of labels (Markdown or VTL) for each label fields.

This need to be validated

romaintailhurat avatar Jan 03 '23 16:01 romaintailhurat

@MickaelMenet @BulotF if the idea seems good to you, i can provide a UI for this

romaintailhurat avatar Jan 13 '23 10:01 romaintailhurat

This UI feature will allow to use VTL at its best (and avoid quirks like this one)

romaintailhurat avatar Dec 06 '23 14:12 romaintailhurat