Header removals wait for the code editor to be left: autosave saves with drop=false, so follow_header adds and renames from the header but keeps a port or setting whose parameter is gone, and leaving the editor (blur or closing the panel) saves once more with removals; source saves of a flow run one at a time

This commit is contained in:
2026-10-15 21:31:04 +02:00
parent 5ca90ffece
commit ce2ce4e3e7
10 changed files with 105 additions and 24 deletions
+4 -3
View File
@@ -41,9 +41,10 @@ settings are kept in step, in both directions.
- Saving the code reads that line back. A name the node already has keeps
its kind. A new parameter becomes a setting when it has a default, which
becomes its value, or when it comes after a setting. Any other new
parameter becomes an input port. Removing a parameter removes its port or
setting, and renaming a single one renames the port (keeping its message)
or the setting (keeping its value).
parameter becomes an input port. Renaming a single one renames the port
(keeping its message) or the setting (keeping its value). Removing a
parameter removes its port or setting once you leave the editor, so one
deleted mid-edit and typed back keeps its message.
- Shared code, code from `fluksio sync`, and a header with a decorator,
`*args`, `**kwargs`, a bare `*` or `/` are left alone in both directions.