
Hello,
we built a dashboard with bokeh which works well and it was a nice process learning bokeh. The only thing bugging us is that currently it’s not transparent to the user when data is being updated. So for example the user clicks something on the map and nothing (visually) happens for a few seconds until data is being updated, the user might click 3 news things meanwhile. This is expected but we’d like to improve this by adding some kind of ‘loading’ animation, initially it might be as simple as some gears turning somewhere on the dashboard.
So here’s my question: Is there a ‘catch all’ way to be notified on the JS side when data is being updated and when the update finishes? It seems to me this would be easiest, ie. anytime any communication happens we show some loading animation. A more refined solution would maybe overlay a loading animation over whatever components are currently being updated. We could probably address this from the python side as well (I’m more familiar with that), but the problem would be that the information to display the loading animation would need to be communicated as well so it would still be delayed.
Thanks!



