- Notifications
You must be signed in to change notification settings - Fork16
Commit547fdea
authored
[toolbox] Add workspace actions (#486)
You can now start, stop, and update workspaces. Since you can startworkspaces yourself now, I marked non-ready states as unreachable, whichprevents JetBrains from overriding with their own text ("disconnected"and "connected"). So now you will be able to see "stopped", "starting",and so on. For the ready states you will still see "disconnected" or"connected" unfortunately. Ideally this would be a completely separatestate displayed next to the workspace state.1 parentc0db226 commit547fdea
File tree
6 files changed
+61
-10
lines changed- src
- main/kotlin/com/coder/gateway
- models
- sdk/v2/models
- views
- test/kotlin/com/coder/gateway/sdk
6 files changed
+61
-10
lines changedLines changed: 52 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
| 8 | + | |
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
| 15 | + | |
13 | 16 |
| |
14 | 17 |
| |
15 | 18 |
| |
| |||
19 | 22 |
| |
20 | 23 |
| |
21 | 24 |
| |
22 |
| - | |
23 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 |
| |
25 | 29 |
| |
26 | 30 |
| |
27 | 31 |
| |
28 | 32 |
| |
29 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
30 | 73 |
| |
31 | 74 |
| |
32 | 75 |
| |
33 | 76 |
| |
| 77 | + | |
| 78 | + | |
34 | 79 |
| |
35 | 80 |
| |
36 | 81 |
| |
| |||
58 | 103 |
| |
59 | 104 |
| |
60 | 105 |
| |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
61 | 111 |
| |
62 | 112 |
| |
63 | 113 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
| 100 | + | |
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
|
Lines changed: 3 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
| 55 | + | |
| 56 | + | |
60 | 57 |
| |
61 | 58 |
| |
62 | 59 |
| |
| |||
67 | 64 |
| |
68 | 65 |
| |
69 | 66 |
| |
70 |
| - | |
| 67 | + | |
71 | 68 |
| |
72 | 69 |
| |
73 | 70 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
21 | 22 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 |
| - | |
| 119 | + | |
| 120 | + | |
120 | 121 |
| |
121 | 122 |
| |
122 | 123 |
| |
123 | 124 |
| |
| 125 | + | |
124 | 126 |
| |
125 | 127 |
| |
126 | 128 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| 56 | + | |
56 | 57 |
| |
57 | 58 |
| |
58 | 59 |
| |
|
0 commit comments
Comments
(0)