Skip to content

fix: show space quota progress bar background in sidebar - #3491

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/space-quota-progress-background
Sep 30, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/space-quota-progress-background

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Description

The quota progress bar in the space details sidebar had no visible track, so you couldn't see how much of the total was left. SpaceQuota set the bar background to --oc-role-surface, which is the same white as the sidebar. It now uses --oc-role-surface-container, the same background as the quota bar in the "My Account" menu, so the full width of the bar is visible.

Screenshots

Before After
before-space-quota after-space-quota

Related Issue

  • Fixes <issue_link>

How Has This Been Tested?

  • test environment: local dev setup (Vite dev server + OpenCloud backend via docker-compose), Chromium; Vitest
  • test case 1: select a space in the Spaces list: the quota bar in the right sidebar shows its track across the full width
  • test case 2: updated the SpaceQuota unit test snapshot; the web-pkg unit tests pass

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit 4d49fad into main Sep 30, 2026
32 checks passed
@AlexAndBear
AlexAndBear deleted the fix/space-quota-progress-background branch September 30, 2026 07:42
@openclouders openclouders mentioned this pull request Sep 30, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants