Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
d143284d
Unverified
Commit
d143284d
authored
Jul 06, 2023
by
KVOJJJin
Committed by
GitHub
Jul 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: stop embedding status display (#523)
parent
2b945451
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
index.module.css
...onents/datasets/create/embedding-process/index.module.css
+2
-0
index.tsx
web/app/components/datasets/create/step-one/index.tsx
+1
-1
list.tsx
web/app/components/datasets/documents/list.tsx
+1
-1
dataset-documents.en.ts
web/i18n/lang/dataset-documents.en.ts
+1
-1
dataset-documents.zh.ts
web/i18n/lang/dataset-documents.zh.ts
+1
-1
No files found.
web/app/components/datasets/create/embedding-process/index.module.css
View file @
d143284d
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
.sourceItem
.info
{
.sourceItem
.info
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
z-index
:
1
;
}
}
.sourceItem
.info
.name
{
.sourceItem
.info
.name
{
font-weight
:
500
;
font-weight
:
500
;
...
@@ -45,6 +46,7 @@
...
@@ -45,6 +46,7 @@
font-size
:
12px
;
font-size
:
12px
;
line-height
:
18px
;
line-height
:
18px
;
color
:
#344054
;
color
:
#344054
;
z-index
:
1
;
}
}
.sourceItem
.error
{
.sourceItem
.error
{
color
:
#D92D20
;
color
:
#D92D20
;
...
...
web/app/components/datasets/create/step-one/index.tsx
View file @
d143284d
...
@@ -74,7 +74,7 @@ const StepOne = ({
...
@@ -74,7 +74,7 @@ const StepOne = ({
setCurrentFile
(
file
)
setCurrentFile
(
file
)
}
}
const
hideFilePreview
=
()
=>
{
const
hideFilePreview
=
()
=>
{
setCurrent
NotionPag
e
(
undefined
)
setCurrent
Fil
e
(
undefined
)
}
}
const
updateCurrentPage
=
(
page
:
Page
)
=>
{
const
updateCurrentPage
=
(
page
:
Page
)
=>
{
...
...
web/app/components/datasets/documents/list.tsx
View file @
d143284d
...
@@ -57,7 +57,7 @@ export const useIndexStatus = () => {
...
@@ -57,7 +57,7 @@ export const useIndexStatus = () => {
return
{
return
{
queuing
:
{
color
:
'orange'
,
text
:
t
(
'datasetDocuments.list.status.queuing'
)
},
// waiting
queuing
:
{
color
:
'orange'
,
text
:
t
(
'datasetDocuments.list.status.queuing'
)
},
// waiting
indexing
:
{
color
:
'blue'
,
text
:
t
(
'datasetDocuments.list.status.indexing'
)
},
// indexing splitting parsing cleaning
indexing
:
{
color
:
'blue'
,
text
:
t
(
'datasetDocuments.list.status.indexing'
)
},
// indexing splitting parsing cleaning
paused
:
{
color
:
'orange'
,
text
:
t
(
'datasetDocuments.list.status.pa
r
sed'
)
},
// paused
paused
:
{
color
:
'orange'
,
text
:
t
(
'datasetDocuments.list.status.pa
u
sed'
)
},
// paused
error
:
{
color
:
'red'
,
text
:
t
(
'datasetDocuments.list.status.error'
)
},
// error
error
:
{
color
:
'red'
,
text
:
t
(
'datasetDocuments.list.status.error'
)
},
// error
available
:
{
color
:
'green'
,
text
:
t
(
'datasetDocuments.list.status.available'
)
},
// completed,archived = false,enabled = true
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
enabled
:
{
color
:
'green'
,
text
:
t
(
'datasetDocuments.list.status.enabled'
)
},
// completed,archived = false,enabled = true
...
...
web/i18n/lang/dataset-documents.en.ts
View file @
d143284d
...
@@ -32,7 +32,7 @@ const translation = {
...
@@ -32,7 +32,7 @@ const translation = {
status
:
{
status
:
{
queuing
:
'Queuing'
,
queuing
:
'Queuing'
,
indexing
:
'Indexing'
,
indexing
:
'Indexing'
,
pa
rsed
:
'Par
sed'
,
pa
used
:
'Pau
sed'
,
error
:
'Error'
,
error
:
'Error'
,
available
:
'Available'
,
available
:
'Available'
,
enabled
:
'Enabled'
,
enabled
:
'Enabled'
,
...
...
web/i18n/lang/dataset-documents.zh.ts
View file @
d143284d
...
@@ -32,7 +32,7 @@ const translation = {
...
@@ -32,7 +32,7 @@ const translation = {
status
:
{
status
:
{
queuing
:
'排队中'
,
queuing
:
'排队中'
,
indexing
:
'索引中'
,
indexing
:
'索引中'
,
pa
rsed
:
'已解析
'
,
pa
used
:
'已暂停
'
,
error
:
'错误'
,
error
:
'错误'
,
available
:
'可用'
,
available
:
'可用'
,
enabled
:
'已启用'
,
enabled
:
'已启用'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment