-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Current Behavior
If a ui-page, other than the last page, is emptied and then removed using menu > Configuration Nodes while the Dashboard pane is not visible in the editor, and then Deployed, then later (even after node-red restart) if the dashboard pane is shown then the Deploy button becomes re-enabled.
This can be confusing for the user as it may not happen until hours or days after the page is removed - suddenly without warning the Deploy button becomes enabled and refreshing the browser or restarting node-red does not make it go away.
What appears to be happening is that removing the page via the menus does not update the page order fields in the configuration, then when the Dashboard pane is opened it notices the missing page and re-orders them, so forcing a Deploy requirement. I suspect the same thing may happen with groups and possibly Spacer nodes, though I have not tested that.
Expected Behavior
No re-deploy should be necessary.
Steps To Reproduce
- Select the Help pane on the right hand side
- Empty a page other than the last one
- Use the menu item Configuration Nodes > unused and delete the empty groups and page.
- Deploy
- Show the Dashboard pane
- The Deploy button is enabled again.
Inspecting the differences in the flow file shows that the order fields in the page have been updated, causing the deploy button to be enabled again.
Environment
- Dashboard version: 1.31.0 (and earlier)
- Node-RED version: 1.4.1
- Node.js version:
- npm version:
- Platform/OS:
- Browser:
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
Metadata
Metadata
Assignees
Labels
Type
Projects
Status