You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
We already have issues here about both "moving (and thereby copying) item into its own folder" and "having a nice dialogue when uploading/renaming resources to an existing name". I'll link them later, perhaps we can try to tackle both within one of the next sprints!
Silent merge (--> automatic): Folders with the same name should silently "merge". With merge I mean: create versions for conflicting files, if this is not possible, ask how to proceed with conflicting files. New files or subfolders should be added (=merged) to the inserted folder.
file conflicts (--> ask): If its not possible to create a new version for a file, the user must decide if the existing file should be replaced.
I dont think we need to show a confirmation dialog for merging, as long as this is no destructive (= i.e. deleting files via a "replace" operation) operation
Ho do file explorers behave in case of "Folder already exists"
I would not assume a "learned" behavior or any kind of common sense, because the platforms handle the situation differently:
User gets asked what to do in case of conflicting resources, as there is no common pattern across different services/platforms (OneDrive, Google Drive, Box, Windows, Mac, etc. - all different).
Note This dialog concept is also meant to be applied to #1753
Dialogs
Behaviour
Replace will replace the existing file (and creates a new version implicitly).
Keep both will create a new resource with an appended number "(xx)" - counting up, if ex. (2) already exists.
Cancel will skip the current resource, if applicable shows the next conflict.
Merge will combine folders with the same name; if they contain conflicting files, user gets asked what to do (dialog for files shows up).
Do this for all XX conflicts will apply the selected option to all XX upcoming conflicts. Is only shown, if there are at least 2 conflicts.
Activity
kulmann commentedon Sep 1, 2021
Nice idea!
@tbsbdr what do you think? Just appending a
(1)or asking the user to make a choice (replace, copy, cancel)?ChrisEdS commentedon Sep 1, 2021
Thanks for opening. I'm stumbled upon that behaviour just today as well. :)
I'd vote for an option to choice a new name.
pascalwengerter commentedon Sep 1, 2021
We already have issues here about both "moving (and thereby copying) item into its own folder" and "having a nice dialogue when uploading/renaming resources to an existing name". I'll link them later, perhaps we can try to tackle both within one of the next sprints!
tbsbdr commentedon Sep 1, 2021
yep, absolutely, needs to be optimized.
I would propose the following:
I dont think we need to show a confirmation dialog for merging, as long as this is no destructive (= i.e. deleting files via a "replace" operation) operation
Ho do file explorers behave in case of "Folder already exists"
I would not assume a "learned" behavior or any kind of common sense, because the platforms handle the situation differently:
Dropbox
Box
oc Web UI
onedrive (folder already exists)
onedrive (file already exists)
Google Drive
Google drive (automatic versioning)
MacOS Finder
Windows File Explorer
pascalwengerter commentedon Sep 2, 2021
Old PR on copy/move to same location: #3847 (needs a proper rebase and quite some refactoring but good input I suppose)
Old tickets on this:
tbsbdr commentedon May 17, 2022
General rule
User gets asked what to do in case of conflicting resources, as there is no common pattern across different services/platforms (OneDrive, Google Drive, Box, Windows, Mac, etc. - all different).
Note This dialog concept is also meant to be applied to #1753
Dialogs
Behaviour
Userflows
lookacat commentedon May 17, 2022
The logic for copy or moving seems to be spread and different in some parts, will try to get it unified first so we don't have code duplication.
labkode commentedon May 17, 2022

@tbsbdr if you choose "Merge", what happens when the files in the folder will also conflict? Will the user get another dialog?tbsbdr commentedon May 17, 2022
@labkode correct, see Nr. 4
tbsbdr commentedon May 17, 2022
closing in favour of more actionable ticket: #6996