-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Albums functionality #14947
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
base: master
Are you sure you want to change the base?
Albums functionality #14947
Conversation
a42a89f to
237cbfa
Compare
|
Hi, @alperozturk96 there is one issue which I couldn't able to fix it. When we open Album images in preview then they don't open in proper order. Because while swiping the images which are not in current Album also shows up. |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
f242064 to
60a23de
Compare
7ad15b8 to
dc27bf9
Compare
dc27bf9 to
e97e300
Compare
alperozturk96
left a comment
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.
Hello
Thank you for the PR.
app/src/main/java/com/nextcloud/client/jobs/upload/AlbumFileUploadWorker.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nextcloud/client/jobs/upload/AlbumFileUploadWorker.kt
Show resolved
Hide resolved
| /** 1. check copy validity */ | ||
| val result: RemoteOperationResult<Any> | ||
|
|
||
| if (targetParentPath.startsWith(srcPath)) { |
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.
srcPath = "/Photos/Vacation"
targetParentPath = "/Photos/Vacation2025"
In this case first if check will be true and we will block valid copy operation.
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.
Tested this with same path and works. This will not fail or block the operation because in our case targetParentPath will be album name "Vacation2025" not the full path.
Internally we are appending /albums/{targetParentPath} : https://github.com/nextcloud/android-library/pull/1736/changes#diff-1c2582f40935505ddfd39bbb11242f8bcb944bf801a70800533f8aa9907ab610R56
app/src/main/java/com/owncloud/android/ui/activity/AlbumsPickerActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/owncloud/android/ui/activity/AlbumsPickerActivity.kt
Show resolved
Hide resolved
app/src/main/java/com/owncloud/android/ui/activity/AlbumsPickerActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/owncloud/android/ui/activity/AlbumsPickerActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/owncloud/android/ui/fragment/albums/AlbumItemsFragment.kt
Outdated
Show resolved
Hide resolved
Signed-off-by: A117870935 <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
Signed-off-by: A117870935 <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
Signed-off-by: Surinder Kumar <surinder.kumar@t-systems.com>
f48f498 to
a2639b6
Compare
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14947.apk |

This PR contains the new Albums Functionality.
Library PR: nextcloud/android-library#1736