flexdash / node-red-flexdash

Node-RED server integration for FlexDash
MIT License
10 stars 3 forks source link

generated widget node type names are not collision resistant #1

Closed tve closed 2 years ago

tve commented 2 years ago

When generating nodes for widgets the node type is just the name of the widget, which can easily collide with other node red types in the case of common words, such as toggle, button, chart, etc. The generate script needs to have an option to prefix something, like "fd_", and that prefix should be used in the core widgets.

See also: https://discourse.nodered.org/t/flexdash-alpha-release-a-dashboard-for-node-red/65861/12