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
93999cec
Commit
93999cec
authored
Mar 05, 2024
by
Joel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: panel memo
parent
acacc0a4
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
24 additions
and
12 deletions
+24
-12
panel.tsx
web/app/components/workflow/nodes/code/panel.tsx
+2
-1
panel.tsx
web/app/components/workflow/nodes/direct-answer/panel.tsx
+2
-1
panel.tsx
web/app/components/workflow/nodes/end/panel.tsx
+2
-1
panel.tsx
web/app/components/workflow/nodes/http/panel.tsx
+2
-1
panel.tsx
web/app/components/workflow/nodes/if-else/panel.tsx
+2
-1
panel.tsx
...p/components/workflow/nodes/knowledge-retrieval/panel.tsx
+2
-1
panel.tsx
web/app/components/workflow/nodes/llm/panel.tsx
+2
-1
panel.tsx
...p/components/workflow/nodes/question-classifier/panel.tsx
+2
-1
panel.tsx
web/app/components/workflow/nodes/start/panel.tsx
+2
-1
panel.tsx
...pp/components/workflow/nodes/template-transform/panel.tsx
+2
-1
panel.tsx
web/app/components/workflow/nodes/tool/panel.tsx
+2
-1
panel.tsx
...app/components/workflow/nodes/variable-assigner/panel.tsx
+2
-1
No files found.
web/app/components/workflow/nodes/code/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
useConfig
from
'./use-config'
import
type
{
CodeNodeType
}
from
'./types'
...
...
@@ -87,4 +88,4 @@ const Panel: FC<NodeProps<CodeNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/direct-answer/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
useConfig
from
'./use-config'
import
type
{
DirectAnswerNodeType
}
from
'./types'
...
...
@@ -50,4 +51,4 @@ const Panel: FC<NodeProps<DirectAnswerNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/end/panel.tsx
View file @
93999cec
import
{
type
FC
,
useCallback
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
cn
from
'classnames'
import
VarReferencePicker
from
'../_base/components/variable/var-reference-picker'
...
...
@@ -100,4 +101,4 @@ const Panel: FC<NodeProps<EndNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/http/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
useConfig
from
'./use-config'
import
ApiInput
from
'./components/api-input'
...
...
@@ -151,4 +152,4 @@ const Panel: FC<NodeProps<HttpNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/if-else/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
Split
from
'../_base/components/split'
import
AddButton
from
'../_base/components/add-button'
...
...
@@ -55,4 +56,4 @@ const Panel: FC<NodeProps<IfElseNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/knowledge-retrieval/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
VarReferencePicker
from
'../_base/components/variable/var-reference-picker'
import
useConfig
from
'./use-config'
...
...
@@ -115,4 +116,4 @@ const Panel: FC<NodeProps<KnowledgeRetrievalNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/llm/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
MemoryConfig
from
'../_base/components/memory-config'
import
VarReferencePicker
from
'../_base/components/variable/var-reference-picker'
...
...
@@ -145,4 +146,4 @@ const Panel: FC<NodeProps<LLMNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/question-classifier/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
VarReferencePicker
from
'../_base/components/variable/var-reference-picker'
import
useConfig
from
'./use-config'
...
...
@@ -80,4 +81,4 @@ const Panel: FC<NodeProps<QuestionClassifierNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/start/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
VarList
from
'./components/var-list'
import
useConfig
from
'./use-config'
...
...
@@ -95,4 +96,4 @@ const Panel: FC<NodeProps<StartNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/template-transform/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
useConfig
from
'./use-config'
import
type
{
TemplateTransformNodeType
}
from
'./types'
...
...
@@ -80,4 +81,4 @@ const Panel: FC<NodeProps<TemplateTransformNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/tool/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
Split
from
'../_base/components/split'
import
type
{
ToolNodeType
}
from
'./types'
...
...
@@ -42,4 +43,4 @@ const Panel: FC<NodeProps<ToolNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
web/app/components/workflow/nodes/variable-assigner/panel.tsx
View file @
93999cec
import
type
{
FC
}
from
'react'
import
React
from
'react'
import
{
useTranslation
}
from
'react-i18next'
import
useConfig
from
'./use-config'
import
VarList
from
'./components/var-list'
...
...
@@ -70,4 +71,4 @@ const Panel: FC<NodeProps<VariableAssignerNodeType>> = ({
)
}
export
default
Panel
export
default
React
.
memo
(
Panel
)
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