chore: more descriptive name for general file storage type

This commit is contained in:
Danny White committed 2025-10-01 11:23:18 +10:00
1 parent 7dd6330d7b
commit 7ad4c7a928
2 files changed
+5 -5

No files matched your search

@@ -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<keyof typeof BUCKET_TYPES>
export const DEFAULT_BUCKET_TYPE: keyof typeof BUCKET_TYPES = 'media'
export const DEFAULT_BUCKET_TYPE: keyof typeof BUCKET_TYPES = 'files'
@@ -28,8 +28,8 @@ const BucketTypePage: NextPageWithLayout = () => {
return (
<div>
{/* [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.*/}
<p className="text-foreground-light mb-4">{config.description}</p>
{/* [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.*/}
{/* <p className="text-foreground-light mb-4">{config.description}</p> */}
<DocsButton href={config.docsUrl} />
</div>
)