FlowFuse / node-red-dashboard

https://dashboard.flowfuse.com
Apache License 2.0
206 stars 49 forks source link

Position/priority/order value property to dashboard nodes for Subflow and dynamic ordering #1485

Open phedders opened 3 days ago

phedders commented 3 days ago

Description

When creating a load of for example buttons through a subflow, there is currently no way to order said buttons in the group.

If there was a priority property, then a priority value could be defined with the subflow properties.

This could also be dynamically adjusted by flows (mqtt input etc) in the same way as color/bg/label...

I can also see how I would use this in normal dashboard items too (not having to go do the dashboard gui to reorder stuff that moved because a node was removed and re -added for example - if it was given a priority value already....)

(Currently using Dashboard 3.6.5 on Node-RED 4.0.5 - And I have just found out about Dashboard 2 which I thought was older than Dashboard 3.6.5... silly me So I am upgrading/rewriting my first dashboard - but the request stands still for DB2. I guess the control would be by sending it in msg.ui_update. or similar.)

Many thanks - DB2 looks awesome.

Have you provided an initial effort estimate for this issue?

I am no FlowFuse team member

phedders commented 3 days ago

Discourse discussion