-
Notifications
You must be signed in to change notification settings - Fork 276
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
Need to RE-try to connect to Medusa service on broken connection; Refresh of home page with logo-press #10761
Comments
The medusa UI is build using a SPA (single page application). What you are asking is to implement PWA (progressive web app), or also called Service Workers. Which is something that we will do at some point. But not that high of a prio. Because it's a SPA, clicking the Logo will direct you to the Home route and not refresh the entire page. You don't want to reload it the entire page when you click the logo, because that's something you want to prevent when the page loads fine. The idea of a SPA is to load a minimum amount of data to do a first render. And hydrate the page with additional data using json requests when it's needed. Also there isn't much of a need to have the medusa logo refresh the page, as each browser has it's refresh button one click away. So if it couldn't connect, just click the refresh button. |
Yes, I already said that it works... Still , is it difficult to make it refresh with the logo click WHEN it is already on the home page (until you implement PWA)? When auto-recover from service issues is not available - it's just a small thing that can be nice to have. |
Usually you don't want to behave a link different depending on what page you are. Cause a user likes predictable behavior. So that's why i'm not really a fan of that. Although I could see if I can catch connection errors and set a global flag. So only have it refresh when there are connection issues. But also that i'm not to sure about tbh. |
The medusa GUI is not showing the home page after failed connection (usually after Windows startup & Browser auto-startup)
To emulate and Reproduce
Expected behavior
Screenshots

Medusa (please complete the following information):
The text was updated successfully, but these errors were encountered: