UI Template: Custom Properties #665
Labels
feature-request
New feature or request that needs to be turned into Epic/Story details
size:M - 3
Sizing estimation point
subflows
Any issue/PR related to the use of Dashboard 2.0 within subflows
Description
This may take some doing to get "right", but the base philosophy is to build off the great work @Steve-Mcl is doing with #634 whereby we could begin to wrap a
ui-template
in a subflow to provide a reusable, configurable component in the Node-RED local palette.A challenge with this is that often, the
ui-template
is being configured within the Vue component, and doesn't have access to the parent environment variables that would be set at the subflow-level. I see two options here:1. Expose all Environment Variables to Client
Security alarm bells ringing
2. Custom Properties
To circumvent this, we could introduce the concept of "Custom Properties" which would be a generic list of key:value pairs (of varying types) on the
ui-template
. It would then be possible within a subflow to bind these to the subflow env vars, and so have aui-template
driven entirely by the subflow properties.Epic/Story
No response
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: