From 7d673e7f14c94faa0075b98b71d45ee7f5cc2bf5 Mon Sep 17 00:00:00 2001 From: nite-knite Date: Fri, 13 Dec 2024 15:28:02 +0800 Subject: [PATCH] feat: dataset creation UI tinkering --- .../create/embedding-process/index.tsx | 2 +- .../datasets/create/step-one/index.tsx | 24 +++++++++++++++---- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/web/app/components/datasets/create/embedding-process/index.tsx b/web/app/components/datasets/create/embedding-process/index.tsx index 64f2570b4a..b3ee0dc739 100644 --- a/web/app/components/datasets/create/embedding-process/index.tsx +++ b/web/app/components/datasets/create/embedding-process/index.tsx @@ -303,7 +303,7 @@ const EmbeddingProcess: FC = ({ datasetId, batchId, documents = [], index )} {indexingStatusDetail.indexing_status === 'completed' && ( - + )} diff --git a/web/app/components/datasets/create/step-one/index.tsx b/web/app/components/datasets/create/step-one/index.tsx index 7587be2e72..5c492c7902 100644 --- a/web/app/components/datasets/create/step-one/index.tsx +++ b/web/app/components/datasets/create/step-one/index.tsx @@ -122,9 +122,9 @@ const StepOne = ({ return true if (isShowVectorSpaceFull) return true - return false - }, [files]) + }, [files, isShowVectorSpaceFull]) + return (
@@ -229,7 +229,15 @@ const StepOne = ({
)} - +
+ {/* */} + +
)} @@ -252,7 +260,15 @@ const StepOne = ({
)} - +
+ {/* */} + +
)} {!datasetId && (