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

Show message while workspace is starting #465

Open
code-asher opened this issue Aug 16, 2024 · 0 comments
Open

Show message while workspace is starting #465

code-asher opened this issue Aug 16, 2024 · 0 comments

Comments

@code-asher
Copy link
Member

code-asher commented Aug 16, 2024

It would be nice if we can show a separate "starting workspace" message while starting a workpsace. Currently we immediately launch into SSH which shows "connecting to remote host" so if we have to wait for the workspace start as well it makes that step seem extra long.

Thinking something like this, where we would have to implement waitForBuild with a web socket:

CoderRemoteConnectionHandle().connect { indicator ->
  if (listOf(WorkspaceStatus.STOPPED, WorkspaceStatus.CANCELED, WorkspaceStatus.FAILED).contains(workspace.latestBuild.status)) {
    val build = client.startWorkspace(workspace)
    indicator.text = "Starting workspace..."
    client.waitForBuild(build)
  }
  workspaceProjectIDE
}
@code-asher code-asher changed the title Wait for workpace start Show indicator while workspace is starting Aug 16, 2024
@code-asher code-asher changed the title Show indicator while workspace is starting Show message while workspace is starting Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant