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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(web): remove StatusPanel's internal useStore to fix context issues (#28348)
yangzhelia6cd2ad880dc
diff --git a/web/app/components/workflow/run/index.tsx b/web/app/components/workflow/run/index.tsxindex 5f6b07033d2..12560774582 100644--- a/web/app/components/workflow/run/index.tsx+++ b/web/app/components/workflow/run/index.tsx@@ -174,11 +174,13 @@ const RunPanel: FC<RunProps> = ({created_by={executor}steps={runDetail.total_steps}exceptionCounts={runDetail.exceptions_count}+ isListening={isListening}/>)}{!loading && currentTab === 'DETAIL' && !runDetail && isListening && (<StatusPanelstatus={WorkflowRunningStatus.Running}+ isListening={true}/>)}{!loading && currentTab === 'TRACING' && (diff --git a/web/app/components/workflow/run/result-panel.tsx b/web/app/components/workflow/run/result-panel.tsxindex 0712d5209e7..a4448602312 100644--- a/web/app/components/workflow/run/result-panel.tsx+++ b/web/app/components/workflow/run/result-panel.tsx@@ -40,6 +40,7 @@ export type ResultPanelProps = {showSteps?: booleanexceptionCounts?: numberexecution_metadata?: any+ isListening?: booleanhandleShowIterationResultList?: (detail: NodeTracing[][], iterDurationMap: any) => voidhandleShowLoopResultList?: (detail: NodeTracing[][], loopDurationMap: any) => voidonShowRetryDetail?: (detail: NodeTracing[]) => void@@ -65,6 +66,7 @@ const ResultPanel: FC<ResultPanelProps> = ({showSteps,exceptionCounts,execution_metadata,+ isListening = false,handleShowIterationResultList,handleShowLoopResultList,onShowRetryDetail,@@ -86,6 +88,7 @@ const ResultPanel: FC<ResultPanelProps> = ({tokens={total_tokens}error={error}exceptionCounts={exceptionCounts}+ isListening={isListening}/></div><div className='px-4'>diff --git a/web/app/components/workflow/run/status.tsx b/web/app/components/workflow/run/status.tsxindex fa9559fcf8e..823ede2be4c 100644--- a/web/app/components/workflow/run/status.tsx+++ b/web/app/components/workflow/run/status.tsx@@ -5,7 +5,6 @@ import cn from '@/utils/classnames'import Indicator from '@/app/components/header/indicator'import StatusContainer from '@/app/components/workflow/run/status-container'import { useDocLink } from '@/context/i18n'-import { useStore } from '../store'type ResultProps = {status: string@@ -13,6 +12,7 @@ type ResultProps = {tokens?: numbererror?: stringexceptionCounts?: number+ isListening?: boolean}const StatusPanel: FC<ResultProps> = ({@@ -21,10 +21,10 @@ const StatusPanel: FC<ResultProps> = ({tokens,error,exceptionCounts,+ isListening = false,}) => {const { t } = useTranslation()const docLink = useDocLink()- const isListening = useStore(s => s.isListening)return (<StatusContainer status={status}>