feat(editor): Hover actions on the logs overview (#14386)

This commit is contained in:
Suguru Inoue
2025-04-07 10:35:29 +02:00
committed by GitHub
parent 89d2eb7aa3
commit 8f9ea23019
22 changed files with 317 additions and 130 deletions

View File

@@ -40,7 +40,6 @@ 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();
@@ -183,7 +182,7 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof u
// and halt the execution
if (!chatHasInputData && !chatHasPinData) {
workflowsStore.chatPartialExecutionDestinationNode = options.destinationNode;
workflowsStore.setPanelState(LOGS_PANEL_STATE.ATTACHED);
workflowsStore.toggleLogsPanelOpen(true);
return;
}
}