Repository navigation
Show quota if set on navigation drawer #195
Description
Activity
Infinite thumbs up, but for that we should integrate the existing library pr first :)
What library PR?
This will probably be in 1.4.0, so no hurry ;)There is a nextcloud android library PR to retrieve quota info :) so that one should imho be used.
I would love to do the UI part and would hope you could do the server communication and caching part if that would be fine with you. :)1.4.0 sounds fine.
As far as I have read the code it is just a quick "/ocs/v1.php/cloud/users/" + user + "?format=json" and parsing the returning values.
But a proper caching, e.g. query only once an hour, is a good idea.
I would keep the UI very close to the screenshot.Makes sense. As for the caching, we should also refresh after uploads are finished because a user would want to have the actual value.
This is the library PR I was referring to: nextcloud/android-library#10
Cc @Skymania :)
Then we should do it with the library 👍
PR with initial UI work has been opened: #204
PR merged
Idea per email, seen on cirrus