Open dj4oC opened 1 year ago
@AversaFTW Please review
I think this requirement must be done by Sdui, because the messenger handles the uploads via an endpoint. The filepicker only displays all files inside the drive and is not involved in the upload. If I remember correctly, we have access to the whole file list and can check if there is a file with the same name already.
Would you mind if the return value is: "file exists" instead? In that case you can send a message to the user: cancel, replace, version, keep both. and send the request again with the selected option?
Yes, that works.
@tbsbdr @kulmann Please check the test result:
siehe FP-1.08: File-Drop -> wird eine Datei hochgeladen, die den gleichen Namen hat wie eine bereits vorhandene Datei, wird die vorhandene überschrieben, ohne dass eine vorherige Abfrage erfolgt (Ersetzen, Abbrechen, Beide behalten)
The user story can't be fulfilled. Uploads are not handled within the file picker or web embed mode. The client that is performing the uploads is responsible for file naming.
As a user of the Messenger with the integrated ownCloud Infinite Scale File Picker,
I want the File Picker to consistently detect potential file overwrites, provide me options for resolution, and handle naming in line with oCIS defaults,
So that I can confidently upload files without unwanted data loss or confusion and maintain naming uniformity.
Acceptance Criteria:
Proactive File Name Detection:
Clear Conflict Alert:
Comprehensive Resolution Options:
oCIS-consistent Renaming:
Bulk Upload Handling:
Visual Clarity:
Confirmation Feedback:
cc @hodyroff @tbsbdr @JammingBen