Better hint when disconnected from runtime
When working in live mode with the UI, if the runtime crashes or disconnects for whatever reason, the only hint the user gets is the red "refresh" icon in the top right corner. This is problematic, if the user doesn't pay attention to that, he might still modify the graph without getting any feedback that the runtime won't get any of the changes.
Would it be possible to grey/deactivate the graph view in that case? Probably just for the live mode.
:+1: for a better hint, but in my opinion the user should be able to edit the graph in offline mode as well.
Right, maybe a popup or something else? I've lost a few changes because of this, I thought it would be nice to find a better hint.
I've lost a few changes because of this, I thought it would be nice to find a better hint.
How was this possible? AFAIK the graph is always stored in the browser's cache (I assume localStorage or IndexedDB).
Even for the live mode?
Oh, I wasn't aware of the fact that a live mode existed. Nonetheless, a popup for the 'normal mode' would also constitute a useful addition!
The live mode is entirely unpersisted at the moment (which is broken). Will probably take a while to fix.
In general, we should verify response from runtime to changes requested by the UI. Currently nothing like this is done.