The current space info shows: <img width="326" height="68" alt="Image" src="https://github.com/user-attachments/assets/18c688af-aa49-423c-bfdf-840877be137b" /> 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 - [x] Research (if needed) - [x] Create branch feature/show_space_quota - [x] Development tasks - [x] Display `No storage usage information available` when space is disabled - [x] Display used and total quota when space has quota limit - [x] Display only used quota when space hasn't quota limit - [x] Implement unit tests (if needed) - [x] Code review and apply changes requested - [x] Design test plan - [x] QA - [x] Merge branch feature/show_space_quota into master
Activity