Ma77Ball opened a new issue, #8944: URL: https://github.com/apache/texera/issues/8944
### Task Summary The operator property panel (`operator-property-edit-frame.component.ts`) carries ~185 lines of HuggingFace-specific field wiring inline in its field-mapping loop: the task-category lists, a `getSelectedTask` helper, and the per-field `hide` expressions and required-validators for the image/audio inputs, their column pickers, the prompt column, the text-generation controls, context, candidate labels, and sentences fields. This is operator-specific logic living in a generic component, and it is only reachable by rendering the whole panel, so it has no direct test. This task extracts it verbatim into a pure helper (`workspace/util/hugging-face-field-bindings.ts`), beside the existing `custom-formly-type.ts` that already owns the sibling "which widget a field renders as" concern, and adds a unit test for it. Behavior is unchanged. ### Task Type - [x] Code Refactoring/Cleanup -- 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]
