From 4f3804cf11b81ff56decbb2ea327865397dbef77 Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Thu, 1 Oct 2026 01:38:15 -0700 Subject: [PATCH] feat: the editors name their item in the band, and a pen renames it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The band showed each editor's summary as an inline field, which put editing where the page names what it is working on. The summary is text there now, with its `title` for one the band truncates, and the pen that opens the path for editing sits after it — the same popover the editors' own bar carries, at the end of the name it renames. Every editor already has a field for the summary itself: the script's settings, the flow's Settings tab, and both app editors' deploy drawer. The popover moves into `PathEditPopover` rather than being written out four more times. It owns the open state and hands back the path as it was when it opened: the band's trail reads that while the popover is open, so a path growing under the pointer does not drag the pen — and floating-ui the popover — along with it. `EditorHeader` renders the same component, so the session pane and the band cannot drift apart. Co-Authored-By: Claude Opus 5 (1M context) --- .../src/lib/components/EditorHeader.svelte | 109 +++------------- .../src/lib/components/FlowBuilder.svelte | 44 +++++-- .../src/lib/components/PathEditPopover.svelte | 123 ++++++++++++++++++ .../src/lib/components/ScriptBuilder.svelte | 42 ++++-- .../apps/editor/AppEditorHeader.svelte | 33 +++-- .../raw_apps/RawAppEditorHeader.svelte | 38 +++--- 6 files changed, 236 insertions(+), 153 deletions(-) create mode 100644 frontend/src/lib/components/PathEditPopover.svelte diff --git a/frontend/src/lib/components/EditorHeader.svelte b/frontend/src/lib/components/EditorHeader.svelte index e0f6ac04fb..9b4aeb96e5 100644 --- a/frontend/src/lib/components/EditorHeader.svelte +++ b/frontend/src/lib/components/EditorHeader.svelte @@ -1,10 +1,7 @@ + + open, setOpen} +> + {#snippet trigger()} +