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.

1.4 KB
Raw Blame
import type { FC } from 'react'
import { useTranslation } from 'react-i18next'
import { useDocLink } from '@/context/i18n'

const Empty: FC = () => {
  const { t } = useTranslation(['workflowDebug'])
  const docLink = useDocLink()

  return (
    <div className="flex h-full flex-col gap-3 rounded-xl bg-background-section p-8">
      <div className="flex h-10 w-10 items-center justify-center rounded-[10px] border-[0.5px] border-components-card-border bg-components-card-bg shadow-lg backdrop-blur-xs">
        <span
          aria-hidden
          className="i-custom-vender-solid-development-variable-02 size-5 text-text-accent"
        />
      </div>
      <div className="flex flex-col gap-1">
        <div className="system-sm-semibold text-text-secondary">
          {t(($) => $['debug.variableInspect.title'], { ns: 'workflowDebug' })}
        </div>
        <div className="system-xs-regular text-text-tertiary">
          {t(($) => $['debug.variableInspect.emptyTip'], { ns: 'workflowDebug' })}
        </div>
        <a
          className="cursor-pointer system-xs-regular text-text-accent"
          href={docLink('/use-dify/debug/variable-inspect')}
          target="_blank"
          rel="noopener noreferrer"
        >
          {t(($) => $['debug.variableInspect.emptyLink'], { ns: 'workflowDebug' })}
        </a>
      </div>
    </div>
  )
}

export default Empty