-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement sas file system for viya connections #1203
Conversation
96fae54
to
c1ad860
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
9f24d79
to
bc7bcf1
Compare
Just had to rebase for DCO things |
@scottdover, you may want to update doc as appropriate, for example |
Ah, I knew I was forgetting something. Will update :) |
Better error validation for some scenarios: 2.Folder name having some illegal special character like '/' |
Create a .txt file named as NewFile+!@$%^&*.txt, it failed to open it in VSC. However it can be opened successfully in SASStudio. |
25d6a5a
to
92a795c
Compare
Hey @Zhirong2022 . All comments above should now be addressed. @scnwwu, I've updated the changelog and documentation |
Multi-selection files or folders through Shift or Ctrl. Suppose to delete all the highlighted files or folders, it will ask the user to confirm the deletion one by one. |
Create a file with the same name Convert a .sasnb file to .flw file with the same name |
Signed-off-by: Scott Dover <[email protected]>
Signed-off-by: Scott Dover <[email protected]>
Signed-off-by: Scott Dover <[email protected]>
Signed-off-by: Scott Dover <[email protected]>
Signed-off-by: Scott Dover <[email protected]>
df87733
to
4e5c4d8
Compare
Signed-off-by: Scott Dover <[email protected]>
4e5c4d8
to
7115d20
Compare
The following issues have been resolved in 7115d20
NOTE: Now open files under a renamed folder will automatically be closed and re-opened when the folder is renamed
This issue remains unresolved (will be resolved as part of #1271)
Can you try this with SAS content? Can you download via that? I'm guessing you can't. Fwiw, it isn't an issue on Mac, but is an issue on Windows. If it's not an issue specific to this story, I'll look at in a future changeset. But, Windows may be the limiting factor here. |
Signed-off-by: Scott Dover <[email protected]>
684cd09
to
afad7aa
Compare
@Zhirong2022 The rename issues should now be resolved |
Signed-off-by: Scott Dover <[email protected]>
66ec793
to
f93ced3
Compare
Resolved in f93ced3 |
It failed to drag and drop a file to a target file folder named with NewFolder; No such issue with SAS Content.
Error on console for reference: |
Signed-off-by: Scott Dover <[email protected]>
e82ed77
to
d7e2e1b
Compare
This has been resolved in d7e2e1b. In my opinion, this seems like a pretty uncommon use-case (along with some of the other naming issues like having a file named |
All issues have been handled appropriately. Some enhancement like multi-deletion will be tracked in a new issue after the PR gets pushed. |
Summary
This adds sas file system support for viya connections. Notable changes include:
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)NotebookConverter
for connecting to sas studio (instead of re-using content model's connection)Testing
TODOs
matrix.md
with details about sas server