-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change template PreprocessStepComponent.
- Loading branch information
Dmitriy Borzenko
committed
Jul 14, 2023
1 parent
3434ae2
commit 6599716
Showing
6 changed files
with
52 additions
and
35 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
...onents/metadata-component/components/add-polling-source/add-polling-source.component.sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
|
||
.layout | ||
max-width: 1000px | ||
max-width: 1200px | ||
width: 100% | ||
margin-right: auto | ||
margin-left: auto | ||
padding-bottom: 100px | ||
padding: 0 30px 100px | ||
position: relative |
63 changes: 37 additions & 26 deletions
63
...ponent/components/add-polling-source/steps/preprocess-step/preprocess-step.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,40 @@ | ||
<div> | ||
<h2 class="text-center">Preprocess</h2> | ||
<div class="d-flex justify-content-center mt-4"> | ||
<div class="form-check"> | ||
<input | ||
class="form-check-input" | ||
type="checkbox" | ||
[(ngModel)]="showPreprocessStep" | ||
(change)="onCheckedPreprocessStep($event)" | ||
data-test-id="read-isAddPreprocessStep" | ||
/> | ||
<label class="form-check-label"> Use Preprocess step </label> | ||
</div> | ||
<h2 class="text-center">Preprocess</h2> | ||
<div class="d-flex justify-content-center flex-column align-items-center mt-4"> | ||
<div class="form-check"> | ||
<input | ||
class="form-check-input" | ||
type="checkbox" | ||
[(ngModel)]="showPreprocessStep" | ||
(change)="onCheckedPreprocessStep($event)" | ||
data-test-id="read-isAddPreprocessStep" | ||
/> | ||
<label class="form-check-label"> Use Preprocess step </label> | ||
</div> | ||
<div *ngIf="!showPreprocessStep" class="text-muted text-center fs-6 mt-2"> | ||
Enable preprocessing query, if you would like to transform your data | ||
during the ingestion process | ||
</div> | ||
<ng-container *ngIf="showPreprocessStep"> | ||
<div class="d-flex justify-content-center mb-4"> | ||
<app-engine-section | ||
[currentSetTransformEvent]="setPollingSourceEvent?.preprocess" | ||
[selectedEngine]="preprocessValue.engine" | ||
(onEmitSelectedEngine)="onSelectEngine($event)" | ||
></app-engine-section> | ||
</div> | ||
|
||
<ng-container *ngIf="showPreprocessStep"> | ||
<div class="row"> | ||
<div class="col-lg-4 ps-4"> | ||
<div class="container-engine"> | ||
<app-engine-section | ||
[currentSetTransformEvent]=" | ||
setPollingSourceEvent?.preprocess | ||
" | ||
[selectedEngine]="preprocessValue.engine" | ||
(onEmitSelectedEngine)="onSelectEngine($event)" | ||
></app-engine-section> | ||
</div> | ||
</div> | ||
<div class="container-queries"> | ||
<app-queries-section | ||
[queries]="preprocessValue.queries" | ||
></app-queries-section> | ||
<div class="col-lg-8"> | ||
<div class="mt-4 px-4"> | ||
<app-queries-section | ||
[queries]="preprocessValue.queries" | ||
></app-queries-section> | ||
</div> | ||
</div> | ||
</ng-container> | ||
</div> | ||
</div> | ||
</ng-container> |
7 changes: 6 additions & 1 deletion
7
...ponent/components/add-polling-source/steps/preprocess-step/preprocess-step.component.sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
.container-queries | ||
margin: 50px 50px 0 | ||
margin: 70px 0 0 50px | ||
|
||
.container-engine | ||
margin: 85px 0 0 20px | ||
display: flex | ||
justify-content: center |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters