carloea2 opened a new issue, #7552: URL: https://github.com/apache/texera/issues/7552
### Feature Summary Python UDF parameters are inferred from `self.UiParameter(...)` declarations and displayed in the properties panel, but users currently need to edit the Python code manually to add a parameter. Add an inline properties-panel workflow that creates a parameter declaration while keeping the Python code as the source of truth. ### Proposed Solution or Design Before: Properties panel -> inspect and edit existing parameter values Adding a parameter -> manually edit the Python UDF code After: Properties panel -> Add parameter -> enter name and type -> declaration inserted into code -> parameter row appears through the existing synchronization flow The UI should: - show an **Add parameter** button when workflow modification is enabled; - open an inline draft row with name and type fields; - support string, integer, long, double, boolean, and timestamp parameters; - allow confirmation with the check button or Enter and cancellation with the close button or Escape; - insert beside existing `UiParameter` declarations or at the beginning of `open()`; - create `open()` when the supported UDF class does not define it; - handle empty, comment-only, decorated, docstring, and `pass`-only class bodies; - reject missing, duplicate, or unsupported names and types with a visible error; - edit the shared code buffer and let the existing parser and synchronization flow update the panel. ### Affected Area Workflow UI -- 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]
