Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: mime type wildcard hint for storage bucket (#19062)

Navaneeth Raocba1b07b5348
diff --git a/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx b/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx
index 26ac9636e9b..096ed297d3b 100644
--- a/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx
+++ b/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx
@@ -234,7 +234,8 @@ const CreateBucketModal = ({ visible, onClose }: CreateBucketModalProps) => {
layout="vertical"
label="Allowed MIME types"
placeholder="e.g image/jpeg, image/png, audio/mpeg, video/mp4, etc"
- descriptionText="Comma separated values"
+ labelOptional="Comma separated values"
+ descriptionText="Wildcards are allowed, e.g. image/*. Leave blank to allow any MIME type."
/>
</div>
</Collapsible.Content>
diff --git a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx
index 4cd82df1fe9..8badfcd353c 100644
--- a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx
+++ b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx
@@ -240,7 +240,7 @@ const EditBucketModal = ({ visible, bucket, onClose }: EditBucketModalProps) =>
label="Allowed MIME types"
placeholder="e.g image/jpeg, image/png, audio/mpeg, video/mp4, etc"
labelOptional="Comma separated values"
- descriptionText="Leave the field blank to allow any MIME type to be uploaded"
+ descriptionText="Wildcards are allowed, e.g. image/*. Leave blank to allow any MIME type."
/>
</div>
</Collapsible.Content>