Open oliver-sanders opened 4 years ago
+1 I've been waiting for the websockets to fix this one. Related to #93
The idea would be to have an indicator when the server is offline. Apache Jena's Fuseki, Riot WebIM, and other projects have a similar feature.
@oliver-sanders not sure if the network connectivity indicator is enough to close this? Or should we do something else in case of network errors?
It solves point 1, I think we could do with handling GraphQL errors better though.
It solves point 1, I think we could do with handling GraphQL errors better though.
Related issue from Cylc UI Server: https://github.com/cylc/cylc-uiserver/issues/68
Address the error component of #111
Handle:
Issues with communication to the UI Server typically manifest in the somewhat cryptic:
Presumably the error returned isn't valid JSON, we should catch the JSON.parse error so we can present / handle the actual error properly.
Pull requests welcome!