Skip to content

Commit

Permalink
Bug fix pipeline editor (#3360)
Browse files Browse the repository at this point in the history
* Add warning that live dashboard is deprecated

* fix: Resolve minor issues in pipeline editor
  • Loading branch information
Marcelfrueh authored Nov 29, 2024
1 parent 2ea23c0 commit c616fb3
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,22 @@ <h5>Possible placeholders:</h5>
(click)="applyPlaceholder(property.runtimeName)"
color="accent"
*ngFor="let property of eventSchemas[0].eventProperties"
style="margin-right: 5px; margin-bottom: 5px"
>#{{ property.runtimeName }}#
</mat-chip>
</mat-chip-list>
</div>
</div>
<div fxFlex="100" *ngIf="staticProperty.multiLine">
<quill-editor
fxFlex="100"
*ngIf="staticProperty.htmlFontFormat"
#textEditor
formControlName="{{ fieldName }}"
[modules]="quillModulesFontFormat"
></quill-editor>
<quill-editor
fxFlex="100"
*ngIf="!staticProperty.htmlFontFormat"
#textEditor
formControlName="{{ fieldName }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ form {
float: left;
}

tags {
margin-bottom: 50px;
}

::ng-deep.mat-accent ::ng-deep.mat-slider-track-fill,
.mat-accent ::ng-deep.mat-slider-thumb,
.mat-accent ::ng-deep.mat-slider-thumb-label {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@
</div>
</div>
<div fxFlex fxLayoutAlign="start start" fxLayout="column">
<div class="element-name" fxLayoutAlign="start start">
<div
[ngClass]="{
'element-name-hover': currentMouseOver,
'element-name': !currentMouseOver
}"
>
{{ element.name }}
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@
.element-name {
font-size: 11pt;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
white-space: nowrap;
max-width: 170px;
}

.element-name-hover {
font-size: 11pt;
font-weight: 500;
word-wrap: break-word;
overflow-wrap: anywhere;
word-break: break-word;
}

.element-description {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
}

.search-field {
width: 180px;
width: 230px;
}

.group-outer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@
[pipelineElement]="pipelineElementConfig.payload"
></sp-pipeline-element>
</div>
<div class="editor-pe-info" [ngClass]="'pe-info-' + pipelineElementConfig.type">
<div
class="editor-pe-info"
[ngClass]="'pe-info-' + pipelineElementConfig.type"
matTooltip="{{ pipelineElementConfig.payload.name }}"
>
{{ pipelineElementConfig.payload.name }}
</div>
<sp-pipeline-element-statistics
Expand Down
3 changes: 3 additions & 0 deletions ui/src/scss/sp/pipeline-element-options.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
text-align: center;
box-shadow: 0 0 2px #555;
-webkit-animation: slidein 0.5s;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}

@keyframes slidein {
Expand Down

0 comments on commit c616fb3

Please sign in to comment.