Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gracefully handle refresh #118

Open
joffrey-bion opened this issue Feb 10, 2021 · 0 comments
Open

Gracefully handle refresh #118

joffrey-bion opened this issue Feb 10, 2021 · 0 comments
Labels
usability Usability issue/improvement to give a better UX

Comments

@joffrey-bion
Copy link
Owner

joffrey-bion commented Feb 10, 2021

Refreshing the page or navigating to any route via the browser's URL bar currently closes the websocket connection.

The user loses everything in that case. Without proper reconnects (handled in #10), we need to at least properly redirect to the home page.

Example: opening a new tab on #/games (game browser) currently crashes. But it should redirect to the home page, because currently new tab = no connected player

@joffrey-bion joffrey-bion added the usability Usability issue/improvement to give a better UX label Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability Usability issue/improvement to give a better UX
Projects
None yet
Development

No branches or pull requests

1 participant