node-red-dashboard icon indicating copy to clipboard operation
node-red-dashboard copied to clipboard

The order of items in a dashboard does not reflect the configuration

Open robmarcer opened this issue 2 years ago • 4 comments

Epic

No response

Description

When working on an internal dashboard I noticed that the order of the elements are not the same as I have configured.

Configuration - https://d.pr/i/t3iact

Actual order

Objective 1 Objective 2 Teams by Tier ui-markdown Contracted Revenue Utilisation

I believe the order should be the same.

Which customers would this be availble to

None

Acceptance Criteria

No response

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

robmarcer avatar Jan 09 '24 14:01 robmarcer

I just restarted the NR instance (this is running on FlowFuse 1.15) after which the items were in the correct order. I think that should not be necessary so I'll leave this bug open.

robmarcer avatar Jan 09 '24 14:01 robmarcer

What I have noticed is that when a widget is added and deployed then its position in the dashboard right hand pane may not match its position in the dashboard. If it is manually moved and deployed then the position becomes correct.

colinl avatar Jan 09 '24 15:01 colinl

More issues detailed here: https://discourse.nodered.org/t/node-ordering-in-groups/85448?u=joepavitt

joepavitt avatar Feb 23 '24 08:02 joepavitt

I have just improved this for pages with https://github.com/FlowFuse/node-red-dashboard/pull/848

Still need a little more work for groups and widgets

joepavitt avatar May 14 '24 15:05 joepavitt

After adding a widget to a group, and deploying, if one exports the widgets in the group one can see that the order properties of the widgets are often messed up.

colinl avatar May 23 '24 20:05 colinl

Thanks @colinl - this is one of my top priorities at the moment

joepavitt avatar May 24 '24 07:05 joepavitt

Will the fix for this also be relevant for #710 and #722?

colinl avatar May 24 '24 08:05 colinl

Relevant, but not a fix - that will require a bit more subflow/core work I believe

joepavitt avatar May 24 '24 09:05 joepavitt

#892 and #893 opened to resolve this. I broke it into group and widget fixes to make it easier to review

joepavitt avatar May 24 '24 10:05 joepavitt

This can be closed as both the attached issues are resolved

joepavitt avatar Jul 11 '24 10:07 joepavitt