-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[FEATURE REQUEST] Copy/move conflict solved by users #4062
[FEATURE REQUEST] Copy/move conflict solved by users #4062
Conversation
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.
Good job @manuelplazaspalacio! Some comments here 🚀
Also, don't forget to add your name in the @author
tag of every class you modify in their header 😉
owncloudApp/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
Outdated
Show resolved
Hide resolved
...in/java/com/owncloud/android/data/files/datasources/implementation/OCRemoteFileDataSource.kt
Show resolved
Hide resolved
owncloudDomain/src/main/java/com/owncloud/android/domain/files/FileRepository.kt
Outdated
Show resolved
Hide resolved
owncloudDomain/src/main/java/com/owncloud/android/domain/files/FileRepository.kt
Show resolved
Hide resolved
owncloudDomain/src/main/java/com/owncloud/android/domain/files/usecases/CopyFileUseCase.kt
Show resolved
Hide resolved
owncloudDomain/src/test/java/com/owncloud/android/domain/files/usecases/CopyFileUseCaseTest.kt
Outdated
Show resolved
Hide resolved
owncloudDomain/src/test/java/com/owncloud/android/domain/files/usecases/MoveFileUseCaseTest.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt
Outdated
Show resolved
Hide resolved
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.
Second review round here @manuelplazaspalacio! Check the new comment I added and please, check the comments you didn't reply in the previous review round (the ones that are not resolved yet)
owncloudDomain/src/main/java/com/owncloud/android/domain/files/FileRepository.kt
Outdated
Show resolved
Hide resolved
93eb0e3
to
b071504
Compare
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.
LGTM! Let's move this forward! 🥇 @manuelplazaspalacio
(2) [FIXED]
Current: only one item is copied with Expected: all conflicting files solved with Video: device-2023-06-14-111829.mp4NOTE: Same behaviour if in step 4. you choose Pixel2, Android11 |
(3) [improvement] [wont do here]Check this scenario out:
User must fix all of them one by one. It's usual that in that case all conflicts will be fixed with the same option. How feasible/posible is adding a checkbox to the dialog called |
Note for myself: After this is done, we should create another issue to keep same behaviour in uploads. Now, when new item is uploaded and a name conflict happens, file is duplicated with |
Solving errors when copying, replace and keep both.
- Solving bugs copying/moving conflict when doing with two or more files.
d17f593
to
1dab1b2
Compare
Approved on my side. Great job! |
Related Issues
App: #3959
Library PR (if needed): owncloud/android-library#571
QA
Test Plan: https://github.com/owncloud/QA/blob/master/Mobile/Android/Release_4.1/Conflicts%20while%20copy.md
Reports and improvements:
Apply to all
option [FEATURE REQUEST] Copy/move conflict solved by users #4062 (comment) [WONT DO HERE]