feat: asked-field envelope, standalone form components, branched forms
This commit is contained in:
parent
0d43b0e8fb
commit
f27be044b4
26 changed files with 3651 additions and 104 deletions
22
CHANGELOG.md
22
CHANGELOG.md
|
|
@ -14,6 +14,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
triggers, cycles, and unsupported trigger types fail open (always
|
||||
visible). New demo flow `bauvorhaben.json` (4 levels + sibling branch +
|
||||
bool trigger). Values of hidden fields are kept and submitted.
|
||||
- Run envelope carries the asked field names (`fields`, from the
|
||||
version's form schema): `collect()` emits defaults only for asked
|
||||
AND currently visible fields (hidden branch fields stay out, like the
|
||||
frontend never submits them), so templates may declare fields unknown
|
||||
to the component code and unasked code defaults stay out of the run
|
||||
output. Without the list (raw dicts, Langflow playground) all visible
|
||||
declared defaults apply.
|
||||
- Standalone `CustomInputBauvorhaben` component ("Bauvorhaben Form" in
|
||||
the kirche palette, zero shared code with `CustomInputForm` — the LFX
|
||||
runtime executes embedded module source without our package); the
|
||||
bauvorhaben flow uses it, and Langflow no longer normalizes the node
|
||||
back to the default form on import.
|
||||
- Form parser also recognizes user-built `CustomComponent` nodes whose
|
||||
display name ends with `"Form"` (e.g. Mitarbeiter Einstellen Form) —
|
||||
same template contract, no kirche base needed.
|
||||
- Standalone `CustomInputMitarbeiter` component ("Mitarbeiter Einstellen
|
||||
Form") with hiring flow incl. Gehaltsrechner, rebuilt generator-owned.
|
||||
- Admin flow table shows one row per flow (latest version, with live
|
||||
version note when an older version is deployed) instead of one row
|
||||
per version.
|
||||
- Step-by-step guide for new workflow modules: `docs/new_workflow_module.md`
|
||||
(linked from README).
|
||||
### Changed
|
||||
- `CustomInputForm.collect()` is now dynamic and returns `Data` (JSON)
|
||||
instead of `Message`: fields can be renamed, added, or removed in the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue