Skip to content

Programmatic (Mustache) Titles & Labels #555

Open
@mman

Description

@mman

Description

Great work with Dashboard 2.0, loving it so far...

One of the things I believe is missing (or I have misunderstood) is the ability to support dynamic titles, labels, etc... in all widgets... in general... this is achieved by angular filters. Not experienced enough to see if there is anything similar in vue.js.

Quoting original documentation of dashboard 1.0 (https://flows.nodered.org/node/node-red-dashboard)

Most widgets can have a label and value - both of these can be specified by properties of the incoming msg if required, and modified by angular filters. For example the label can be set to {{msg.topic}}, or the value could be set to {{value | number:1}}% to round the value to one decimal place and append a % sign.

That way the title of a chart, or title of a gauge can be adjusted dynamically by easily parsing incoming payload...

Have you provided an initial effort estimate for this issue?

I am no FlowFuse team member

Metadata

Metadata

Assignees

Labels

Dashboard 1.0This is a feature of Dashboard 1.0 that has not yet been migrated to Dashboard 2.0feature-requestNew feature or request that needs to be turned into Epic/Story details

Type

No type

Projects

Status

Todo

Status

Under Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions