mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-18 08:03:11 +00:00
feat: add volume limits info in CE volumes drawer
Show an info alert in the volumes drawer when running in Community Edition, mentioning the 20 volumes per workspace and 50 MB per file limits. Update ee-repo-ref for companion EE changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
5f0ef936d1
commit
ebbc259a37
@@ -1 +1 @@
|
||||
151bc3edfe23c160f4f9b0cfaa708beb36c212f4
|
||||
49313100056e493aa9ae9191eda742d9b697672c
|
||||
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { Drawer, DrawerContent } from '../common'
|
||||
import { Alert, Drawer, DrawerContent } from '../common'
|
||||
import { VolumeService } from '$lib/gen'
|
||||
import { workspaceStore, userStore } from '$lib/stores'
|
||||
import { displayDate, displaySize, sendUserToast } from '$lib/utils'
|
||||
import { enterpriseLicense, workspaceStore, userStore } from '$lib/stores'
|
||||
import { displayDate, displaySize, emptyString, sendUserToast } from '$lib/utils'
|
||||
import { File, HardDriveIcon, Loader2, Plus, Shield, Trash2 } from 'lucide-svelte'
|
||||
import Button from '../common/button/Button.svelte'
|
||||
import SharedBadge from '../SharedBadge.svelte'
|
||||
@@ -119,6 +119,14 @@
|
||||
{/snippet}
|
||||
</Popover>
|
||||
{/snippet}
|
||||
{#if emptyString($enterpriseLicense)}
|
||||
<div class="mb-4">
|
||||
<Alert type="info" title="Community Edition limits">
|
||||
Volumes are limited to 20 per workspace and 50 MB per file. Upgrade to Enterprise
|
||||
Edition to remove these limits.
|
||||
</Alert>
|
||||
</div>
|
||||
{/if}
|
||||
{#if volumes.loading}
|
||||
<div class="flex items-center justify-center py-8">
|
||||
<Loader2 size={24} class="animate-spin text-secondary" />
|
||||
|
||||
Reference in New Issue
Block a user