Commit 74d93ad
authored
feat: implement sas file system for viya connections (#1203)
**Summary**
This adds sas file system support for viya connections. Notable changes include:
- Introducing a `canRecycleResource` function to sas content adapter. This allows us to make a determination about whether or not we should show a dialog for deleted files. Since SAS file system doesn't support recycle bin, we show the deletion message every time a file is deleted (since it's a permanent deletion)
- Creates a distinct connection for `NotebookConverter` for connecting to sas studio (instead of re-using content model's connection)
- Favorites are not implemented in this pull request and will be implemented in a future PR
**Testing**
- [x] File/folder creation
- [x] Create file/folder w/ context menu
- [x] Create file/folder by upload
- [x] Create file/folder by drag & drop (create multiple files)
- [x] File/folder deletion
- [x] Test file deletion with context menu
- [x] Test multi-file deletion with context menu
- [x] File/folder updates
- [x] Test updating file/folder name
- [x] Test updating file contents
- [x] Test moving file/folder (multiple files/folders)
- [x] Test downloading files/folders
- [x] Make sure refresh works as expected
- [x] Make sure connections are automatically refreshed after they become stale
- [x] Make sure a sas notebook file can be converted to a flow (test with sas content as well)
- [x] Make sure we're displaying all files/folders for sas server and that items are sorted by type (directories before files), then alphabetically
- [x] Make sure we can collapse all folders
**TODOs**
- [x] Update CHANGELOG
- [x] Update `matrix.md` with details about sas server1 parent 076a436 commit 74d93ad
File tree
40 files changed
+1181
-163
lines changed- client
- src
- connection/rest
- node
- icons
- dark
- light
- l10n
- website/docs
- Features
40 files changed
+1181
-163
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
Lines changed: 120 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
71 | | - | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| |||
114 | 119 | | |
115 | 120 | | |
116 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
117 | 126 | | |
118 | 127 | | |
119 | 128 | | |
| |||
278 | 287 | | |
279 | 288 | | |
280 | 289 | | |
281 | | - | |
| 290 | + | |
| 291 | + | |
282 | 292 | | |
283 | 293 | | |
284 | 294 | | |
285 | 295 | | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
291 | 316 | | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
292 | 320 | | |
293 | 321 | | |
294 | | - | |
| 322 | + | |
295 | 323 | | |
296 | | - | |
297 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
298 | 352 | | |
299 | 353 | | |
300 | 354 | | |
| |||
314 | 368 | | |
315 | 369 | | |
316 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
317 | 375 | | |
318 | 376 | | |
319 | 377 | | |
| |||
495 | 553 | | |
496 | 554 | | |
497 | 555 | | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
498 | 577 | | |
499 | 578 | | |
500 | 579 | | |
501 | 580 | | |
502 | 581 | | |
503 | 582 | | |
504 | | - | |
| 583 | + | |
505 | 584 | | |
506 | 585 | | |
507 | 586 | | |
| |||
511 | 590 | | |
512 | 591 | | |
513 | 592 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
| 593 | + | |
518 | 594 | | |
519 | 595 | | |
520 | 596 | | |
| |||
637 | 713 | | |
638 | 714 | | |
639 | 715 | | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
640 | 722 | | |
641 | 723 | | |
642 | 724 | | |
| |||
647 | 729 | | |
648 | 730 | | |
649 | 731 | | |
| 732 | + | |
650 | 733 | | |
651 | 734 | | |
652 | 735 | | |
| |||
661 | 744 | | |
662 | 745 | | |
663 | 746 | | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
675 | 766 | | |
| 767 | + | |
676 | 768 | | |
677 | 769 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | | - | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
93 | 135 | | |
94 | 136 | | |
95 | 137 | | |
| |||
127 | 169 | | |
128 | 170 | | |
129 | 171 | | |
130 | | - | |
| 172 | + | |
131 | 173 | | |
132 | 174 | | |
133 | 175 | | |
| |||
139 | 181 | | |
140 | 182 | | |
141 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
142 | 193 | | |
143 | | - | |
| 194 | + | |
144 | 195 | | |
145 | 196 | | |
146 | 197 | | |
147 | | - | |
| 198 | + | |
148 | 199 | | |
149 | 200 | | |
0 commit comments