-
Notifications
You must be signed in to change notification settings - Fork 155
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
[full-ci] Refactor copy/move, Bugfix: Inhibit move files between spaces and disable copy/move overwrite on self #7652
Conversation
packages/web-app-files/src/helpers/resource/conflict-handling/conflictDialog.ts
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/helpers/resource/conflict-handling/conflictDialog.ts
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/helpers/resource/conflict-handling/conflictDialog.ts
Outdated
Show resolved
Hide resolved
895be1c
to
dddee65
Compare
db1f7fc
to
67edb8a
Compare
b2795ae
to
7a7891c
Compare
Results for oCISWebdavLockProtection https://drone.owncloud.com/owncloud/web/28796/53/1 |
86323aa
to
45beec3
Compare
In general, I'm not too sure about the Edit: The
The methods |
@JammingBen the idea with the upload.ts was that we have all conflict resolving logic at the same place/same folder. When I refactored this it was all done in CreateAndUpload thats why i tried to extract it. But I can put it in composables if thats the better fit. |
Let's keep it that way for now 🙂 In the future we should refactor all that upload-qutoa-conflict-stuff, because it is spread all over the place. But that's something after GA I suppose. |
packages/web-app-files/src/helpers/resource/conflictHandling/conflictDialog.ts
Outdated
Show resolved
Hide resolved
Refactor ConflictDialog into class, Extract utils in seperate file
packages/web-app-files/src/helpers/resource/actions/transfer.ts
Outdated
Show resolved
Hide resolved
packages/web-app-files/src/helpers/resource/conflictHandling/conflictDialog.ts
Outdated
Show resolved
Hide resolved
packages/web-app-files/tests/unit/helpers/resource/resourcesTransfer.spec.ts
Outdated
Show resolved
Hide resolved
d3f4448
to
3ebcbcc
Compare
SonarCloud Quality Gate failed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Description
See #6892 (comment)
I also took the time to refactor the existing code.
Related Issue
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: