You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "yangzhang75 (via GitHub)" <gi...@apache.org> on 2026/09/06 06:46:11 UTC
[I] feat(workflow-form): Form View input refinements (HuggingFace form mode, compilation-on-blur) [texera]
yangzhang75 opened a new issue, #8439:
URL: https://github.com/apache/texera/issues/8439
Two minor refinements surfaced in review of the input-rendering PR (#8437, sub-issue #8370). Both are out of scope for the MVP; filing so they are not lost. Part of the Form View feature (#8011).
### 1. Full HuggingFace form-view mode
An exposed HuggingFace model picker (`modelId`) now gets the operator's other properties (including `task`) as read-only context, so it loads the right models and labels the field correctly, and only the bound property is written back. What is not yet handled: the widget's own task selector is still interactive, and a task change is not persisted (the form writes back only the bound property), so a reader could in principle pick a model/task pair the operator's real task does not match.
A proper form-view mode for the widget would use the provided task and hide/lock the task selector, so only the model is chosen. This touches the shared `hugging-face.component`, which is why it is deferred out of the render slice.
### 2. Compilation update dropped while the reader is typing
The inputs rebuild on the compilation-state stream, and the rebuild is skipped while the reader is typing so it does not throw away a half-entered value. The stream is a `ReplaySubject(1)`, so a state update that arrives during typing is dropped and not replayed once focus leaves the field. If that update carried new upstream column names, an attribute control stays a plain text box until some unrelated compilation fires. The fix is to record a pending rebuild and flush it on blur.
--
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] feat(workflow-form): Form View input refinements (HuggingFace form mode, compilation-on-blur) [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8439:
URL: https://github.com/apache/texera/issues/8439#issuecomment-5557542033
<!-- texera:template-compliance -->
👋 Thanks for opening this issue, @yangzhang75!
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
Re: [I] feat(workflow-form): Form View widget refinements (render canvas-only widgets fully, HuggingFace mode, compile-on-blur) [texera]
Posted by "yangzhang75 (via GitHub)" <gi...@apache.org>.
yangzhang75 commented on issue #8439:
URL: https://github.com/apache/texera/issues/8439#issuecomment-5783257410
A second way to item 1's missing editor host, found while auditing #8581. It is not only an exposed code property that reaches it: the Form View's step panel renders the operator's real property frame, and in edit mode (`panelLive`) that frame is interactive, so a Python UDF step shows the ordinary code-editor button. Pressing it calls `codeEditorService.vc.createComponent(...)` (`codearea-custom-template.component.ts:87`), and the only thing that ever sets `vc` is the canvas (`workspace.component.ts`, its `<ng-template #codeEditor>`).
Two failure modes, both broken: before #8581 the Form View was a fresh page load, so `vc` was `undefined` and the click threw; with #8581 the canvas -> form switch routes, so `vc` is the destroyed canvas's `ViewContainerRef` (its `ngOnDestroy` clears the container but keeps the reference) and Monaco is created into a detached view -- nothing visible. Neither is a regression of #8581; it is the same missing host. Worth knowing when this is picked up: the button is reachable today, so hiding it in the form until the host exists is a cheap interim, and whatever host is added should be owned above both views (or handed over with the session) rather than by the canvas alone.
--
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] feat(workflow-form): Form View widget refinements (render canvas-only widgets fully, HuggingFace mode, compile-on-blur) [texera]
Posted by "yangzhang75 (via GitHub)" <gi...@apache.org>.
yangzhang75 commented on issue #8439:
URL: https://github.com/apache/texera/issues/8439#issuecomment-5557805216
/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] feat(workflow-form): Form View widget refinements (render canvas-only widgets fully, HuggingFace mode, compile-on-blur) [texera]
Posted by "yangzhang75 (via GitHub)" <gi...@apache.org>.
yangzhang75 commented on issue #8439:
URL: https://github.com/apache/texera/issues/8439#issuecomment-5976607290
/sub-issue #8758 #8759 #8760 #8761 #8762 #8763
--
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