quassel-webserver icon indicating copy to clipboard operation
quassel-webserver copied to clipboard

Handle shaky network connectivity more resiliently

Open probonopd opened this issue 6 years ago • 3 comments

My reason for using this software is to be able to use IRC in situation with intermittent network connectivity, i.e., mobile, trains, etc.

When there is shaky connectivity, the web interface shows a red bar at the top (which is good).

reconnect

However, it asks me to reconnect (instead of retrying like.e.g, Gmail does) (which is slightly cumbersome), and then asks me to log in again (which is a real hassle), and shows a loading progress bar covering the entire screen (which makes it impossible to even look at the previous content).

loading

I would love to see this be optimized more for semi-online/offline use cases, since I could imagine that an IRC web client is used by more people "on the road" than just me.

probonopd avatar Nov 21 '17 18:11 probonopd

Possibly Service Workers could be used to facilitate this.

probonopd avatar Nov 21 '17 19:11 probonopd

That's a really complicated problem here, that couldn't simply be solved, because it's closely tied to how current Quassel protocol works, which isn't really mobile/web friendly. When connection is lost for any reason, we are forced to start the connection process again from the beginning.

The current reload + login part is cumbersome I agree, and this could be improved. I could just try to reconnect indefinitely without the need to refresh the page.

magne4000 avatar Nov 23 '17 13:11 magne4000

I could just try to reconnect indefinitely without the need to refresh the page.

Yes, I think this would already be a big improvement, together with a local caching of the already-downloaded queues in the browser.

probonopd avatar Nov 23 '17 18:11 probonopd