cockpit icon indicating copy to clipboard operation
cockpit copied to clipboard

VeryGenericIndicator Mini Widget - Would be more generic if custom mode just allowed you to format using a template

Open pkmiles opened this issue 1 year ago • 2 comments

In attempting to add Lat, Lng onto the footer bar I currently have to do as two seperate variables. Also, having done this I can't easily get the formatting at the right display precision.

Given Custom mode is a power feature what if you went away from the set variable picker to a textarea field where you could enter your format using a moustache/handlebars template for variables and formatting?

That would allow something like the attached example.

Screenshot 2024-06-09 at 2 42 52 PM

pkmiles avatar Jun 09 '24 02:06 pkmiles

That's an interesting idea actually...

In this case we should allow the VGI to auto-scale in width also.

Let me do some tests.

rafaellehmkuhl avatar Jun 09 '24 16:06 rafaellehmkuhl

Relevant to #613

ES-Alexander avatar Jul 01 '24 11:07 ES-Alexander