-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[FEATURE REQUEST] Add status message when (un)setting av. offline from preview #4482
Conversation
554ca38
to
e892103
Compare
ac8ab37
to
3deecbd
Compare
091c1a4
to
8eaa4e9
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.
Good job @joragua! Some comments and questions here 👍
owncloudApp/src/main/java/com/owncloud/android/presentation/previews/PreviewTextViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/presentation/previews/PreviewTextViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewImageViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewAudioFragment.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewAudioFragment.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewImageFragment.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt
Outdated
Show resolved
Hide resolved
2e420fc
to
ca5c106
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.
Some more comments and changes here @joragua 🧑🏻💻
owncloudApp/src/main/java/com/owncloud/android/presentation/previews/PreviewAudioViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/presentation/previews/PreviewAudioViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/presentation/previews/PreviewVideoViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewImageViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewAudioFragment.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewAudioFragment.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewVideoActivity.kt
Outdated
Show resolved
Hide resolved
There are several KtLint reports as well in the BitRise workflow, take a look at them and fix them. You can rebase this branch against master as well @joragua 👍 |
3a61024
to
b93b787
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.
One more tiny change and we're done @joragua!
owncloudApp/src/main/java/com/owncloud/android/ui/preview/PreviewAudioFragment.kt
Outdated
Show resolved
Hide resolved
cdbc870
to
22aed52
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.
LGTM now! Good job @joragua 🏅
Checks done:
Image, text and audio are always downloaded whwn previewed. Videos can be streamed, but during the streaming, the av. offline options are not available, that means, no extra case there. |
(1) [FIXED]just a tiny detail i noticed: in the image previews, the snackbar is smaller (in height) than in other previews. I guess that is something related with system, but it took my attention. I tested with two different devices. Check the difference with the following short videos:
i suggest to download both of them and play together to compare. Pixel 2, Android 11 |
Related with (1), by setting as av. offline in landscape orientation (image preview): Screen_recording_20241009_110643.mp4
could this be part of the same issue? |
d7545ab
to
fa39250
Compare
(1) I think it's fixed. Take a look if you can 😀 |
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.
LGTM 👍
(1) fixed |
Approved on my side. There are some conflicts in the branch because the changelog items, could you take a look before merging @joragua ? |
2c40fcc
to
97dbbbf
Compare
Related Issues
App: #4382
ReleaseNotesViewModel.kt
creating a newReleaseNote()
with String resources (if required)QA
Checks done: #4482 (comment)
Reports: