-
Notifications
You must be signed in to change notification settings - Fork 33
Description
As a user of the system, it would be nice to know when my worker crashes, possibly why it crashed, and how long ago it appears to have crashed.
The worker can, on best effort, attempt to log to the user the error that occurred just prior to it exiting. This error would hit the console log.
However, if enough streams/rpcs fail then the UI drops into a "everything is broken" mode, which clears the page/layout. It would be nice if we can alert the user that things are not working from the Javascript Client's perspective, without clearing this important console output.
I suggest that there might be a solution in the jsapi firing an event that causes the UI to either:
- create the modal-pop-up with the text in the event
- update the existing modal-pop-up
- as well as be able to close the pop-up if it truly was a transient, temporary, disconnect from the backend
I like Google's approach to this:

Perhaps the event can have a "message", a "start-time", and boolean flag to say where or not the "click-to-refresh" link is shown.