File tree Expand file tree Collapse file tree 4 files changed +9
-12
lines changed
Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -70,17 +70,17 @@ export default function CodeEditor() {
7070 } ) ;
7171 } ;
7272
73- function handleEditorChange ( value : any , event : any ) {
74- console . log ( "here is the current model value:" , value ) ;
75- }
73+ // function handleEditorChange(value: any, event: any) {
74+ // console.log("here is the current model value:", value);
75+ // }
7676
7777 return (
7878 < div className = "overflow-scroll scroll h-full relative" >
7979 < Editor
8080 className = "h-full"
8181 defaultLanguage = { "yaml" }
8282 value = { generateCode ( ) as string }
83- onChange = { handleEditorChange }
83+ // onChange={handleEditorChange}
8484 theme = { darkMode ? "vs-dark" : "light" }
8585 />
8686 </ div >
Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ export default function WorkflowNode({
9898 </ p >
9999 < div className = "flex flex-col gap-2 h-fit max-h-[300px] scroll mt-4" >
100100 { workflowData ?. jobs ?. map ( ( job : any , key : number ) => {
101- console . log ( job ) ;
102101 var jobArray , jobName , jobData ;
103102 if ( typeof job === "object" ) {
104103 jobArray = objToArrayConverter ( job ) ;
Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ const nodeTypes: NodeTypes = {
6666 command : CommandNode ,
6767} ;
6868
69- const onNodeDrag : OnNodeDrag = ( _ , node ) => {
70- console . log ( "drag event" , node . data ) ;
71- } ;
69+ // const onNodeDrag: OnNodeDrag = (_, node) => {
70+ // console.log("drag event", node.data);
71+ // };
7272
7373type VisualEditorProps = {
7474 takingScreenshot : boolean ;
@@ -275,11 +275,9 @@ export default function VisualEditor({
275275
276276 if ( jobs . length && workflows . length ) {
277277 workflows . map ( ( workflow ) => {
278- console . log ( workflow ) ;
279278 const workflowName = workflow [ 0 ] ;
280279 const workflowData = workflow [ 1 ] ;
281280 const workflowJobsArray = workflow [ 1 ] . jobs ;
282- console . log ( workflowJobsArray ) ;
283281 workflowJobsArray ?. map ( ( wJob : any [ ] ) => {
284282 const wJobArray =
285283 typeof wJob === "string" ? [ wJob ] : objToArrayConverter ( wJob ) [ 0 ] ;
@@ -515,7 +513,7 @@ export default function VisualEditor({
515513 onNodesChange = { onNodesChange }
516514 onEdgesChange = { onEdgesChange }
517515 onConnect = { onConnect }
518- onNodeDrag = { onNodeDrag }
516+ // onNodeDrag={onNodeDrag}
519517 fitView
520518 fitViewOptions = { {
521519 padding : 0.2 ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default function Development() {
1212 const dispatch = useDispatch ( ) ;
1313 const navigate = useNavigate ( ) ;
1414 const darkMode = useSelector ( getDarkMode ) ;
15- console . log ( objToArrayConverter ( configReference ) ) ;
15+
1616 return (
1717 < div className = "flex flex-row justify-center items-center h-full dark:bg-gray-800 relative" >
1818 < div className = "absolute top-6 w-[90%] flex flex-row justify-between items-center gap-6" >
You can’t perform that action at this time.
0 commit comments