feat(ConflictPicker): allow to set overwrite flag#2432
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2432 +/- ##
=======================================
Coverage 43.79% 43.79%
=======================================
Files 15 15
Lines 427 427
Branches 81 81
=======================================
Hits 187 187
Misses 211 211
Partials 29 29 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This is to be set from an app? Do you have an example? |
cb6038e to
baeb407
Compare
Yes it needs to be set in the server "move file" action. Given:
in d/ you select all files and folders and click "move" and select target a/.
But the result is:
Because move overrides the folder. The old behavior was developed for this dialog with uploads in mind which write-into folders. But WebDAV MOVE overrides. |
baeb407 to
b1b8f89
Compare
Some operations like MOVE will not write into folder like the upload, but will just replace one folder with another. Basically handle files and folders the same way. In this case we need to indicate that the whole folder is to-be-replaced. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
b1b8f89 to
ad95491
Compare
Antreesy
left a comment
There was a problem hiding this comment.
Looks fine then for the dialog change
Some operations like MOVE will not write into folder like the upload, but will just replace one folder with another.
Basically handle files and folders the same way.
In this case we need to indicate that the whole folder is to-be-replaced.