From 7ad4c7a9280503dbe02b45f5f2db2dfe718205b8 Mon Sep 17 00:00:00 2001 From: Danny White <3104761+dnywh@users.noreply.github.com> Date: Wed, 1 Oct 2025 11:23:18 +1000 Subject: [PATCH] chore: more descriptive name for general file storage type --- .../components/interfaces/Storage/Storage.constants.ts | 6 +++--- .../pages/project/[ref]/storage/[bucketType]/index.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/studio/components/interfaces/Storage/Storage.constants.ts b/apps/studio/components/interfaces/Storage/Storage.constants.ts index de6a6ab029d..9dc6cae7b37 100644 --- a/apps/studio/components/interfaces/Storage/Storage.constants.ts +++ b/apps/studio/components/interfaces/Storage/Storage.constants.ts @@ -63,8 +63,8 @@ export const CONTEXT_MENU_KEYS = { // New bucket types configuration export const BUCKET_TYPES = { - media: { - displayName: 'Media', + files: { + displayName: 'Files', description: 'General file storage for most types of digital content.', docsUrl: `${DOCS_URL}/guides/storage/buckets/fundamentals`, }, @@ -81,4 +81,4 @@ export const BUCKET_TYPES = { } export const BUCKET_TYPE_KEYS = Object.keys(BUCKET_TYPES) as Array -export const DEFAULT_BUCKET_TYPE: keyof typeof BUCKET_TYPES = 'media' +export const DEFAULT_BUCKET_TYPE: keyof typeof BUCKET_TYPES = 'files' diff --git a/apps/studio/pages/project/[ref]/storage/[bucketType]/index.tsx b/apps/studio/pages/project/[ref]/storage/[bucketType]/index.tsx index c959be0a194..752f976aaee 100644 --- a/apps/studio/pages/project/[ref]/storage/[bucketType]/index.tsx +++ b/apps/studio/pages/project/[ref]/storage/[bucketType]/index.tsx @@ -28,8 +28,8 @@ const BucketTypePage: NextPageWithLayout = () => { return (
- {/* [Danny] Purposefully duplicated directly below StorageLayout‘s config.description for now. Will be placed in a conditional empty state in next PR. TODO: consider reusing FormHeader for non-empty state.*/} -

{config.description}

+ {/* [Danny] Purposefully duplicated directly below StorageLayout's config.description for now. Will be placed in a conditional empty state in next PR. TODO: consider reusing FormHeader for non-empty state.*/} + {/*

{config.description}

*/}
)