Notify about connection lost and reconnection events - #14576
Conversation
|
@philippjfr, if you want to use panel's notifications instead of this built-in approach, then I will need to add somewhere an option to allow disable notifications. |
e1729bb to
8f108c1
Compare
8f108c1 to
c0e4989
Compare
philippjfr
left a comment
There was a problem hiding this comment.
Just to record what we just discussed. It would be good to have a mechanism to disable this. A BokehJS setting is fine for now but would be nice to expose it from Python eventually.
9918872 to
6873ec4
Compare
|
@philippjfr, you can now use: import {settings} from "core/settings"
settings.notifications = false |
As mentioned in the meeting, I intentionally didn't expose any public APIs this late in 3.8. I will do that for 3.9. |
f575473 to
b4f9095
Compare
philippjfr
left a comment
There was a problem hiding this comment.
I'm happy with this now. I'll have to spend some time integrating this in Panel, and if I uncover issues there I'll open an issue. Let's get this merged and then tag a dev release.
|
@philippjfr, I started 3.8.0.dev4 build, it should be ready in an hour. |
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |

I improved
ConnectionLostevent to contain all the necessary information and addedreconnect()method, which can be used to manually reconnect broken connection. I intend to add a very basic notification scheme in this PR to allow UI feedback forConenctionLostandClientReconnectedevents.fixes #14564
addresses #14252