From ccc64b36480a1cfb68c4e1fb9312c23020ef6aae Mon Sep 17 00:00:00 2001 From: Shubham Takode Date: Mon, 4 Mar 2024 17:13:24 +0530 Subject: [PATCH] commented console logs --- .../edit-pipeline-page/edit-pipeline-page.component.ts | 4 ++-- .../pipeline-step-info/pipeline-step-info.component.ts | 2 +- .../edit-pipeline-page/react/pipeline-step.component.tsx | 3 ++- .../pipeline-add-step-form.component.ts | 3 ++- .../create-new-pipeline-form.component.ts | 3 ++- src/app/webapp-common/pipelines/pipelines.effects.ts | 4 ++-- 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/app/webapp-common/pipelines/edit-pipeline-page/edit-pipeline-page.component.ts b/src/app/webapp-common/pipelines/edit-pipeline-page/edit-pipeline-page.component.ts index 764254aa..1ef9fe48 100644 --- a/src/app/webapp-common/pipelines/edit-pipeline-page/edit-pipeline-page.component.ts +++ b/src/app/webapp-common/pipelines/edit-pipeline-page/edit-pipeline-page.component.ts @@ -117,7 +117,7 @@ export class EditPipelinePageComponent implements OnInit, OnDestroy { } this.selectedStepInputOutputOptions = options; - console.log(options); + // console.log(options); } set selectedStep(data) { @@ -142,7 +142,7 @@ export class EditPipelinePageComponent implements OnInit, OnDestroy { this.selectedPipeline$.pipe().subscribe((pipelineData) => { this.selectedPipeline = pipelineData; // eslint-disable-next-line no-console - console.log(pipelineData); + //console.log(pipelineData); }) ); diff --git a/src/app/webapp-common/pipelines/edit-pipeline-page/pipeline-step-info/pipeline-step-info.component.ts b/src/app/webapp-common/pipelines/edit-pipeline-page/pipeline-step-info/pipeline-step-info.component.ts index c663752b..e947bec7 100644 --- a/src/app/webapp-common/pipelines/edit-pipeline-page/pipeline-step-info/pipeline-step-info.component.ts +++ b/src/app/webapp-common/pipelines/edit-pipeline-page/pipeline-step-info/pipeline-step-info.component.ts @@ -112,7 +112,7 @@ export class PipelineStepInfoComponent { }) .afterClosed().subscribe((data) => { // eslint-disable-next-line no-console - console.log(data); + //console.log(data); if(data?.isConfirmed) { this.deleteStep.emit(this._step); } diff --git a/src/app/webapp-common/pipelines/edit-pipeline-page/react/pipeline-step.component.tsx b/src/app/webapp-common/pipelines/edit-pipeline-page/react/pipeline-step.component.tsx index 5b27ad5c..c2e81386 100644 --- a/src/app/webapp-common/pipelines/edit-pipeline-page/react/pipeline-step.component.tsx +++ b/src/app/webapp-common/pipelines/edit-pipeline-page/react/pipeline-step.component.tsx @@ -28,7 +28,7 @@ export default function PipelineStepComponent({ data, selected, ...others }) { >
+ {/*

{data?.experimentDetails?.name}

*/} {/* */} {/*
{{runTime | duration}} diff --git a/src/app/webapp-common/pipelines/pipeline-add-step-dialog/pipeline-add-step-form/pipeline-add-step-form.component.ts b/src/app/webapp-common/pipelines/pipeline-add-step-dialog/pipeline-add-step-form/pipeline-add-step-form.component.ts index c2ded782..e2e369d2 100644 --- a/src/app/webapp-common/pipelines/pipeline-add-step-dialog/pipeline-add-step-form/pipeline-add-step-form.component.ts +++ b/src/app/webapp-common/pipelines/pipeline-add-step-dialog/pipeline-add-step-form/pipeline-add-step-form.component.ts @@ -211,9 +211,10 @@ export class PipelineAddStepFormComponent implements OnChanges, OnDestroy { this.scrollIndexCounter = -1; this.cdr.detectChanges(); } + // eslint-disable-next-line @typescript-eslint/no-unused-vars onFormValuesChanged(event: { field: string; value: any }) { // eslint-disable-next-line no-console - console.log(event); + //console.log(event); // this.store.dispatch(updateExperimentAtPath({path: ('hyperparams.' + event.field), value: event.value})); } } diff --git a/src/app/webapp-common/pipelines/pipeline-dialog/create-new-pipeline-form/create-new-pipeline-form.component.ts b/src/app/webapp-common/pipelines/pipeline-dialog/create-new-pipeline-form/create-new-pipeline-form.component.ts index caae8087..1ae6ea39 100644 --- a/src/app/webapp-common/pipelines/pipeline-dialog/create-new-pipeline-form/create-new-pipeline-form.component.ts +++ b/src/app/webapp-common/pipelines/pipeline-dialog/create-new-pipeline-form/create-new-pipeline-form.component.ts @@ -197,9 +197,10 @@ export class CreateNewPipelineFormComponent implements OnChanges, OnDestroy { this.cdr.detectChanges(); } + // eslint-disable-next-line @typescript-eslint/no-unused-vars onFormValuesChanged(event: { field: string; value: any }) { // eslint-disable-next-line no-console - console.log(event); + // console.log(event); // this.store.dispatch(updateExperimentAtPath({path: ('hyperparams.' + event.field), value: event.value})); } } diff --git a/src/app/webapp-common/pipelines/pipelines.effects.ts b/src/app/webapp-common/pipelines/pipelines.effects.ts index 93ea3d65..306b7809 100644 --- a/src/app/webapp-common/pipelines/pipelines.effects.ts +++ b/src/app/webapp-common/pipelines/pipelines.effects.ts @@ -152,7 +152,7 @@ export class PipelinesEffects { switchMap(([action, selectedPipelineData]) => this.pipelinesApiService.pipelinesCreateStep(action.pipelinesCreateStepRequest) .pipe(mergeMap((res: PipelinesCreateStepsResponse) => { // eslint-disable-next-line no-console - console.log(res) + //console.log(res) // this.router.navigate(['pipelines', res.id, 'edit']); //this.pipelinesApiService.pipelinesGetById({pipeline: action.pipelinesCreateStepRequest.pipeline_id}).pipe() //const selectedPipeline = @@ -243,7 +243,7 @@ export class PipelinesEffects { switchMap((action) => this.pipelinesApiService.pipelinesSettingCall(action.pipelinesSettingsRequest) .pipe(mergeMap((res: pipelinesSettingsModel) => { // eslint-disable-next-line no-console - console.log(res) + // console.log(res) // this.router.navigate(['pipelines', res.id, 'edit']); return [deactivateLoader(pipelineSettings.type)]; }),