[Dashboard] Manage the update when returning to the app

Each widget should update when returning to the Gladys PWA after being in the background

[Edit PG 31/01/2025]

Hello :slight_smile:

I think I fixed the issue!

Concretely, what I do now is that if the WebSockets connection is lost, then comes back (during a network outage, or if the PWA is simply reopened after being put in the background), I refresh the widget.

I applied this behavior to all widgets.

I took the opportunity to improve the design of the « Appareils Â» (Devices) widget during loading:

I’m offering a Gladys Plus URL to test and I’d appreciate any feedback :slight_smile: (If possible, in real use over a few days to see if it really improves things)

The

2 Likes

ok, I’m starting the test. I’ll get back to you in a few days…

1 Like

Refreshing on mobile (Brave browser) works very well :+1: (you needed to refresh beforehand)

1 Like

I confirm like @cicoub13: it works very well for me! Great.

2 Likes

I’m so happy to read that, I admit it annoyed me a bit to have to refresh every time, because otherwise I didn’t know whether I was up to date or not.

THANK YOU VERY MUCH!

1 Like

If there are other things that annoy you, really don’t hesitate :smiley: I’m not always aware of these bugs, and I really prefer to fix them!! ^^

1 Like

Fixed in Gladys Assistant 4.53.0:

You’re right — I should take the time (which I’m short on!) to give these little bits of feedback, they’re important :wink:

1 Like