Skip to content
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

Hybrid picker returning both file and parent folder handles #386

Open
jan-tosovsky-cz opened this issue Sep 15, 2022 · 0 comments
Open

Hybrid picker returning both file and parent folder handles #386

jan-tosovsky-cz opened this issue Sep 15, 2022 · 0 comments

Comments

@jan-tosovsky-cz
Copy link

I need to upload the entire folder to the remote server, but also specify the path to the main file (used as a starting point in further processing). Imagine the folder with multiple documents sharing the same resources stored in subfolders.

Now I use a desktop app: once one of the documents in the folder is selected, the parent folder can be determined easily (as there are no security restrictions) so I have it all in one step.

To avoid degrading the user experience I haven't migrated to the web app yet. Currently, it would not only require two steps, but also a more complex UI. After picking the folder all the files in the root folder would have to be listed, complemented with e.g. radio buttons, and the desired one then selected. In some projects there are tens of files so picking the correct one can be challenging.

So my proposal is to offer some kind of hybrid picker, the same as a File picker, but returning not only the File handle but also the Parent folder handle. To let users know, there could be some warning message in such a picker dialog that parent folder info will be passed together with the selected file. Handles would be returned as an array with two items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant