From 2271ac230234c048979961bfb53d4c2c491968ef Mon Sep 17 00:00:00 2001 From: Sim Pi Agent Date: Tue, 28 Jul 2026 21:43:58 +0000 Subject: [PATCH] chore: investigate Slack-reported engineering task --- .../[workspaceId]/w/[workflowId]/components/panel/panel.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx index 1a997731fd8..eab7b1a366f 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx @@ -116,6 +116,8 @@ export const Panel = memo(function Panel() { const router = useRouter() const params = useParams() const workspaceId = params.workspaceId as string + const workflowId = params.workflowId as string + const copilotDraftScopeKey = `${workspaceId}:copilot:${workflowId}` const posthog = usePostHog() const posthogRef = useRef(posthog) @@ -898,6 +900,7 @@ export const Panel = memo(function Panel() { onCancelQueueEdit={copilotCancelQueueEdit} userId={session?.user?.id} chatId={copilotResolvedChatId} + draftScopeKey={copilotDraftScopeKey} layout='copilot-view' />