Commit cbdc9bd
committed
Tweak open browser logic
Currently if you launch the Coder plugin from Gateway and it
automatically picks up a token from the config or from your last launch
but it is invalid it will open a browser window for a new token which I
think could be jarring. We should only open a browser window when the
user explicitly wants that by pressing connect for example.1 parent 9eaeb0f commit cbdc9bd
File tree
1 file changed
+3
-5
lines changed- src/main/kotlin/com/coder/gateway/views/steps
1 file changed
+3
-5
lines changedLines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | | - | |
425 | | - | |
| 423 | + | |
426 | 424 | | |
427 | 425 | | |
428 | 426 | | |
| |||
435 | 433 | | |
436 | 434 | | |
437 | 435 | | |
438 | | - | |
| 436 | + | |
439 | 437 | | |
440 | 438 | | |
441 | 439 | | |
| |||
471 | 469 | | |
472 | 470 | | |
473 | 471 | | |
474 | | - | |
| 472 | + | |
475 | 473 | | |
476 | 474 | | |
477 | 475 | | |
| |||
0 commit comments