feat(editor): Popping logs out into a new window (#13788)

This commit is contained in:
autologie
2025-03-17 10:50:51 +01:00
committed by GitHub
parent 4a1e5798ff
commit 4d04c227a9
23 changed files with 459 additions and 149 deletions

View File

@@ -1970,7 +1970,9 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR
async function toggleChatOpen(source: 'node' | 'main') {
const workflow = workflowsStore.getCurrentWorkflow();
workflowsStore.setPanelOpen('chat', !workflowsStore.isChatPanelOpen);
workflowsStore.setPanelState(
workflowsStore.chatPanelState === 'closed' ? 'attached' : 'closed',
);
const payload = {
workflow_id: workflow.id,