Skip to content

Conversation

@tobiasKaminsky
Copy link
Member

@tobiasKaminsky tobiasKaminsky commented Aug 26, 2020

Fix #6795

removed outdated search enums
changed photos -> media/gallery

Signed-off-by: tobiasKaminsky tobias@kaminsky.me

Testing

Writing tests is very important. Please try to write some tests for your PR.
If you need help, please do not hesitate to ask in this PR for help.

unit tests
instrumented tests
UI tests

  • Tests written, or not not needed

@jakobroehrl
Copy link

This should fix #1269, too

@jakobroehrl
Copy link

@tobiasKaminsky
Tested this version and I see the media section. But there are only videos shown, no photos.
Could you show videos and photos in the media section?

@tobiasKaminsky
Copy link
Member Author

But there are only videos shown, no photos.

🙈🙈🙈 This should not be the case…

@jakobroehrl
Copy link

Tested on try.nextcloud.com there it's working. So it seams to be a problem on my side.
I think we could merge and do some beta tests.
What do you think?

Copy link
Collaborator

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/main/java/com/owncloud/android/ui/asynctasks/GallerySearchTask.java  10
- src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java  6
         

See the complete overview on Codacy

@nextcloud-android-bot
Copy link
Collaborator

@jakobroehrl
Copy link

It's working.
But I see older pics. Mybe it's only on my setup.
How should it be sorted?

@nextcloud-android-bot
Copy link
Collaborator

@AndyXheli
Copy link

was doing some testing and this seems to work a lot better with loading the media and photos. Looks like this might fix #7182

@AndyXheli
Copy link

only thing i noticed was when view the photos from the folders they load correctly. If you go under the media tab they dont load in the correct order maybe add an option to sort by and it only load 133 photos and then it dosent update

@AndyScherzinger AndyScherzinger changed the title Photos -> Media Photos -> Media/Gallery Nov 5, 2020
changed photos -> media

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@nextcloud-android-bot
Copy link
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/6820.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@nextcloud-android-bot
Copy link
Collaborator

@nextcloud-android-bot
Copy link
Collaborator

@nextcloud-android-bot
Copy link
Collaborator

Codacy

Lint

TypemasterPR
Warnings334334
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings53
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings72
Security Warnings41
Dodgy code Warnings102
Total313

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings53
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings72
Security Warnings41
Dodgy code Warnings102
Total313

@nextcloud-android-bot
Copy link
Collaborator

@nextcloud-android-bot
Copy link
Collaborator

@AndyScherzinger AndyScherzinger merged commit 47f9dff into master Nov 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the media branch November 5, 2020 21:37
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.15.0 milestone Nov 5, 2020
@AndyXheli
Copy link

@tobiasKaminsky when clicking the media tab it only populates 134 photos and they are not categorize properly

@AndyScherzinger
Copy link
Member

@axheli does it load the next bunch of files when you scroll to the bottom and can you elaborate what you want by categorization? (we just show whatever the server returns)

@AndyXheli
Copy link

@AndyScherzinger it will not load more when I go to the bottom it only loads 134 and under the media tab there's no option to categorize by date etc under the file tab ive already seclcted by newest first

@AndyScherzinger
Copy link
Member

@axheli Thanks for the info. Could you maybe open a new issue referencing this PR? That would be great ❤️

@AndyXheli
Copy link

@AndyScherzinger You're Welcome! just created the ticket ❤️

thelittlefireman pushed a commit to thelittlefireman/android that referenced this pull request Mar 19, 2021
Photos -> Media/Gallery
Signed-off-by: thelittlefireman <thelittlefireman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show videos in Photos View Merge Videos & Photos into Gallery

6 participants