commented console logs

This commit is contained in:
Shubham Takode 2024-03-04 17:13:24 +05:30
parent fad1ff29dd
commit ccc64b3648
6 changed files with 11 additions and 8 deletions

View File

@ -117,7 +117,7 @@ export class EditPipelinePageComponent implements OnInit, OnDestroy {
} }
this.selectedStepInputOutputOptions = options; this.selectedStepInputOutputOptions = options;
console.log(options); // console.log(options);
} }
set selectedStep(data) { set selectedStep(data) {
@ -142,7 +142,7 @@ export class EditPipelinePageComponent implements OnInit, OnDestroy {
this.selectedPipeline$.pipe().subscribe((pipelineData) => { this.selectedPipeline$.pipe().subscribe((pipelineData) => {
this.selectedPipeline = pipelineData; this.selectedPipeline = pipelineData;
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log(pipelineData); //console.log(pipelineData);
}) })
); );

View File

@ -112,7 +112,7 @@ export class PipelineStepInfoComponent {
}) })
.afterClosed().subscribe((data) => { .afterClosed().subscribe((data) => {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log(data); //console.log(data);
if(data?.isConfirmed) { if(data?.isConfirmed) {
this.deleteStep.emit(this._step); this.deleteStep.emit(this._step);
} }

View File

@ -28,7 +28,7 @@ export default function PipelineStepComponent({ data, selected, ...others }) {
></i> ></i>
<div className="title" title={data?.name} style={{ <div className="title" title={data?.name} style={{
flex: 1, flex: 1,
maxWidth: "108px", maxWidth: "inherit",
overflow: "hidden", overflow: "hidden",
textOverflow: "ellipsis", textOverflow: "ellipsis",
whiteSpace: "nowrap" whiteSpace: "nowrap"
@ -42,6 +42,7 @@ export default function PipelineStepComponent({ data, selected, ...others }) {
justifyContent: "space-between", justifyContent: "space-between",
height: "26px" height: "26px"
}}> }}>
{/* <p>{data?.experimentDetails?.name}</p> */}
{/* <i *ngIf="step.data.status !== 'pending'" class="al-icon sm-md" [class]="'al-ico-status-' + step.data.status" data-id="stepStatusIcon"></i> */} {/* <i *ngIf="step.data.status !== 'pending'" class="al-icon sm-md" [class]="'al-ico-status-' + step.data.status" data-id="stepStatusIcon"></i> */}
{/* <div *ngIf="step?.data?.job_started"> {/* <div *ngIf="step?.data?.job_started">
{{runTime | duration}} {{runTime | duration}}

View File

@ -211,9 +211,10 @@ export class PipelineAddStepFormComponent implements OnChanges, OnDestroy {
this.scrollIndexCounter = -1; this.scrollIndexCounter = -1;
this.cdr.detectChanges(); this.cdr.detectChanges();
} }
// eslint-disable-next-line @typescript-eslint/no-unused-vars
onFormValuesChanged(event: { field: string; value: any }) { onFormValuesChanged(event: { field: string; value: any }) {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log(event); //console.log(event);
// this.store.dispatch(updateExperimentAtPath({path: ('hyperparams.' + event.field), value: event.value})); // this.store.dispatch(updateExperimentAtPath({path: ('hyperparams.' + event.field), value: event.value}));
} }
} }

View File

@ -197,9 +197,10 @@ export class CreateNewPipelineFormComponent implements OnChanges, OnDestroy {
this.cdr.detectChanges(); this.cdr.detectChanges();
} }
// eslint-disable-next-line @typescript-eslint/no-unused-vars
onFormValuesChanged(event: { field: string; value: any }) { onFormValuesChanged(event: { field: string; value: any }) {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log(event); // console.log(event);
// this.store.dispatch(updateExperimentAtPath({path: ('hyperparams.' + event.field), value: event.value})); // this.store.dispatch(updateExperimentAtPath({path: ('hyperparams.' + event.field), value: event.value}));
} }
} }

View File

@ -152,7 +152,7 @@ export class PipelinesEffects {
switchMap(([action, selectedPipelineData]) => this.pipelinesApiService.pipelinesCreateStep(action.pipelinesCreateStepRequest) switchMap(([action, selectedPipelineData]) => this.pipelinesApiService.pipelinesCreateStep(action.pipelinesCreateStepRequest)
.pipe(mergeMap((res: PipelinesCreateStepsResponse) => { .pipe(mergeMap((res: PipelinesCreateStepsResponse) => {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log(res) //console.log(res)
// this.router.navigate(['pipelines', res.id, 'edit']); // this.router.navigate(['pipelines', res.id, 'edit']);
//this.pipelinesApiService.pipelinesGetById({pipeline: action.pipelinesCreateStepRequest.pipeline_id}).pipe() //this.pipelinesApiService.pipelinesGetById({pipeline: action.pipelinesCreateStepRequest.pipeline_id}).pipe()
//const selectedPipeline = //const selectedPipeline =
@ -243,7 +243,7 @@ export class PipelinesEffects {
switchMap((action) => this.pipelinesApiService.pipelinesSettingCall(action.pipelinesSettingsRequest) switchMap((action) => this.pipelinesApiService.pipelinesSettingCall(action.pipelinesSettingsRequest)
.pipe(mergeMap((res: pipelinesSettingsModel) => { .pipe(mergeMap((res: pipelinesSettingsModel) => {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
console.log(res) // console.log(res)
// this.router.navigate(['pipelines', res.id, 'edit']); // this.router.navigate(['pipelines', res.id, 'edit']);
return [deactivateLoader(pipelineSettings.type)]; return [deactivateLoader(pipelineSettings.type)];
}), }),