Skip to content

Commit facce0a

Browse files
committed
Fix: connection handle window is left open
- window is left open Jetbrains Client is closed - we don't actually need the window because we don't have to display anything. The workspaces are already started so no progress is needed, and we don't have any other telemetry data to show. - the fix just removes the connection window - resolves #105
1 parent 55b5b11 commit facce0a

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,30 @@
55
## Unreleased
66

77
### Added
8+
89
- warning system when plugin might not be compatible with Coder REST API
910
- a `Create workspace` button which links to Coder's templates page
1011
- workspace icons
1112
- quick toolbar action to open Coder Dashboard in the browser
1213

1314
### Changed
15+
1416
- redesigned the information&warning banner. Messages can now include hyperlinks
1517

18+
### Removed
19+
20+
- connection handle window is no longer displayed
21+
1622
### Fixed
23+
1724
- outdated Coder CLI binaries are cleaned up
1825
- workspace status color style: running workspaces are green, failed ones should be red, everything else is gray
1926
- typos in plugin description
2027

2128
## 2.1.2 - 2022-11-23
2229

2330
### Added
31+
2432
- upgraded support for the latest Coder REST API
2533
- support for latest Gateway 2022.2.x builds
2634

src/main/kotlin/com/coder/gateway/CoderGatewayConnectionProvider.kt

-10
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,6 @@ class CoderGatewayConnectionProvider : GatewayConnectionProvider {
8989
}
9090

9191
recentConnectionsService.addRecentConnection(RecentWorkspaceConnection(coderWorkspaceHostname, projectPath, localTimeFormatter.format(LocalDateTime.now()), ideProductCode, ideBuildNumber, ideDownloadLink, webTerminalLink))
92-
93-
return object : GatewayConnectionHandle(clientLifetime) {
94-
override fun getTitle(): String {
95-
return "Connection to Coder Workspaces"
96-
}
97-
98-
override fun hideToTrayOnStart(): Boolean {
99-
return false
100-
}
101-
}
10292
}
10393
return null
10494
}

0 commit comments

Comments
 (0)