-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
BugFix - Icon Visibilities #14030
BugFix - Icon Visibilities #14030
Conversation
Screenshot Tests look good to me. Just replace the existing ones with the new ones. They are visually similar but fail due to the update of the common lib which has m3 theming so the blue and Grey tones are slightly different now 👍 |
LGTM @alperozturk96 As a follow up maybe, did you see that the folder icons with an overlay are slightly smaller see their width than folders without an overlay? 🔍 |
@AndyScherzinger Thank you. Good point. I will update the PR. |
9eba870
to
4371305
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.
During my testing I've noticed some inconsistencies compared to the previous implementation. Otherwise it seems to work as expected; the share icon is only displayed when expected.
- Corners of thumbnails are no longer rounded (see screenshot below)
- Thumbnails of images are only displayed after a manual reload (pull to refresh)
- The
ic_movie
overlay for video files is scaled wrong (see screenshot below) - Appearance of auto-upload folder has changed (icon used to be taller)
app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java
Outdated
Show resolved
Hide resolved
9dad42b
to
6a12b2b
Compare
I uploaded the image and got a preview immediately. I’m unable to reproduce the second issue. Is it the same on the master branch? If not, could you provide a video recording so I can attempt to reproduce it? Demo for thumbnail thumn.mp4The appearance of all folder overlay icons has changed due to updated logic. The width of overlayed icons was not the same as non-overlayed icons. With this PR, the widths are now consistent, which will affect the appearance. For mentioned other issues, I updated the PR. |
3f0c9d2
to
5b2d841
Compare
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
5b2d841
to
c0b3ec8
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.
Will be done in a new PR. |
• Hide the people icon after sharing with at least one user (resolves share icon visibility issues).
• Use correct overlay icons for folders (e.g., shared with users, shared via link, locked, encrypted).
• Add offline operation folder type to screenshot tests.
• Fix and update broken screenshot tests.
Folders With Overlay Icon