-
Notifications
You must be signed in to change notification settings - Fork 1.3k
#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading #3696
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
Conversation
…when uploading - fix imageview rendering code
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.
Could you please add tests to make sure this change works as expected?
Even if this were passing the tests I don't think it is ready yet, I realised I had forgot to retrieve the selected depictions and insert them at top of the list and the images began to load a bit weirdly, will investigate further |
…when uploading - show selected depictions at the top - ensure updates to nearby places are reflected
…when uploading - don't set imageUrl when the url is none
…when uploading - rewrite unit tests
Codecov Report
@@ Coverage Diff @@
## master #3696 +/- ##
===========================================
+ Coverage 7.35% 7.42% +0.06%
- Complexity 335 340 +5
===========================================
Files 292 292
Lines 12883 12874 -9
Branches 1016 1014 -2
===========================================
+ Hits 948 956 +8
+ Misses 11858 11842 -16
+ Partials 77 76 -1
Continue to review full report at Codecov.
|
…when uploading - minor cleanup
…when uploading - fix erroneous cache access
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, it fixes the bug, thanks! :-)
I can't manually test this PR because I experience this bug #3706 and can not go further steps:/ How do you test? |
@neslihanturan turn do not keep activities off |
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.
Works and improves my user experience a lot, thanks @macgills !
…ions" step when uploading (commons-app#3696) * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - fix imageview rendering code * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - show selected depictions at the top - ensure updates to nearby places are reflected * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - don't set imageUrl when the url is none * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - rewrite unit tests * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - minor cleanup * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - fix erroneous cache access
…ions" step when uploading (commons-app#3696) * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - fix imageview rendering code * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - show selected depictions at the top - ensure updates to nearby places are reflected * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - don't set imageUrl when the url is none * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - rewrite unit tests * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - minor cleanup * commons-app#3601 [structured-commons] Wrong thumbnails at the "depictions" step when uploading - fix erroneous cache access
Description (required)
Fixes #3601
What changes did you make and why?
fix imageview rendering code
Rework Rx flow to return lists of data that are inserted into LiveData
Tests performed (required)
TestedProdDebug on Nexus5x with API level 27
Screenshots (for UI changes only)
Need help? See https://support.google.com/android/answer/9075928
