Skip to content

[Feature]: Show storage quota usage and handle quota-exceeded in the Cloud UI #284

Description

@DenizAltunkapan

Problem

The Cloud Page backend validates a per-user storage quota before accepting an upload, but the Vault Web frontend does not show the user anything about their quota. Users cannot see how much space they have used or have left, and when an upload is rejected for exceeding the quota there is no clear, dedicated feedback.

Example scenario:

  • A user has nearly filled their storage quota.
  • They try to upload a large file and the backend rejects it because the quota would be exceeded.
  • Today the user sees no usage information beforehand and only a generic failure afterwards, with no indication that the quota was the cause.

Proposed solution

Surface storage quota usage in the Cloud UI and handle the quota-exceeded response explicitly.

Scope:

  • Show the current storage usage and total quota somewhere visible in the Cloud view, for example a usage bar with used and total space.
  • Update the displayed usage after uploads and deletions so it stays accurate.
  • Detect the backend quota-exceeded response on upload and show a clear, specific message telling the user they are out of space, using the existing toast notifications rather than a generic error.
  • Keep the usage indicator readable on small screens.

Dependencies:

Acceptance criteria

  • The Cloud UI shows the user's current storage usage and total quota.
  • The displayed usage updates after uploads and deletions.
  • An upload rejected for exceeding the quota shows a clear, specific message via toast notifications.
  • The usage indicator is readable on desktop and mobile widths.

Related: consumes the backend storage quota validation from Vault-Web/cloud-page#65.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions