From f9252aad78d22db6089a166c71e16036328d7101 Mon Sep 17 00:00:00 2001 From: AlexRV12 <71396855+AlexRV12@users.noreply.github.com> Date: Thu, 27 Aug 2026 12:01:14 +0200 Subject: [PATCH] docs: bring the run form card's comments to the four-line limit --- .../components/copilot/chat/RunArgsFormDisplay.svelte | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/src/lib/components/copilot/chat/RunArgsFormDisplay.svelte b/frontend/src/lib/components/copilot/chat/RunArgsFormDisplay.svelte index 519815dd59..a0973e7694 100644 --- a/frontend/src/lib/components/copilot/chat/RunArgsFormDisplay.svelte +++ b/frontend/src/lib/components/copilot/chat/RunArgsFormDisplay.svelte @@ -26,11 +26,10 @@ // variables have to resolve there too. const workspace = $derived(aiChatManager.operatingWorkspace) - // Deep copies, not spreads: runForm comes off displayMessages ($state), so its nested - // values are proxies that $state() hands back untouched. SchemaForm edits both in - // place — and binds the schema, reordering its properties on mount — so a shallow - // copy would write every keystroke, a password typed into a nested field included, - // straight into the persisted transcript. + // Deep copies, not spreads: these come off displayMessages ($state), whose nested values + // are proxies $state() hands back untouched. SchemaForm edits both in place — and binds + // the schema, reordering it on mount — so a shallow copy would write every keystroke, a + // nested password included, straight into the persisted transcript. let args = $state($state.snapshot(runForm.args ?? {}) as Record) let schema = $state($state.snapshot(runForm.schema ?? {}) as Record)