feat(editor): Show error state in the logs overview (#14248)

This commit is contained in:
Suguru Inoue
2025-04-02 09:21:21 +02:00
committed by GitHub
parent 0e9e28356e
commit 37e5349fe1
23 changed files with 583 additions and 276 deletions

View File

@@ -40,6 +40,7 @@ import { useTelemetry } from './useTelemetry';
import { useSettingsStore } from '@/stores/settings.store';
import { usePushConnectionStore } from '@/stores/pushConnection.store';
import { useNodeDirtiness } from '@/composables/useNodeDirtiness';
import { LOGS_PANEL_STATE } from '@/components/CanvasChat/types/logs';
export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof useRouter> }) {
const nodeHelpers = useNodeHelpers();
@@ -182,7 +183,7 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof u
// and halt the execution
if (!chatHasInputData && !chatHasPinData) {
workflowsStore.chatPartialExecutionDestinationNode = options.destinationNode;
workflowsStore.setPanelState('attached');
workflowsStore.setPanelState(LOGS_PANEL_STATE.ATTACHED);
return;
}
}