Skip to content

[FEATURE REQUEST] Show space quota #4693

Closed

Description

@jesmrec

The current space info shows:

Image

We should add the assigned quota together with the used size like:

5.9 MB of 1 GB used

  • No quota restriction ("total": 0) -> The current approach is valid.
  • Quota restriction - > X of X used (X%)
  • Space disabled (used value doesn't exist) -> No storage usage information available

Quota of a space comes together with the size info as total, in the same json object from the drives endpoint:

            "quota": {
                "remaining": 999018577,
                "state": "normal",
                "total": 1000000000,
                "used": 981423
            },

TASKS

  • Research (if needed)
  • Create branch feature/show_space_quota
  • Development tasks
    • Display No storage usage information available when space is disabled
    • Display used and total quota when space has quota limit
    • Display only used quota when space hasn't quota limit
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/show_space_quota into master

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions