-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving flow after changing Layout Editor #1484
Comments
That's because there is no need to do a Deploy. These changes are deployed with the "Save" button in the Dashboard UI. The popup you're seeing which mentions about the changes being made are as a result of you saving/deploying from the Dashboard UI |
I think this may well cause confusion. Consider this sequence of operation.
I also notice that if one moves widgets about in the dashboard panel and then opens the layout editor without deploying, then further adjust the layout, save it, and return to the flow editor then confusion of the editor can easily ensue. |
This could be a better workflow. The Edit Layout button changes you're current tab to the Dashboard in edit mode. The "Leave Edit Mode" button then returns to the Editor. I could get on board with that. Also removes the browser session clash on reviewing/merging changes too. Thoughts @Steve-Mcl |
When I took over the great foundation Joe kicked off, I hit an issue with API tokens (similar to the one Paul had recently and TBH, there are probably a bunch more edge cases out there) so I changed the workflow to emit the edits to Node-RED WITHOUT deploying them. The user had switch back to Node-RED and press "Deploy" to apply the changes. That eliminated the majority of the friction around merging but would have introduced different UX friction. To get past that poor UX, in my head, the workfow needed to be something like:
This meant there would be ZERO back door deploys via API & zero merge issues - everything is handled by the normal Node-RED deploy mechanism. However, we have what we have & there are some improvements that would ease matters a little. We could make both the "exit edit" AND the "save changes" buttons drop the user out of edit mode AND return them to the editor by closing the popped out tab. HOWEVER, Node-RED v4x seems to not always display the "Review Changes" and it is not always obvious you need to merge or refresh. That isnt going to change unless we dump the API calls or Node-RED improves how merges are handled. |
FWIW, I favour only saving the changes from the editor, and not the layout dashboard. Having a 'Return to editor' button which closes the layout dashboard, and returns to the editor, where the Deploy button would signify that a deploy is required, would feel more natural to me. Not sure why 'Review changes' is necessary... |
You have also been using NR for years though. A lot of Dashboard users are new, and I didn't like the introduction of the steps: Edit > Makes Changes > Save > Go to NR Editor > Deploy So instead went for: Edit > Make Changes > Save/Deploy Which I think is more intuitive, especially for new users, and fewer clicks generally to achieve the same thing |
Out of our control, that's a core Node-RED behaviour unfortunately |
Are you referring to the Layout Editor entirely here, or the "Review Changes" bit? |
No, the Layout Editor is a very welcome update, and should make it easier for users to design & build their layout. It's the 'Review changes' feature that IMO is not likely to be used, and possibly adds confusion for new users. We don't 'review changes' when we make changes to the editor flows. |
I was "forced" to abandon Dashboard 1.0 because of display problems on WIN 10 & 11 systems. I use a NR browser UI for my remote controlled CNC Mill, Laser Cutter and 3D printers running on raspberry Pi Zero W with PC, laptop and smartphone clients. On the laser cutter NR merges TCP serial commands from Lightburn and relays the control streams via raspi serial I/O to and from a marlin stepper controller. |
You can, but it needs to be done (at the moment) from the Dashboard sidebar in the Node-RED Editor. We have a pull request open for it, but it requires my attention, and I've not had a chance to give it the time it deserves. The reason for the layout shifts between D1.0 and D2.0 is heavily linked to responsiveness. We've had many customers complaining that D1.0 wouldn't work on mobile through to desktop, and so the changes we have introduced fix all of that. The disadvantage of this is that you can't now place and element in an empty space, it needs something either side (which we're doing with
It always will be, as was Dashboard 1.0 for 8 years. We'll always be adding new features and improving the usability. |
Don't know if this is a bug or feature request...
When using the layout editor, and saving changes, it is not always clear that a deployment is necessary, because the normal editor 'deploy' button remains un-highlighted, and 'the flows on the server have been updated' popup appears to time-out.
Expected behaviour
When changes have been made, it's fair to expect that the 'deploy' button, would indicate so.
The text was updated successfully, but these errors were encountered: