Skip to content

Quota UI rework#13449

Draft
winterhazel wants to merge 2 commits into
apache:mainfrom
scclouds:quota-ui
Draft

Quota UI rework#13449
winterhazel wants to merge 2 commits into
apache:mainfrom
scclouds:quota-ui

Conversation

@winterhazel

Copy link
Copy Markdown
Member

Description

This PR is a rework of the Quota UI intended to expose the new functionality added in #9590, #10505, #10506, #12961, and #13236, as well as provide a better visualization of the Quota-related statistics.

With these changes, it is now possible to:

  • Visualize the Quota consumption of Accounts/Projects throughout multiple periods of time.
  • See which resources are responsible for the Quota consumption, and which tariffs were applied.
  • Visualize how the balance of an Account/Project changed throughout multiple periods of time.
  • Visualize the credits addition history of Accounts/Projects.

Additionally, some changes were made in quotaCredits and quotaCreditsList to allow adding credits to and obtaining the credits addition history for Projects, which has also been exposed in the UI. A new field was also added to the response of quotaStatement to allow seeing the consumption history as a line chart.

This is still marked as a draft because I want to do some minor refactoring in QuotaUsageTab.vue. Other files should not be changed.

Closes #11805.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Screenshots (if appropriate):

Screenshot from 2026-06-18 10-05-38 Screenshot from 2026-06-18 10-05-43 Screenshot from 2026-06-18 10-05-54 Screenshot from 2026-06-18 10-06-00 Screenshot from 2026-06-18 10-06-09
2026-06-18.10-02-25.mp4

How Has This Been Tested?

I manually tested these changes by accessing the summary (consumption, balance, and credits), tariff, and email template pages for admin, domain admin, users, and projects (when applicable) and validating that the expected contents were shown. The credits addition and listing was also tested.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quota Plugin UI issue

1 participant