node-red / node-red-dashboard

A dashboard UI for Node-RED
Other
1.3k stars 450 forks source link

fix to support locking flow tab #799

Closed HiroyasuNishiyama closed 1 year ago

HiroyasuNishiyama commented 1 year ago

Node-RED beta-1 introduced locking flow feature.

It makes properties of nodes placed on locked flow read-only. Since Node-RED dashboard changing layout of widget nodes by sidebar, properties of widget nodes may be changed. This causes runtime error of changing read only properties.

This PR attempts to address this issue by suppressing layout list widget movement and buttons for tabs containing nodes in locked flow.

This PR requires cancel operation feature of editableList proposed here.

dceejay commented 1 year ago

Thanks for the fix.