-
Notifications
You must be signed in to change notification settings - Fork 338
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
Web UI shows "No devices yet" briefly during launch #3056
Comments
This may be an async race condition where I couldn't make much sense of this using breakpoints in a debugger, but if I Edit: Chrome's debugger makes more sense of it, and does actually show |
I think what is happening here is that I can fix this by removing the |
Currently I think
I assume the intention of setting the |
I think I've confirmed that If we wait for the WebSocket to open first, then As long as there are no subsequent cases where it's important that |
This is primarily UX issue...
When you first open the web page, you get a message stating "No devices yet. Click + to scan for new devices." which remains on the screen for a few seconds before all of your devices load.
To the end user this gives a brief "oh no" moment when they might think it lost all of their devices.
This message should not appear unless the devices have finished loading and there actually aren't any.
Having a message is better than a blank screen though, so something that indicates it's still loading or looking for devices should be shown first, then switch it out with the above message once it's done loading if it didn't find any.
This is on 1.1 beta 2
The text was updated successfully, but these errors were encountered: