Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Fix: stop embedding status display (#523)

KVOJJJind143284d994e
diff --git a/web/app/components/datasets/create/embedding-process/index.module.css b/web/app/components/datasets/create/embedding-process/index.module.css
index 9269ce201fc..78050748f80 100644
--- a/web/app/components/datasets/create/embedding-process/index.module.css
+++ b/web/app/components/datasets/create/embedding-process/index.module.css
@@ -30,6 +30,7 @@
.sourceItem .info {
display: flex;
align-items: center;
+ z-index: 1;
}
.sourceItem .info .name {
font-weight: 500;
@@ -45,6 +46,7 @@
font-size: 12px;
line-height: 18px;
color: #344054;
+ z-index: 1;
}
.sourceItem .error {
color: #D92D20;
diff --git a/web/app/components/datasets/create/step-one/index.tsx b/web/app/components/datasets/create/step-one/index.tsx
index 10d60303035..f865be65737 100644
--- a/web/app/components/datasets/create/step-one/index.tsx
+++ b/web/app/components/datasets/create/step-one/index.tsx
@@ -74,7 +74,7 @@ const StepOne = ({
setCurrentFile(file)
}
const hideFilePreview = () => {
- setCurrentNotionPage(undefined)
+ setCurrentFile(undefined)
}
const updateCurrentPage = (page: Page) => {
diff --git a/web/app/components/datasets/documents/list.tsx b/web/app/components/datasets/documents/list.tsx
index dc428ae7a7b..f9d5bb0bb46 100644
--- a/web/app/components/datasets/documents/list.tsx
+++ b/web/app/components/datasets/documents/list.tsx
@@ -57,7 +57,7 @@ export const useIndexStatus = () => {
return {
queuing: { color: 'orange', text: t('datasetDocuments.list.status.queuing') }, // waiting
indexing: { color: 'blue', text: t('datasetDocuments.list.status.indexing') }, // indexing splitting parsing cleaning
- paused: { color: 'orange', text: t('datasetDocuments.list.status.parsed') }, // paused
+ paused: { color: 'orange', text: t('datasetDocuments.list.status.paused') }, // paused
error: { color: 'red', text: t('datasetDocuments.list.status.error') }, // error
available: { color: 'green', text: t('datasetDocuments.list.status.available') }, // completed,archived = false,enabled = true
enabled: { color: 'green', text: t('datasetDocuments.list.status.enabled') }, // completed,archived = false,enabled = true
diff --git a/web/i18n/lang/dataset-documents.en.ts b/web/i18n/lang/dataset-documents.en.ts
index 166dc88cda6..a61fb3c2a0e 100644
--- a/web/i18n/lang/dataset-documents.en.ts
+++ b/web/i18n/lang/dataset-documents.en.ts
@@ -32,7 +32,7 @@ const translation = {
status: {
queuing: 'Queuing',
indexing: 'Indexing',
- parsed: 'Parsed',
+ paused: 'Paused',
error: 'Error',
available: 'Available',
enabled: 'Enabled',
diff --git a/web/i18n/lang/dataset-documents.zh.ts b/web/i18n/lang/dataset-documents.zh.ts
index caf78b353b1..69e40fdb837 100644
--- a/web/i18n/lang/dataset-documents.zh.ts
+++ b/web/i18n/lang/dataset-documents.zh.ts
@@ -32,7 +32,7 @@ const translation = {
status: {
queuing: '排队中',
indexing: '索引中',
- parsed: '已解析',
+ paused: '已暂停',
error: '错误',
available: '可用',
enabled: '已启用',