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

[spot dashboard/UI] Page failed to display in the first few seconds after opening #2123

Closed
concretevitamin opened this issue Jun 22, 2023 · 2 comments · Fixed by #2136
Closed
Labels
friction-log good first issue Good for newcomers help wanted Extra attention is needed

Comments

@concretevitamin
Copy link
Member

User feedback

Small UX feedback: when I run sky spot dashboard, very often the page that opens first shows some error, and after a few seconds it automatically refreshes and loads. Slightly confusing user experience.

I noticed that too and not sure what's wrong.

@concretevitamin concretevitamin added help wanted Extra attention is needed good first issue Good for newcomers friction-log labels Jun 22, 2023
@MaoZiming
Copy link
Collaborator

This seems to be an issue of ssh_command needing some time to launch before the site is ready for webbrowser.open
A naive solution might be to add a time.sleep() in between.

@concretevitamin
Copy link
Member Author

@MaoZiming makes sense. Do you have time to put in a quick fix? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
friction-log good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants