diff --git a/docker-compose.yml b/docker-compose.yml index 28637b2..2f6ecf7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: db: image: postgres:17-alpine ports: - - "5433:5432" + - "5432:5432" volumes: - postgres-data:/var/lib/postgresql/data environment: diff --git a/src/components/wrappers/dashboard/admin/channels/channel/channel-form/channel-form.tsx b/src/components/wrappers/dashboard/admin/channels/channel/channel-form/channel-form.tsx index 6c6dc90..9ee198f 100644 --- a/src/components/wrappers/dashboard/admin/channels/channel/channel-form/channel-form.tsx +++ b/src/components/wrappers/dashboard/admin/channels/channel/channel-form/channel-form.tsx @@ -106,10 +106,10 @@ export const ChannelForm = ({onSuccessAction, organization, defaultValues, kind} { if (type.preview) return; @@ -117,30 +117,42 @@ export const ChannelForm = ({onSuccessAction, organization, defaultValues, kind} form.setValue("config", {}); }} > - {type.preview && ( + + {type.preview && (
- coming soon + COMING SOON
)} -
- +
+
- - {type.label} - + + {type.label} + ); diff --git a/src/components/wrappers/dashboard/admin/channels/helpers/storage.tsx b/src/components/wrappers/dashboard/admin/channels/helpers/storage.tsx index 91951fa..00753c9 100644 --- a/src/components/wrappers/dashboard/admin/channels/helpers/storage.tsx +++ b/src/components/wrappers/dashboard/admin/channels/helpers/storage.tsx @@ -4,7 +4,9 @@ import {ProviderIconTypes} from "@/components/wrappers/dashboard/admin/channels/ export const storageProviders: ProviderIconTypes[] = [ {value: "local", label: "Local", icon: Server}, - {value: "s3", label: "s3", icon: S3Icon}, + {value: "s3", label: "S3", icon: S3Icon}, + {value: "blob", label: "Azure Blob Storage", icon: BlobIcon, preview: true}, + {value: "gcs", label: "Google Cloud Storage", icon: GCSIcon, preview: true}, ] export function S3Icon(props: SVGProps) { @@ -16,3 +18,55 @@ export function S3Icon(props: SVGProps) { ); } +export function BlobIcon(props: SVGProps) { + return ( + // + // + // + + + + + + + ); +} + +export function GCSIcon(props: SVGProps) { + return ( + + + + + + + + + + + + + + ); +} \ No newline at end of file