Whenever Node-Red is started, the dashboard UI elements are set to default values.
Would it be possible to add an automatic persistent storage for the Dashboard UI elements ?
But it would be really great if the UI elements had their own persistent storage.
At the moment I solve the problem like this:
No. That doesn't bring any good value but just makes dashboard more and more heavy.
The solution already exists and is easy to use. The starting point is not Node-Red start/restart, but the event when dashboard connects to the server side. And yes, if you have dashboard tab opened at the time the server side gets started or restarted, that event will be fired. To listen that event, there is
ui_control node. No mater the payload, you can use that as event based trigger and feed FRESH (last known) data to the dashboard.