This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch STREAMPIPES-145
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/STREAMPIPES-145 by this push:
     new c6440ad  [STREAMPIPES-145] Add tooltip to pipeline element overview
c6440ad is described below

commit c6440ad2636a824aba5dddaa4c98ec9e4e625a82
Author: Dominik Riemer <[email protected]>
AuthorDate: Thu Jul 2 23:10:46 2020 +0200

    [STREAMPIPES-145] Add tooltip to pipeline element overview
---
 .../pipeline-element-icon-stand.component.html                       | 2 +-
 .../pipeline-element-icon-stand.component.scss                       | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/ui/src/app/editor-v2/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.html
 
b/ui/src/app/editor-v2/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.html
index 794d17f..74ca991 100644
--- 
a/ui/src/app/editor-v2/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.html
+++ 
b/ui/src/app/editor-v2/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.html
@@ -49,7 +49,7 @@
     </div>
 </div>
 <div flex id="editor-icon-stand" class="icon-stand" 
*ngIf="currentlyFilteredElements">
-    <span id="{{ element.appId }}" (mouseenter)="updateMouseOver(element.name)"
+    <span matTooltip="{{element.name}}" [matTooltipPosition]="'above'" 
[matTooltipClass]="tooltip" id="{{ element.appId }}" 
(mouseenter)="updateMouseOver(element.name)"
           (mouseleave)="updateMouseOver('')"
           *ngFor="let element of currentlyFilteredElements"
           class="draggable-icon tt"
diff --git 
a/ui/src/app/editor-v2/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.scss
 
b/ui/src/app/editor-v2/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.scss
index a2714f7..ebb0e93 100644
--- 
a/ui/src/app/editor-v2/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.scss
+++ 
b/ui/src/app/editor-v2/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.scss
@@ -22,4 +22,9 @@
     color: $sp-color-accent;
     display: flex;
     align-items: center;
+}
+
+::ng-deep.mat-tooltip.tooltip {
+    background-color: darkblue;
+    font-size: 12px;
 }
\ No newline at end of file

Reply via email to