android
android copied to clipboard
Default auto upload folder modification
The default folder location for all instant upload (which as a separate issue should probably be renamed to auto upload for fresh installs perhaps? Consistency... ) Is instant upload. My server doesn't use that so for every of the 15 auto upload folders I have to manually tap and change it. Would be good to set the global auto upload directory.
I am a beginner. Can i work on this ? Please elaborate a bit on the issue and also which file/package will need to be modified. Thank you.
This may be worth waiting until 2.0 is released, but @AndyScherzinger or @tobiasKaminsky can help
I don't understand. The issue was opened to wait for version 2.0 release and then see if the issue still existed ? Is the issue not open for people to work on. I am a newbie please guide.
@Kartik2016 of course you can work on it, sure. To be discussed is the solution itself though in my opinion since I didn't yet fully understand what should be changed how exactly, as in:
- one, single folder where all auto uploads should go to?
- one, single folder where all sub folders per auto upload folder should go to?
- just the name of the folder? (then laying on the top folder)
- any folder to be picked with the remote folder picker? (then it could be any folder)
also pinging @nextcloud/designers since this impacts the UX/complexity of the app
Issue to solve is when to actually change it, like @jasonbayton mentioned for fresh installs, on updates too? This leads to the issue that if someone has several clients it might break between clients. Other downside for users who are used to this feature and location installing the app on a new phone would expect the app to use "the old/known" location so there would be a not mentioned change of file location.
So to make it short, there is in general never a blocker for working on any issue @Kartik2016 but it is safer to usually discuss an issue until people agree on a solution which is when the issue will be labelled "approved". Else the risk is that it won't get merged later.
Sorry for all the trouble :/
@Kartik2016 other than that @tobiasKaminsky @mario and I are/will always be happy to help/assist with any matter regarding finding the right places in the code base 😃👍
Thank you for the insight. I now fully understand the concern and now i know that issues need to be discussed here first. Thanks a lot.
@AndyScherzinger Aaah new avatar, nice! :D
Not sure I fully understand, but it seems:
- Generally check if a folder "Auto upload" or "Instant upload" (or whichever spelling we used) already exists on the server root - then use that.
- On new installs, use the new folder name
Definitely should not be a setting.
Disregard the renaming of instantupload as that's a whole rabbit hole issue.
This is just giving users a convenience tool:
The NC app sets the InstantUpload folder as default when I install fresh, then for every consecutive folder I choose to upload it sets it again back to default, so I have to change it.
If my 15 media folder uploads should go to Multimedia > Nexus > Uploads instead of InstantUpload, that means I've needed to change it 15 times, for the 15 folders on which I'm enabling auto upload on the Auto Upload page. That's pretty awful.
If there were a setting that allowed me to change my default upload folder, like there is on iOS, every time I add a new folder for upload it would have already selected the default path for me and I wouldn't need to go into the picker to find the folder I need. 15 times.
Hardcoding InstantUpload was fine in the app's previous life. Now you're giving users the option to add any media folder but forcing them to either succumb to what NC devs think should be the default folder, or going through the arduous process of changing it on every one, every time the app is installed on a device.
Maybe there could be just additinal option eg. "default auto upload path", so one could just set it for all apps and folders or set them individually. Changing each app individually to another folder is just too tedious, even for just one server. Now imagine that someone uses sync to two or more different servers.
This could also be done with translation. In Swedish it's called AutomatiskUppladdning (AutomaticUpload) - something I implemented some years ago.
The only downside is that some may have a folder structure based on the name, so when it changes, it also changes that structure - that might be intrusive.
Soooo... Is this something that's being considered? Definitely a feature that'd save me tons of time since I'm also doing it 15 times for 10 users.
Related: #9163
Well, it's pretty annoying to configure each folder individualy for each device on Android. I also tried to configure the internal storage as the upload folder, but it doesn't pick up the subfolders.
I suggest letting us change the default auto-upload directory, then let us select the folders we want to upload. Maybe a "upload subfolders" option too.
Simple solution and the best functionality.
This is especially troublesome when needing to re-install the nextcloud app. All the upload folders seem to be changed back to the default "Instant Upload" location.