File tree 1 file changed +0
-15
lines changed
src/main/kotlin/com/coder/toolbox
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -125,23 +125,8 @@ class CoderRemoteEnvironment(
125
125
}
126
126
}
127
127
128
- /* *
129
- * Immediately send the state to the listener and store for updates.
130
- */
131
- // override fun addStateListener(consumer: EnvironmentStateConsumer): Boolean {
132
- // // TODO@JB: It would be ideal if we could have the workspace state and
133
- // // the connected state listed separately, since right now the
134
- // // connected state can mask the workspace state.
135
- // // TODO@JB: You can still press connect if the environment is
136
- // // unreachable. Is that expected?
137
- // consumer.consume(status.toRemoteEnvironmentState(serviceLocator))
138
- // return super.addStateListener(consumer)
139
- // }
140
-
141
128
override fun onDelete () {
142
129
context.cs.launch {
143
- // TODO info and cancel pop-ups only appear on the main page where all environments are listed.
144
- // However, #showSnackbar works on other pages. Until JetBrains fixes this issue we are going to use the snackbar
145
130
val shouldDelete = if (wsRawStatus.canStop()) {
146
131
context.ui.showOkCancelPopup(
147
132
context.i18n.ptrl(" Delete running workspace?" ),
You can’t perform that action at this time.
0 commit comments