Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

- ssh configuration is simplified, background hostnames have been discarded.

### Fixed

- misleading message saying that there are no workspaces rendered during manual authentication

## 0.2.0 - 2025-04-24

### Added
Expand Down
8 changes: 8 additions & 0 deletions src/main/kotlin/com/coder/toolbox/CoderRemoteProvider.kt
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ class CoderRemoteProvider(
// start initialization with the new settings
[email protected] = restClient
coderHeaderPage = NewEnvironmentPage(context, context.i18n.pnotr(restClient.url.toString()))
environments.showLoadingMessage()
pollJob = poll(restClient, cli)
}
}
Expand Down Expand Up @@ -326,7 +327,14 @@ class CoderRemoteProvider(
context.secrets.rememberMe = true
this.client = client
pollJob?.cancel()
environments.showLoadingMessage()
pollJob = poll(client, cli)
goToEnvironmentsPage()
}

private fun MutableStateFlow<LoadableState<List<RemoteProviderEnvironment>>>.showLoadingMessage() {
this.update {
LoadableState.Loading
}
}
}
Loading