carloea2 opened a new pull request, #5043: URL: https://github.com/apache/texera/pull/5043
### What changes were proposed in this PR? This PR adds frontend building blocks for Python UDF UI parameters. It introduces: | Area | Change | | --- | --- | | Python parameter parser | Adds a parser service for detecting supported `self.UiParameter(...)` declarations. | | Parameter sync utility | Adds a service that can merge inferred parameter structure with existing edited values. | | Formly field type | Adds and registers a `ui-udf-parameters` Formly component for displaying parameter rows. | | Type definitions | Extends frontend workflow-compiling types to represent UI parameter metadata. | | Dependency | Adds `@lezer/python` for Python syntax parsing. | This PR does not complete the end-to-end feature by itself. The parser/sync utilities are added here, but full wiring with backend operator descriptors and runtime injection is handled by later PRs in the stack. ### Any related issues, documentation, discussions? Part of the Python UDF UI parameter feature split from `feat/ui-parameter`. Intended stack order: 1. Frontend UI parameter building blocks 2. Scala backend injection model 3. Python runtime support 4. End-to-end integration ### How was this PR tested? Added frontend unit tests for the parser and sync service. Commands run: ```bash cd frontend node .yarn/releases/yarn-4.14.1.cjs build:ci node .yarn/releases/yarn-4.14.1.cjs test --watch=false --include=src/app/workspace/service/code-editor/ui-udf-parameters-parser.service.spec.ts --include=src/app/workspace/service/code-editor/ui-udf-parameters-sync.service.spec.ts -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
