coder / coder/jetbrains-coder

Show message while workspace is starting

Open
#465 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
33
Forks
18
Avg merge
2d 13h
Merged PRs (30d)
1

Description

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:

```kotlin
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
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.