From d7c7abbccf67d39dedb1bc3297836235f4a0d062 Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Thu, 1 Oct 2026 01:47:37 -0700 Subject: [PATCH] feat: the pen renames the item and its summary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pen opened the path alone, which left the summary with nowhere to be edited from the band. It carries a Summary field above the path now — the item's name first, the address it lives at below — and the band's text follows it as the user types. `TextInput` with a label rather than the bar's inline field: `EditableInput`'s own docs rule itself out inside a popover, and it wraps this same input in its edit mode, so the field, the "Add a summary..." placeholder and the trim on commit are the behaviour that was there, in the shape the deploy drawer's Summary field already uses. The keydown stops at the field because every editor binds keys of its own and a summary is prose. `summaryEditable` carries the hosts' `customUi.topBar.editableSummary` through, and the editors' own bar passes it false: that bar keeps its inline field, and `hidePath` would take the pen with it, leaving a condensed session pane no way to name the item at all. Co-Authored-By: Claude Opus 5 (1M context) --- .../src/lib/components/EditorHeader.svelte | 3 ++ .../src/lib/components/FlowBuilder.svelte | 2 ++ .../src/lib/components/PathEditPopover.svelte | 35 ++++++++++++++++--- .../src/lib/components/ScriptBuilder.svelte | 2 ++ .../apps/editor/AppEditorHeader.svelte | 1 + .../raw_apps/RawAppEditorHeader.svelte | 1 + 6 files changed, 40 insertions(+), 4 deletions(-) diff --git a/frontend/src/lib/components/EditorHeader.svelte b/frontend/src/lib/components/EditorHeader.svelte index 9b4aeb96e5..a44568560c 100644 --- a/frontend/src/lib/components/EditorHeader.svelte +++ b/frontend/src/lib/components/EditorHeader.svelte @@ -145,9 +145,12 @@ {#if pathEditable} + {#if customUi?.topBar?.editablePath != false} + + {#if summaryEditable} + + {:else if summary} + + {/if} {#if own} {#if customUi?.topBar?.editablePath != false} {$summary} {summary}