From 35a2616a85f9ac035022df6ac9e2850dcff8c391 Mon Sep 17 00:00:00 2001 From: Vadim Ogievetsky Date: Tue, 19 Mar 2024 15:32:22 -0700 Subject: [PATCH 1/3] do not lowercase the icon name --- web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx b/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx index fa3fd905be38..6db389ee1ce6 100644 --- a/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx +++ b/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx @@ -208,7 +208,7 @@ export function getIngestionTitle(ingestionType: IngestionComboTypeWithExtra): s export function getIngestionImage(ingestionType: IngestionComboTypeWithExtra): string { const parts = ingestionType.split(':'); - if (parts.length === 2) return parts[1].toLowerCase(); + if (parts.length === 2) return parts[1]; return ingestionType; } From 336753b952130d0619623a7154548258ecc3df83 Mon Sep 17 00:00:00 2001 From: Vadim Ogievetsky Date: Tue, 19 Mar 2024 15:32:40 -0700 Subject: [PATCH 2/3] missing icon --- web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx | 1 + web-console/src/utils/types.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx b/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx index 6db389ee1ce6..ec765b9c3459 100644 --- a/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx +++ b/web-console/src/druid-models/ingestion-spec/ingestion-spec.tsx @@ -2071,6 +2071,7 @@ const TUNING_FORM_FIELDS: Field[] = [ { name: 'spec.tuningConfig.maxPendingPersists', type: 'number', + defaultValue: 0, hideInMore: true, info: ( <> diff --git a/web-console/src/utils/types.ts b/web-console/src/utils/types.ts index d164d46138bb..76437e58327b 100644 --- a/web-console/src/utils/types.ts +++ b/web-console/src/utils/types.ts @@ -80,6 +80,7 @@ export function dataTypeToIcon(dataType: string): IconName { return IconNames.SNOWFLAKE; case 'COMPLEX': + case 'COMPLEX': return IconNames.HORIZONTAL_DISTRIBUTION; case 'COMPLEX': From 00b82db10f857767c3d95414ac5b2112861a0c60 Mon Sep 17 00:00:00 2001 From: Vadim Ogievetsky Date: Wed, 20 Mar 2024 10:37:20 -0700 Subject: [PATCH 3/3] update test --- .../load-data-view/__snapshots__/load-data-view.spec.tsx.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-console/src/views/load-data-view/__snapshots__/load-data-view.spec.tsx.snap b/web-console/src/views/load-data-view/__snapshots__/load-data-view.spec.tsx.snap index 3d1d2ec93ec4..266bfc9c05cd 100644 --- a/web-console/src/views/load-data-view/__snapshots__/load-data-view.spec.tsx.snap +++ b/web-console/src/views/load-data-view/__snapshots__/load-data-view.spec.tsx.snap @@ -182,7 +182,7 @@ exports[`LoadDataView matches snapshot batch 1`] = ` > Ingestion tile for index_parallel:azureStorage

Azure Data Lake