Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(blobstorage): Improve enabled integration experience (#18328)

jordibosch207fad6f0f48d9
diff --git a/web/src/features/blobstorage-integration/components/BlobStorageIntegrationForm.clienttest.tsx b/web/src/features/blobstorage-integration/components/BlobStorageIntegrationForm.clienttest.tsx
index 2c15d3c82b..d3a13f49f2 100644
--- a/web/src/features/blobstorage-integration/components/BlobStorageIntegrationForm.clienttest.tsx
+++ b/web/src/features/blobstorage-integration/components/BlobStorageIntegrationForm.clienttest.tsx
@@ -167,7 +167,7 @@ describe("BlobStorageIntegrationForm draft lifetime (keyed remount)", () => {
region: "auto",
exportFrequency: "daily",
fileType: BlobStorageIntegrationFileType.PARQUET,
- enabled: false,
+ enabled: true,
}),
expect.anything(),
);
diff --git a/web/src/features/blobstorage-integration/components/BlobStorageIntegrationForm.tsx b/web/src/features/blobstorage-integration/components/BlobStorageIntegrationForm.tsx
index 4b3e190a4d..3e57b5859c 100644
--- a/web/src/features/blobstorage-integration/components/BlobStorageIntegrationForm.tsx
+++ b/web/src/features/blobstorage-integration/components/BlobStorageIntegrationForm.tsx
@@ -123,7 +123,7 @@ export const BlobStorageIntegrationForm = ({
name="enabled"
render={({ field }) => (
<FormItem>
- <FormLabel>Enabled</FormLabel>
+ <FormLabel>Export enabled</FormLabel>
<FormControl>
<div className="mt-1 ml-4">
<Switch
diff --git a/web/src/features/blobstorage-integration/components/formValues.ts b/web/src/features/blobstorage-integration/components/formValues.ts
index f0b7cd21ad..bd0c7611e0 100644
--- a/web/src/features/blobstorage-integration/components/formValues.ts
+++ b/web/src/features/blobstorage-integration/components/formValues.ts
@@ -41,7 +41,7 @@ export function buildBlobStorageFormValues(
prefix: state?.prefix || "",
exportFrequency: (state?.exportFrequency ||
"daily") as BlobStorageFormValues["exportFrequency"],
- enabled: state?.enabled || false,
+ enabled: state?.enabled ?? true,
forcePathStyle: state?.forcePathStyle || false,
fileType: state?.fileType || BlobStorageIntegrationFileType.PARQUET,
exportMode: state?.exportMode || BlobStorageExportMode.FULL_HISTORY,