noflo-ui icon indicating copy to clipboard operation
noflo-ui copied to clipboard

Better hint when disconnected from runtime

Open djdeath opened this issue 10 years ago • 7 comments

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.

djdeath avatar Feb 12 '15 17:02 djdeath

:+1: for a better hint, but in my opinion the user should be able to edit the graph in offline mode as well.

ComFreek avatar Feb 12 '15 17:02 ComFreek

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.

djdeath avatar Feb 12 '15 17:02 djdeath

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).

ComFreek avatar Feb 12 '15 17:02 ComFreek

Even for the live mode?

djdeath avatar Feb 12 '15 17:02 djdeath

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!

ComFreek avatar Feb 12 '15 17:02 ComFreek

The live mode is entirely unpersisted at the moment (which is broken). Will probably take a while to fix.

jonnor avatar Feb 14 '15 02:02 jonnor

In general, we should verify response from runtime to changes requested by the UI. Currently nothing like this is done.

jonnor avatar Feb 14 '15 02:02 jonnor