@@ -231,11 +231,9 @@ qx.Class.define("osparc.data.model.Node", {
231231 // "inputConnected", // frontend only
232232 // "outputConnected", // frontend only
233233 // "logger", // frontend only
234- /*
235- "progress", // TODO
236- */
237- "inputNodes" , // !! not a property but goes into the model
238- "inputsRequired" , // !! not a property but goes into the model
234+ "inputNodes" , // !! not a property but goes into the model
235+ "inputsRequired" , // !! not a property but goes into the model
236+ "progress" , // !! not a property but goes into the model
239237 ] ,
240238
241239 isFrontend : function ( metadata ) {
@@ -1376,6 +1374,18 @@ qx.Class.define("osparc.data.model.Node", {
13761374 "osparc-resource" : "node" ,
13771375 } ) ;
13781376 } , this ) ;
1377+
1378+ if ( this . isFilePicker ( ) ) {
1379+ this . getStatus ( ) . addListener ( "changeProgress" , e => {
1380+ const data = e . getData ( ) ;
1381+ this . fireDataEvent ( "updateStudyDocument" , {
1382+ "op" : "replace" ,
1383+ "path" : `/workbench/${ nodeId } /progress` ,
1384+ "value" : data ,
1385+ "osparc-resource" : "node" ,
1386+ } ) ;
1387+ } ) ;
1388+ }
13791389 } ,
13801390
13811391 serialize : function ( ) {
0 commit comments