Skip to content

Commit 759af74

Browse files
committed
fix: switch provider screens when handling URI
The URI handling logic is now able to switch from a different provider screen back to Coder's main screen.
1 parent f7f396c commit 759af74

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
- improved message while loading the workspace
1313

14+
### Fixed
15+
16+
- URI protocol handler is now able to switch to the Coder provider even if the last opened provider was something else
17+
1418
## 0.3.2 - 2025-06-25
1519

1620
### Changed

src/main/kotlin/com/coder/toolbox/util/CoderProtocolHandler.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ open class CoderProtocolHandler(
5555
return
5656
}
5757

58+
// this switches to the main plugin screen, even
59+
// if last opened provider was not Coder
60+
context.envPageManager.showPluginEnvironmentsPage()
5861
if (shouldWaitForAutoLogin) {
5962
isInitialized.waitForTrue()
6063
}

0 commit comments

Comments
 (0)