From 655827ffa3b3f3e2bbb46ae2a71bd9044c1318c6 Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Fri, 15 May 2026 03:01:05 +0200 Subject: [PATCH] docs(frontend): clarify staleness modal copy The four route-level editors (scripts/flows/apps/apps_raw) keep the user's local draft visible behind the modal so they can glance at it before choosing. The old body text described the situation (server has moved on, local autosave is behind) but didn't say what's actually on screen or how each action maps to it. New body leads with "The editor is showing your local autosave" and spells out each action: "Load latest replaces what's on screen; Keep current leaves it alone." Same copy for both `cause = 'draft'` and `cause = 'version'`, branching only on what the user is "behind" relative to. --- .../common/confirmationModal/LocalDraftStaleModal.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/common/confirmationModal/LocalDraftStaleModal.svelte b/frontend/src/lib/components/common/confirmationModal/LocalDraftStaleModal.svelte index 5ecc13f5a5..4a78bf9d59 100644 --- a/frontend/src/lib/components/common/confirmationModal/LocalDraftStaleModal.svelte +++ b/frontend/src/lib/components/common/confirmationModal/LocalDraftStaleModal.svelte @@ -43,8 +43,8 @@ ) const body = $derived( cause === 'draft' - ? "Someone else (or another tab) pushed a draft for this item while you were editing locally. Your local autosave is now older than what's on the server." - : "A new version was deployed for this item while you were editing locally. Your local autosave is now older than what's deployed." + ? "The editor is showing your local autosave. Someone else (or another tab) pushed a newer draft to the server while you were editing — your copy is now behind. Load latest replaces what's on screen; Keep current leaves it alone." + : "The editor is showing your local autosave. A newer version was deployed while you were editing — your copy is now behind. Load latest replaces what's on screen; Keep current leaves it alone." )