From c89152ce080c21094690b8a6e84f5b39d9070ea5 Mon Sep 17 00:00:00 2001 From: Zyy Date: Sun, 29 Nov 2026 11:29:28 +0800 Subject: [PATCH] fix(accounts): group account details and period controls in quota forecasts Co-authored-by: Codex --- .../components/AccountIdentityCell.vue | 27 +---------- .../ForecastCapacity.vue | 2 +- .../account-quota-forecast-modal/Skeleton.vue | 46 +++++++++---------- .../account-quota-forecast-modal/index.vue | 35 +++++++------- 4 files changed, 43 insertions(+), 67 deletions(-) diff --git a/frontend/src/views/accounts/components/AccountIdentityCell.vue b/frontend/src/views/accounts/components/AccountIdentityCell.vue index f1706d3df..469d2b3c6 100644 --- a/frontend/src/views/accounts/components/AccountIdentityCell.vue +++ b/frontend/src/views/accounts/components/AccountIdentityCell.vue @@ -18,15 +18,11 @@ const props = withDefaults( size?: 'md' | 'lg' showPlan?: boolean showNotes?: boolean - metaPosition?: 'title' | 'secondary' - metaSize?: 'xs' | 'sm' }>(), { size: 'md', showPlan: false, showNotes: false, - metaPosition: 'title', - metaSize: 'sm', }, ) @@ -68,10 +64,6 @@ const avatarSizeClass = computed(() => : 'size-9 text-z', ) -const metaGapClass = computed(() => props.metaSize === 'xs' - ? 'gap-1' - : 'gap-1.5') - const avatarToneClass = computed(() => { const identity = props.account.id || props.account.email || displayTitle.value return stablePresetVisualToneClass(identity) @@ -91,25 +83,10 @@ const avatarToneClass = computed(() => { {{ displayTitle }} - - - - - -
- - +
[