feat(dify): 把本地控制台的中文与去外链改动入库
这些界面改动和专家服务草稿停在工作区,没有随上一笔主分支提交进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
9c7c80e194
commit
c2cb845a32
211 files changed
+3030
-2794
No files matched your search
@@ -28,7 +28,6 @@ import { CodeLanguage } from '@/app/components/workflow/nodes/code/types'
|
||||
import { localizeKnowledgeRetrievalV2Error } from '@/app/components/workflow/nodes/knowledge-retrieval-v2/error-message'
|
||||
import StatusContainer from '@/app/components/workflow/run/status-container'
|
||||
import { hasRetryNode } from '@/app/components/workflow/utils'
|
||||
import { useDocLink } from '@/context/i18n'
|
||||
import BlockIcon from '../block-icon'
|
||||
import { BlockEnum } from '../types'
|
||||
import LargeDataAlert from '../variable-inspect/large-data-alert'
|
||||
@@ -87,8 +86,7 @@ const NodePanel: FC<Props> = ({
|
||||
[hideProcessDetail],
|
||||
)
|
||||
const { t } = useTranslation(['workflow', 'workflowLogic', 'workflowHumanInput', 'runLog'])
|
||||
const docLink = useDocLink()
|
||||
const detailsId = useId()
|
||||
const detailsId = useId()
|
||||
const Header = hideProcessDetail ? 'div' : 'button'
|
||||
const statusLabels: Record<string, string> = {
|
||||
succeeded: t(($) => $['tracing.status.succeeded'], { ns: 'workflow' }),
|
||||
@@ -307,14 +305,6 @@ const NodePanel: FC<Props> = ({
|
||||
{nodeInfo.status === 'exception' && (
|
||||
<StatusContainer status="stopped">
|
||||
{localizedError}
|
||||
<a
|
||||
href={docLink('/use-dify/debug/error-type')}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-text-accent"
|
||||
>
|
||||
{t(($) => $['common.learnMore'], { ns: 'workflow' })}
|
||||
</a>
|
||||
</StatusContainer>
|
||||
)}
|
||||
{nodeInfo.status === 'failed' && (
|
||||
|
||||
Reference in new issue
Block a user