Describe the bug
Dashboard doesn't load new messages after a certain amount of time. If you send a message in to the account it doesn't load until you refresh
In the JS console it loads websocket errors
To Reproduce
Steps to reproduce the behavior:
Load dashboard either app.papercups.io or localhost
Put your computer to sleep and revisit after x minutes (Not sure the actual minutes I would start with 15) I've seen it definitely happen after an hour
See console error
Expected behavior
The dashboard should either refresh the websockets or prompt the user to refresh the page.
Ideally it should refresh the websockets but if it is too difficult prompting for a refresh is a good temporary work around
Additional context
The way I've reproduced it is by closing my Mac and keeping the dashboard open. I've reproduced it after an hour being away during lunch. It should disconnect with less time.
Describe the bug Dashboard doesn't load new messages after a certain amount of time. If you send a message in to the account it doesn't load until you refresh
In the JS console it loads websocket errors
To Reproduce Steps to reproduce the behavior:
Expected behavior The dashboard should either refresh the websockets or prompt the user to refresh the page.
Ideally it should refresh the websockets but if it is too difficult prompting for a refresh is a good temporary work around
Additional context The way I've reproduced it is by closing my Mac and keeping the dashboard open. I've reproduced it after an hour being away during lunch. It should disconnect with less time.