Commit e736b8e
authored
LiveShare Functionality (#626)
* Liveshare Functionality
Implements session watcher features for LiveShare guests
* Update package-lock.json
* Review changes (1)
- isLiveShare now relies on liveSession instead of a new vsls.getApi() call
-- Many functions are now synchronous as a result
- Various tooltip changes to clarify 'forward guest commands'
- Clean up helper bool functions
* Move files to liveshare folder
As per #641, liveshare files are moved to a /liveshare/ folder, and the "r" prefix has been removed from their name
* Review changes (2)
- Liveshare API handling
-- Abort on timeout
-- Retry button
- Guest & host workspace always in sync
- Guests no longer create files, instead relying on webview + virtual docs
- Fix bug with webviews returning object instead of string
* Resolve upstream changes (#2)
* Share httpgd session with guest
- Httpgd sessions are shared with guests through vsls shareBrowser functionality
- Resolve some conflicts from upstream merge
* Fix merge error + refresh tree
- Remove duplicate function declaration
- Refresh liveshare tree on retry api
* Review changes (3)
- Use liveShare.defaults as per #620
- Change overuse of brackets
* Better integrate httpgd
- The shared httpgd is now opened/reopened even if closed
- Shared httpgd is now shared even if started before liveshare
- Minor bug fixes
* *Better* integrate httpgd
- Instead of doing a workaround browser solution, use the native httpgd webview
* Minor changes
- Change timeout default: 3000 => 10000
- Remove leftover information message
- Fix accidental merge overwrite
* Fix guest httpgd eagerness
- notifyGuestPlotManager is now called less often, preventing it from taking focus unexpectedly
* Minor changes
- .UUID -> uuid
- Shorten commandNode label
* Review changes (4)
- request() to liveShareRequest()
- onRequest() to liveShareOnRequest()
- use index design pattern
- remove global shareurl
- remove badge from README
* Lint + misc change
- Appease the linter gods1 parent 309cbe6 commit e736b8e
File tree
17 files changed
+1422
-248
lines changed- R
- src
- helpViewer
- plotViewer
17 files changed
+1422
-248
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
258 | 272 | | |
259 | 273 | | |
260 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
92 | 100 | | |
93 | 101 | | |
94 | 102 | | |
| |||
100 | 108 | | |
101 | 109 | | |
102 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
103 | 121 | | |
104 | 122 | | |
105 | 123 | | |
| |||
615 | 633 | | |
616 | 634 | | |
617 | 635 | | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
618 | 645 | | |
619 | 646 | | |
620 | 647 | | |
| |||
976 | 1003 | | |
977 | 1004 | | |
978 | 1005 | | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
979 | 1010 | | |
980 | 1011 | | |
981 | 1012 | | |
982 | 1013 | | |
983 | 1014 | | |
984 | 1015 | | |
985 | | - | |
| 1016 | + | |
986 | 1017 | | |
987 | 1018 | | |
988 | 1019 | | |
989 | 1020 | | |
990 | | - | |
| 1021 | + | |
991 | 1022 | | |
992 | 1023 | | |
993 | 1024 | | |
| |||
1003 | 1034 | | |
1004 | 1035 | | |
1005 | 1036 | | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1006 | 1042 | | |
1007 | 1043 | | |
1008 | 1044 | | |
| |||
1144 | 1180 | | |
1145 | 1181 | | |
1146 | 1182 | | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
1147 | 1203 | | |
1148 | 1204 | | |
1149 | 1205 | | |
| |||
1250 | 1306 | | |
1251 | 1307 | | |
1252 | 1308 | | |
| 1309 | + | |
1253 | 1310 | | |
1254 | 1311 | | |
1255 | 1312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
| |||
91 | 96 | | |
92 | 97 | | |
93 | 98 | | |
94 | | - | |
95 | | - | |
| 99 | + | |
| 100 | + | |
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
102 | | - | |
| 107 | + | |
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
| |||
142 | 147 | | |
143 | 148 | | |
144 | 149 | | |
| 150 | + | |
| 151 | + | |
145 | 152 | | |
146 | 153 | | |
147 | 154 | | |
| |||
165 | 172 | | |
166 | 173 | | |
167 | 174 | | |
168 | | - | |
169 | 175 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
182 | 190 | | |
183 | 191 | | |
184 | 192 | | |
| |||
199 | 207 | | |
200 | 208 | | |
201 | 209 | | |
| 210 | + | |
202 | 211 | | |
203 | 212 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
444 | 446 | | |
445 | 447 | | |
446 | 448 | | |
| |||
0 commit comments