-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: show the proper message in the custom picker when all images are either uploaded or marked. #6095
feat: show the proper message in the custom picker when all images are either uploaded or marked. #6095
Conversation
…ave been either uploaded or marked as not for upload." in the custom picker when all images are either uploaded or marked.
Review by GSoC applicant
Record_2025-01-02-21-37-59.mp4
Record_2025-01-02-21-56-17.mp4Tests performed (required)Tested on:
Result: The issue was resolved after merging the pull request. |
…ave been either uploaded or marked as not for upload." in the custom picker when all images are either uploaded or marked. check completed pr commons-app#6095
hi @Sujal-Gupta-SG , |
app/src/main/java/fr/free/nrw/commons/customselector/ui/selector/ImageFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/fr/free/nrw/commons/customselector/ui/adapter/ImageAdapter.kt
Outdated
Show resolved
Hide resolved
Discussion :
Also a CTA leading to perform peer reviews would also be best. |
Thank you for the suggestion, I agree that adding a supporting graphic would enhance the visual appeal and make the screen feel more engaging. I'll explore options for incorporating one above the text. As for the CTA related to peer reviews, could you clarify a bit further? |
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.
Review by GSoC applicant
I think the changes is Great
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.
Would you mind checking this unit test?
ImageFragmentTest > testOnCreateView FAILED
java.lang.IllegalStateException at ImageFragmentTest.kt:124
In a folder which contains both actioned and actionable pictures, when I disable Would you mind showing the congratulation message only once we are sure there are no picture to show? Thanks! :-) |
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.
Working great!
I just left two minor things.
app/src/main/java/fr/free/nrw/commons/customselector/ui/selector/ImageFragment.kt
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.
Thanks! :-)
Fixes #5619
Added a message "Congratulations, all pictures in this album have been either uploaded or marked as not for upload" in the custom image picker when the user have either uploaded or marked all the images in an album.
Tests performed
Tested ProdDebug on Vivo2334 with API level 34.
Screenshots (for UI changes only)
WhatsApp.Video.2025-01-02.at.16.50.04_37e0bc04.mp4