From 2a420f6a4ab06b203b60be831162387dab615c18 Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Mon, 26 Oct 2026 11:25:44 -0700 Subject: [PATCH] fix: close variable, resource and trigger editors during a move too They keep their edits as drafts like the other editors, so an edit during the move could save one in the workspace being left. Their state lives in the draft, so closing them loses nothing; they reopen in the fork. Co-Authored-By: Claude Opus 5.5 (1M context) --- .../src/lib/components/sessions/PageItemEditorView.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/lib/components/sessions/PageItemEditorView.svelte b/frontend/src/lib/components/sessions/PageItemEditorView.svelte index a77550a3ef..9fa3c48188 100644 --- a/frontend/src/lib/components/sessions/PageItemEditorView.svelte +++ b/frontend/src/lib/components/sessions/PageItemEditorView.svelte @@ -145,6 +145,12 @@

+ {:else if permissions.moving} + +

+ {pageItemKindLabel(item)} {item.path} reopens once the session has + moved to its fork. +

{:else if permissions.readOnly}