Skip to content

Show quota if set on navigation drawer #195

Description

@tobiasKaminsky

Idea per email, seen on cirrus

screenshot_2016-08-03-13-32-52

Activity

  1. AndyScherzinger commented on Aug 4, 2016

    @AndyScherzinger
    Member

    Infinite thumbs up, but for that we should integrate the existing library pr first :)

  2. tobiasKaminsky commented on Aug 4, 2016

    @tobiasKaminsky
    MemberAuthor

    What library PR?
    This will probably be in 1.4.0, so no hurry ;)

  3. AndyScherzinger commented on Aug 4, 2016

    @AndyScherzinger
    Member

    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.

  4. tobiasKaminsky commented on Aug 4, 2016

    @tobiasKaminsky
    MemberAuthor

    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.

  5. AndyScherzinger commented on Aug 4, 2016

    @AndyScherzinger
    Member

    Makes sense. As for the caching, we should also refresh after uploads are finished because a user would want to have the actual value.

  6. AndyScherzinger commented on Aug 5, 2016

    @AndyScherzinger
    Member

    This is the library PR I was referring to: nextcloud/android-library#10

  7. AndyScherzinger commented on Aug 7, 2016

    @AndyScherzinger
    Member

    Cc @Skymania :)

  8. tobiasKaminsky commented on Aug 8, 2016

    @tobiasKaminsky
    MemberAuthor

    Then we should do it with the library 👍

  9. AndyScherzinger commented on Aug 8, 2016

    @AndyScherzinger
    Member

    PR with initial UI work has been opened: #204

  10. tobiasKaminsky commented on Sep 16, 2016

    @tobiasKaminsky
    MemberAuthor

    PR merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions