Skip to content

Co 3585 ce remove set mailbox quota limit in admin UI if ce#1185

Open
gnekoz wants to merge 9 commits into
develfrom
CO-3585-CE-Remove-set-mailbox-quota-limit-in-admin-ui-if-CE
Open

Co 3585 ce remove set mailbox quota limit in admin UI if ce#1185
gnekoz wants to merge 9 commits into
develfrom
CO-3585-CE-Remove-set-mailbox-quota-limit-in-admin-ui-if-CE

Conversation

@gnekoz
Copy link
Copy Markdown
Contributor

@gnekoz gnekoz commented May 6, 2026

Refs: CO-3585

gnekoz and others added 8 commits May 6, 2026 16:53
useTotalQuotaActive now returns true only when carbonio-advanced is
installed AND the totalQuota feature flag is enabled, so quota UI and
data management are skipped entirely on Community Edition.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…Active

Show quota components and manage quota data only when useTotalQuotaActive
returns true. When false, render null and skip all fetching/saving.

- Delete EditAccountQuotaBarLegacy and EditAccountQuotaInputsLegacy
- EditAccountQuotaBar: no props, returns null when quota inactive
- EditAccountQuotaInputs: remove 8 focus/highlight legacy props
- edit-account-general-section: remove legacy focus states and callbacks
- domain-general-settings: remove isAdvanced from all quota conditions
- manage-accounts: guard retrieveAccountQuotaByAccountId with isTotalQuotaActive
- edit-account: remove handleFileQuotaLimitChange and simplify quota save guard

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…s false

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nents

Remove the Mailbox Quota nav item from the domain list panel and delete
DomainMailboxQuotaSetting along with its test file, since the section is
no longer exposed in any edition.

- domain-list-panel: remove MAILBOX_QUOTA item, isTotalQuotaActive filter and import
- domain-detail-operation: remove MAILBOX_QUOTA case and DomainMailboxQuotaSetting import
- constants: remove MAILBOX_QUOTA constant
- delete domain-mailbox-quota-settings.tsx and its browser test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gnekoz gnekoz requested review from CataldoMazzilli and giuliano176 and removed request for giuliano176 May 12, 2026 12:47
@sonarqube-zextras
Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant