[FIX] No message when uploading a file with no quota#4587
Conversation
owncloudApp/src/main/java/com/owncloud/android/presentation/accounts/ManageAccountsViewModel.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/presentation/accounts/ManageAccountsViewModel.kt
Outdated
Show resolved
Hide resolved
|
A couple of comments/questions there, @joragua |
|
moved to (myself) QA |
|
QA checks:
Some regression...
|
(1)I noticed the following behaviour, i am not sure it can be handled but just in case....
Files start to upload, some of them are uploaded till the quota is exceeded. Then, uploads fail because no storage. This is totally correct ✅ But, there is no snackbar in this case, i guess because quota was not 0 when the operation started but "in the middle". My guess is, the only way to add the snackbar afterwards is checking the quota in every individual upload, right? would this be worthy just for only showing an snackbar? Not a blocker in any case... just something to improve |
|
Right now, the quota is not updated after every individual upload (it is only updated when all files have finished with a successful/failed result). In any case, (1) is a good improvement but it implies more changes in the code... 😄 |
got it! for the moment the new approach is more than enough... now users will have line feedback in case of lack of storage. From my side it's approved. |
Related Issues
App: #4582
ReleaseNotesViewModel.ktcreating a newReleaseNote()with String resources (if required)QA
QA checks:
Reports: