REQUEST - Add a position/priority/order value property to dashboard nodes for Subflow and dynamic ordering

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 was 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. But my request still stands for 2 so I have created tkt: Position/priority/order value property to dashboard nodes for Subflow and dynamic ordering · Issue #1485 · FlowFuse/node-red-dashboard · GitHub)

1 Like

Thanks for this post. I'm as well at the point using subflows to build up dashboards, but the subflows could not be ordered. Even in the dashboard 2.0 tab on node red.

Are you talking about ordering multiple subflow instances within one group, or ordering multiple widgets within one subflow?

Both effectively :slight_smile:
Primarily ordering subflow instances in a group.

I can now remove hundreds of duplicate node groups in a dashboard flow because I can pass suitable data to instances - thats grreat but nodes appear in a random order and the dashboard side control cant re-order them because being dynamic they do not exist. Yet. But if I give a priority to each instance for the group to build up the right ordering then that would be amazing.

Now if you also wanted to be able to give a 'sub'priority to each dashboard node in a subflow that would be even better because if for a particular control you wanted a Button and a Slice - you can either group and order them, or by making the offset bigger than the instance priority set, group each type of node. Presumably you would apply it as an offset (or give a calculation so you could be more flexible with the layout)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.