ragna icon indicating copy to clipboard operation
ragna copied to clipboard

Add support to select folders in web UI

Open pmeier opened this issue 2 years ago • 1 comments

If I have all the documents that I have stored in one folder, it would be quite convenient to just select it rather than opening it and selecting all files in it. This should not work recursively, meaning only documents directly in the folder I selected should be used rather than more in potential subfolders.

pmeier avatar Nov 19 '23 12:11 pmeier

@pierrotsmnrd Could you give an estimate on how hard you think this is going to be? Sounds like a fairly basic functionality that should be supported by the JS component that we are using?

pmeier avatar Nov 19 '23 12:11 pmeier

Quoting myself from https://github.com/Quansight/ragna/pull/446#issuecomment-2217778080

[panel has] the same problem that you already encountered

Whether to allow selection of directories instead of files.

SO I guess there is no way to do both? And if so, we need to prioritize file upload over directory upload. If you can confirm this, we can update our issue to low prio, because it would require a custom component with a lot of logic. And I'm not even sure we want to maintain that even if we can get it to work.

@arjxn-py confirmed that there is no way to do both in https://github.com/Quansight/ragna/pull/446#issuecomment-2219933020. Thus, I'm closing this issue now.

pmeier avatar Jul 22 '24 08:07 pmeier