You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "Ma77Ball (via GitHub)" <gi...@apache.org> on 2026/10/10 05:24:39 UTC

[I] Extract HuggingFace field bindings into a testable helper [texera]

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: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Extract HuggingFace field bindings into a testable helper [texera]

Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #8944: Extract HuggingFace field bindings into a testable helper
URL: https://github.com/apache/texera/issues/8944


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Extract HuggingFace field bindings into a testable helper [texera]

Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on issue #8944:
URL: https://github.com/apache/texera/issues/8944#issuecomment-6112114706

   /take


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Extract HuggingFace field bindings into a testable helper [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8944:
URL: https://github.com/apache/texera/issues/8944#issuecomment-6094186661

   <!-- texera:template-compliance -->
   👋 Thanks for opening this issue, @Ma77Ball!
   
   It looks like the issue description doesn't quite follow our template yet:
   
   - This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
   
   Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
   
   You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
   


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org