diff --git a/backend/tests/files.sh b/backend/tests/files.sh index 64417941..91171924 100755 --- a/backend/tests/files.sh +++ b/backend/tests/files.sh @@ -3,7 +3,7 @@ #curl http://localhost:5001/api/v1/files/create -H "Authorization: Bearer db0373c6-1083-4dec-a05d-3ba73f02ccd4" -d '{"filename": "file.txt", "org_id": "b199646b-16d2-456d-9fd6-b9972e929466", "workflow_id": "global"}' # #echo -#curl http://localhost:5001/api/v1/files/e19cffe4-e2da-47e9-809e-904f5cb03687/upload -H "Authorization: Bearer db0373c6-1083-4dec-a05d-3ba73f02ccd4" -F 'shuffle_file=@files.sh' +curl http://localhost:5001/api/v1/apps/upload -H "Authorization: Bearer db0373c6-1083-4dec-a05d-3ba73f02ccd4" -F 'shuffle_file=@files.sh' # #curl http://localhost:5001/api/v1/files/1915981b-b897-4db1-8a2e-44bc34cead3b/content -H "Authorization: Bearer db0373c6-1083-4dec-a05d-3ba73f02ccd4" #curl http://localhost:5001/api/v1/files/e19cffe4-e2da-47e9-809e-904f5cb03687 -H "Authorization: Bearer db0373c6-1083-4dec-a05d-3ba73f02ccd4" diff --git a/frontend/src/views/AngularWorkflow.jsx b/frontend/src/views/AngularWorkflow.jsx index 58372769..1900c960 100644 --- a/frontend/src/views/AngularWorkflow.jsx +++ b/frontend/src/views/AngularWorkflow.jsx @@ -2237,8 +2237,9 @@ const AngularWorkflow = (defaultprops) => { setLastSaved(false); parentNode.data("isStartNode", true); } - + //event.target.unselect(); + setRightSideBarOpen(true); return } else if (data.buttonType === "copy") { console.log("COPY!"); @@ -5680,7 +5681,7 @@ const AngularWorkflow = (defaultprops) => { newSelectedAction.errors = []; newSelectedAction.isValid = true; newSelectedAction.is_valid = true; - console.log(newSelectedAction) + //console.log(newSelectedAction) // Simmple action swap autocompleter if (selectedAction.parameters !== undefined && newSelectedAction.parameters !== undefined && selectedAction.id === newSelectedAction.id) { @@ -6394,7 +6395,6 @@ const AngularWorkflow = (defaultprops) => { const conditionsModal = ( { var draggingDisabled = false; const codePopoutModal = !codeModalOpen ? null : ( - { - console.log(event); - console.log(event.srcElement); - if (!dragging) { - console.log("START"); - //setDragging(true); - } - }} - disabled={true} - onStop={(e) => { - console.log("STOP"); - if (!dragging) { - return; - } - - setDragging(false); - const newoffsetX = - parseInt(dragPosition.x) - parseInt(e.layerX - e.offsetX); - const newoffsetY = - parseInt(dragPosition.y) - parseInt(e.layerY - e.offsetY); - if ( - newoffsetX <= 40 && - newoffsetX >= -40 && - newoffsetY <= 40 && - newoffsetY >= -40 - ) { - console.log("SKIP X & Y"); - return; - } - - const newPosition = { - x: e.layerX - e.offsetX, - y: e.layerY - e.offsetY, - }; - setDragPosition(newPosition); - }} - position={dragPosition} - > {
{selectedResult.action.label} @@ -12437,7 +12400,6 @@ const parsedExecutionArgument = () => {
-
); const newView = (