Skip to content

feat(frontend): add inert UDF UiParameter property editor support#4832

Draft
carloea2 wants to merge 2 commits intoapache:mainfrom
carloea2:ui-parameter-1
Draft

feat(frontend): add inert UDF UiParameter property editor support#4832
carloea2 wants to merge 2 commits intoapache:mainfrom
carloea2:ui-parameter-1

Conversation

@carloea2
Copy link
Copy Markdown
Contributor

@carloea2 carloea2 commented May 3, 2026

What changes were proposed in this PR?

This is PR 1 of the UiParameter split stack.

This PR adds the frontend and schema surface needed to load and display uiParameters in Python UDF operator properties, without changing workflow execution behavior.

It includes:

  • Minimal Scala operator descriptor support for a uiParameters property.
  • A UiUDFParameter schema model.
  • A Formly ui-udf-parameters editor.
  • Property editor mapping so uiParameters renders as a dedicated Parameters section.
  • Name/type are shown as code-derived fields; value is user-editable.

Execution remains unchanged: descriptors still execute the original Python code.

sequenceDiagram
    autonumber

    participant JSON as Workflow JSON
    participant Desc as Scala UDF Descriptor
    participant Props as Operator Properties
    participant Formly as Formly Property Editor
    participant UI as UiUdfParametersComponent
    participant Exec as Existing Execution Path

    JSON->>Desc: Load uiParameters property
    Desc->>Props: Preserve uiParameters metadata
    Props->>Formly: Render operator schema
    Formly->>UI: Use ui-udf-parameters editor
    UI-->>Formly: Edit values only
    Formly->>Props: Save uiParameters
    Props->>Exec: Execute unchanged code path
Loading

@github-actions github-actions Bot added frontend Changes related to the frontend GUI common labels May 3, 2026
@carloea2
Copy link
Copy Markdown
Contributor Author

carloea2 commented May 3, 2026

@kunwp1 please confirm if this layout is ok for you to review. Then I can test it locally and request your review once it is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant