aglinxinyuan commented on code in PR #3999:
URL: https://github.com/apache/texera/pull/3999#discussion_r2467833252
##########
frontend/src/app/workspace/component/workflow-editor/workflow-editor.component.ts:
##########
@@ -376,6 +376,18 @@ export class WorkflowEditorComponent implements OnInit,
AfterViewInit, OnDestroy
.filter(region => region.operators.includes(operator))
.forEach(region => this.updateRegionElement(region.regionElement,
region.operators));
});
+
+ this.executeWorkflowService
+ .getRegionStateStream()
+ .pipe(untilDestroyed(this))
+ .subscribe(region => {
+ const colorMap: Record<string, string> = {
+ ExecutingDependeePortsPhase: "rgba(244,67,54,0.2)",
Review Comment:
Ok, maybe I wasn’t clear enough. Since this PR mainly focuses on displaying
the region on the front end, the sentence “no regions will appear in the red
state yet” refers to the front end. I believe we don’t see the probe on the
front end either.
--
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]