From 6accf6fe3d9e8a557f6965b47e95b6c92691498e Mon Sep 17 00:00:00 2001 From: Yang Zhang Date: Thu, 3 Sep 2026 16:02:38 -0700 Subject: [PATCH] feat(workflow-form): Form View title bar, save, and modification lock On top of the page shell: the title bar's workflow name (renamable in place, exactly as on the operator canvas), its 'Saved at ...' state, and the debounced save both views share -- so an edit made in the form is not lost on the canvas, and vice versa. A save fills in a position for every operator and reports a failure rather than losing it silently. The read-only preview, inputs, running and results are added by later PRs. Co-Authored-By: Claude Opus 4.8 --- .../workflow-form.component.html | 16 +- .../workflow-form.component.scss | 23 +- .../workflow-form.component.spec.ts | 206 +++++++++++++++++- .../workflow-form/workflow-form.component.ts | 184 +++++++++++++++- .../workflow-form.rendered.spec.ts | 40 +++- .../workflow-form.spec-harness.ts | 25 ++- 6 files changed, 468 insertions(+), 26 deletions(-) diff --git a/frontend/src/app/workspace/component/workflow-form/workflow-form.component.html b/frontend/src/app/workspace/component/workflow-form/workflow-form.component.html index 618e8c0e1c6..a1402b04f26 100644 --- a/frontend/src/app/workspace/component/workflow-form/workflow-form.component.html +++ b/frontend/src/app/workspace/component/workflow-form/workflow-form.component.html @@ -19,14 +19,24 @@ + the same right inset ahead of the same user icon. The content below is padded and + centred, which is why the switch cannot live down there -- it would stop at the + column edge and never line up with the other view. -->
- {{ workflowName || "Untitled workflow" }} + + + + {{ autoSaveState }}