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

Enhancing Auto-Upload Functionality: Preventing Redundant Sub-Folder Uploads #14462

Open
alperozturk96 opened this issue Jan 24, 2025 · 2 comments

Comments

@alperozturk96
Copy link
Collaborator

alperozturk96 commented Jan 24, 2025

When users select a directory for auto-upload and then separately select a subdirectory of the same directory for auto-upload, files from the subdirectory are uploaded twice. We can improve the user experience by addressing this scenario:

  1. On the Auto Upload screen, if subdirectories already scheduled for auto-upload, app should not show as selectable options for these subdirectories.

  2. With the release of the new app version, we can implement a database migration to identify and remove unnecessary nested directories from the database

  3. For custom folder setups, the app should display a clear warning when a user selects sub-directories that may result in duplicate file uploads. This will allow users to make informed decisions and avoid unexpected behavior.

@alperozturk96 alperozturk96 changed the title Prevent Already Set Nested AutoUpload Directory Enhancing Auto-Upload Functionality: Preventing Redundant Sub-Folder Uploads Jan 24, 2025
@alperozturk96 alperozturk96 self-assigned this Jan 24, 2025
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 🤖 🍏 Mobile clients team Feb 5, 2025
@tobiasKaminsky tobiasKaminsky moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (max 2 entries / member) in 🤖 🍏 Mobile clients team Feb 7, 2025
@neufeind
Copy link

neufeind commented Feb 8, 2025

Stumbled across this as well. On Android I had previously selected "Camera" for upload, suddenly had filed double-uploaded for "DCIM/Camera" as well. (As well as other subfolders of DCIM).

The app only shows/offers you folders for adding once you have "images" or "videos" (of that certain type) in the folders. Once you selected that folder for upload it will upload those kind of files.

Manually placing a dummy image and video in the "DCIM"-folder (which is above "Camera") allowed to add sync-entries for both images and videos for DCIM - and all subfolders.

After having discovered that both "Camera" and "DCIM/Camera" got uploaded (redundant) I had to remove Camera manually and merge folders on the server to resolve the double-upload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📄 To do (max 2 entries / member)
Development

No branches or pull requests

4 participants