-
Notifications
You must be signed in to change notification settings - Fork 18
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
Properly reserve dataset when putting datasource (addRemote) #7221
Conversation
@philippotto thanks! This works well when hitting the add button while navigated to a folder. However, in the upload view, there is a dropdown for specifying the folder. This is missing in the add remote view. Do you think this can be unified? I think having the menu (or at least a note saying where the dataset will go) would be good for the usability. |
Maybe I'm missing something, but the add-remote-view has the dropdown you want. However, it only appears after one has explored the first URI. I can see why showing it earlier might make sense, but due to the current explore-configure flow, the UI appears later. Changing that would take some effort which isn't worth it in my opinion. |
I see, thanks! I missed it 🙈 Yes, let’s keep it like that for now, then :) |
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.
Very efficient! Closing 3 issues with one PR
Datastore now calls
reserveDataSourceUpload
when adding a datasource. This sets both uploader and folderId properly, as well as performs the correct write access checks.(Note that this is a subset of #7176 as I expect that to be blocked for a while, but we should fix this bug. I copied the changes to the two backend source files from that PR)
Steps to test:
TODOs:
Issues: