zyratlo commented on code in PR #7392:
URL: https://github.com/apache/texera/pull/7392#discussion_r3752573590


##########
frontend/src/app/workspace/component/menu/menu.component.ts:
##########
@@ -999,7 +999,22 @@ export class MenuComponent implements OnInit, OnDestroy {
     this.workflowActionService
       .getWorkflowModificationEnabledStream()
       .pipe(untilDestroyed(this))
-      .subscribe(modifiable => (this.isWorkflowModifiable = modifiable));
+      .subscribe(modifiable => {
+        this.isWorkflowModifiable = modifiable;
+        // A generation started from the workflow dashboard has no canvas to 
run on, so the
+        // dashboard defers it here: once this freshly created workflow is 
loaded and editable,
+        // pick up the handoff and run the same pipeline the toolbar button 
uses. consumePending-
+        // Generation guards by wid and clears on consume, so this fires once 
for its workflow.
+        if (modifiable && this.pythonNotebookMigrationEnabled) {
+          const wid = this.workflowActionService.getWorkflow().wid;

Review Comment:
   
[7fdbab0](https://github.com/apache/texera/pull/7392/commits/7fdbab030d2381e8ca6cc98f0da5b5558ac0c76f)



-- 
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]

Reply via email to