-
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
[TECHNICAL] Technical improvements for user quota #4525
base: master
Are you sure you want to change the base?
Conversation
8e7bfe9
to
2f0df52
Compare
1f95f15
to
8d5c35f
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 @joragua!! Let's do some changes here 👍
owncloudApp/src/main/java/com/owncloud/android/presentation/common/DrawerViewModel.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/activity/DrawerActivity.kt
Outdated
Show resolved
Hide resolved
owncloudData/src/main/java/com/owncloud/android/data/user/db/UserDao.kt
Outdated
Show resolved
Hide resolved
|
||
ocLocalUserDataSource.deleteQuotaForAccount(OC_ACCOUNT_NAME) | ||
val userQuota = ocLocalUserDataSource.getQuotaForAccountAsFlow(OC_ACCOUNT_NAME).first() | ||
assertEquals(userQuotaEntity.toModel(), userQuota) |
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.
assertEquals(userQuotaEntity.toModel(), userQuota) | |
assertEquals(OC_USER_QUOTA, userQuota) |
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.
Done ✅
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.
Not done actually 😬
.../java/com/owncloud/android/data/user/datasources/implementation/OCLocalUserDataSourceTest.kt
Outdated
Show resolved
Hide resolved
32ed01c
to
d7f96a2
Compare
1503d9d
to
3453331
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.
Just one thing that you didn't apply from the previous round of CR and we're done @joragua 👍. Also, you can rebase the branch so that we have it ready for QA
…dQuotaAsStreamUseCase`)
… remove unnecessary ones from `DrawerViewModelTest`
…edQuotaAsStreamUseCase`
…ll possible quota cases
3453331
to
a9576a3
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!
Related Issues
App: #4521
ReleaseNotesViewModel.kt
creating a newReleaseNote()
with String resources (if required)QA