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

Add the ability to relocate/move files in a hub #484

Open
TheTacoScott opened this issue Jul 21, 2020 · 7 comments
Open

Add the ability to relocate/move files in a hub #484

TheTacoScott opened this issue Jul 21, 2020 · 7 comments
Labels
discussion Thoughts and ideas
Milestone

Comments

@TheTacoScott
Copy link

Seems like it could be an extension of the rename modal, or a new "relocate/move" file modal.

@whyboris
Copy link
Owner

whyboris commented Jul 21, 2020

I suspect some users would like this ability, but creating the UI for it would be challenging.

Making a modal like the "rename" modal could work, but may be tedious if the user wants to move many files. I am open to using the "select many" feature (like with batch tagging); we would just need to figure out an elegant visual solution to selecting the destination folder for moving files.

I wouldn't want the moving to ever be accidental, so I'd recommend a "move" mode -- much like the "batch tagging" mode. One option would be to have some sort of a drawer on the left-hand side with the list of all the folders so you could drop the files there.

This will become a little more intricate with VHA 3 which will allow more than one source folder (so some videos could come from an external hard drive, another from local hard drive, and third from network hard drive). It would probably be safest to not let users move files across the sources.

I never indented for my app to let users move videos around, but it looks like there's a demand for it.

I'm open to a discussion 🙆‍♂️

@whyboris whyboris added the discussion Thoughts and ideas label Jul 21, 2020
@TheTacoScott
Copy link
Author

I think you can largely punt on the dialog consideration if you use electrons native dialog functionality.

https://www.electronjs.org/docs/api/dialog

@whyboris
Copy link
Owner

That's an interesting idea, but as far as I can tell it will be rather tedious to use the OS-based navigation, especially that it would allow users to move videos outside where their hub is based 🤔

My thinking is the most-intuitive approach is drag & drop -- hence the idea of a sidebar with all the folders present in the current hub 🤔 open to suggestions of course 👂

@TheTacoScott
Copy link
Author

Drag and drop would certainly be nice, but OS based "folder select" style file moving doesn't, in and of itself, allow moving of files outside the hub.

Suppose you use dialog.showOpenDialogSync().

That function returns the file path chosen by the user. The moving of the file itself can still have sanity checks that prevent moving outside of hub if that's a restriction you want.

@whyboris
Copy link
Owner

I may be misunderstanding what the OS based "folder select" you mean. I understood it to be the familiar OS dialog that you get, the same one as when you initially select "input folder" when creating a hub.

Is this what you mean?

The problem I see with this dialog box is that it is tedious and cumbersome - requiring a lot of clicks 😓

@whyboris
Copy link
Owner

I'm liking the idea of letting users move videos more and more - as I think about it.

Of course this would be a large-ish undertaking and I'm unsure if there's a nice way to break up the work across people, so I'll likely do at least most of it.

This would be after 3.0.0 is released ... I'm not promising anything, but I'll give it a go 🤔

@whyboris whyboris added this to the Ideas milestone Aug 15, 2020
@whyboris
Copy link
Owner

Related #627

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

No branches or pull requests

2 participants