-
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] New field "last usage" #4187
Conversation
582e922
to
892d97b
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 changes here.
owncloudApp/src/main/java/com/owncloud/android/dependecyinjection/ViewModelModule.kt
Outdated
Show resolved
Hide resolved
...loudApp/src/main/java/com/owncloud/android/presentation/files/details/FileDetailsFragment.kt
Outdated
Show resolved
Hide resolved
...oudApp/src/main/java/com/owncloud/android/presentation/files/details/FileDetailsViewModel.kt
Outdated
Show resolved
Hide resolved
...oudApp/src/main/java/com/owncloud/android/presentation/files/details/FileDetailsViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/db/FileDao.kt
Outdated
Show resolved
Hide resolved
owncloudDomain/src/main/java/com/owncloud/android/domain/files/usecases/RemoveFileUseCase.kt
Outdated
Show resolved
Hide resolved
owncloudDomain/src/main/java/com/owncloud/android/domain/files/usecases/RemoveFileUseCase.kt
Outdated
Show resolved
Hide resolved
owncloudDomain/src/main/java/com/owncloud/android/domain/files/usecases/RenameFileUseCase.kt
Outdated
Show resolved
Hide resolved
owncloudDomain/src/main/java/com/owncloud/android/domain/files/usecases/RenameFileUseCase.kt
Outdated
Show resolved
Hide resolved
...udDomain/src/main/java/com/owncloud/android/domain/files/usecases/SetLastUsageFileUseCase.kt
Outdated
Show resolved
Hide resolved
QAChecks to be done:
Tested with Pixel2 Android11 |
LGTM!! |
f09cd2c
to
69abb24
Compare
(1) [FIXED]
Current: Galaxy Tab A8 |
(2) [FIXED]There is one missing case we did not comment in the feature planning:
Current: folder content is cleaned up locally, but the Galaxy Tab A8 |
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 changes needed here @Aitorbp!
Also, we need tests of the new classes and methods you added so that we don't keep track of the tests we are updating in other issues. Let's create at least the datasources tests 👍
owncloudApp/src/main/java/com/owncloud/android/db/ProviderMeta.java
Outdated
Show resolved
Hide resolved
...oudApp/src/main/java/com/owncloud/android/presentation/files/details/FileDetailsViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/providers/FileContentProvider.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/workers/UploadFileFromFileSystemWorker.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/db/FileDao.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/db/OCFileEntity.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/files/repository/OCFileRepository.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/migrations/Migration_42.kt
Outdated
Show resolved
Hide resolved
owncloudDomain/src/main/java/com/owncloud/android/domain/files/usecases/RemoveFileUseCase.kt
Outdated
Show resolved
Hide resolved
dbc827b
to
664bab4
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 last changes here and we're ready to go @Aitorbp 🚀
...udApp/src/main/java/com/owncloud/android/presentation/files/filelist/MainFileListFragment.kt
Outdated
Show resolved
Hide resolved
...udDomain/src/main/java/com/owncloud/android/domain/files/usecases/SetLastUsageFileUseCase.kt
Outdated
Show resolved
Hide resolved
...udData/src/test/java/com/owncloud/android/data/file/datasources/OCLocalFileDataSourceTest.kt
Outdated
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.
LGTM now!! Good job @Aitorbp 🚀
b756d50
to
80ea9fa
Compare
3 calens commits (agreed 2). Please fix it. |
(3) [FIXED]After checking some use cases, i think we should add another one: update |
Yes, I think it would be good to add this use case too. Because of It is a file action too. I will work to add it. |
b4faeb0
to
3d79053
Compare
…nd migrated ddbb to 42
…epository and added lastUsage functionality to preview file
… not nullable and moved setLastUsageFile to FileOperationsViewModel.
0f41244
to
d83e9c6
Compare
@jesmrec can test again the issue. I added the new use case. |
thanks. I noticed:
|
problem with "open with web" related with downloaded files. If file is downloaded, |
that's expected, since non-downloaded files do not affect the issue. |
Approved on my side! |
[FEATURE REQUEST] New field "last usage"
Related Issues
App: #4173
QA
#4187 (comment)