You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/07/13 13:54:36 UTC

[incubator-streampipes] 03/05: [hotfix] Minor layout improvements

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

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

commit 55b850132243d2b772f930e2a582125cecf169a9
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Wed Jul 13 15:53:39 2022 +0200

    [hotfix] Minor layout improvements
---
 .../components/existing-adapters/existing-adapters.component.html   | 6 +++++-
 .../schema-editor-header/schema-editor-header.component.html        | 2 +-
 .../adapter-options-panel/adapter-options-panel.component.html      | 2 +-
 ui/src/app/pipelines/pipelines.component.html                       | 2 +-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ui/src/app/connect/components/existing-adapters/existing-adapters.component.html b/ui/src/app/connect/components/existing-adapters/existing-adapters.component.html
index b15664311..6f92c7656 100644
--- a/ui/src/app/connect/components/existing-adapters/existing-adapters.component.html
+++ b/ui/src/app/connect/components/existing-adapters/existing-adapters.component.html
@@ -18,7 +18,11 @@
 <sp-basic-view [showBackLink]="false" [padding]="true">
 
     <div nav fxFlex="100" fxLayoutAlign="start center" fxLayout="row" class="pl-10">
-        <button mat-button mat-raised-button color="accent" (click)="createNewAdapter()">
+        <button mat-button
+                mat-raised-button
+                color="accent"
+                data-cy="connect-create-new-adapter-button"
+                (click)="createNewAdapter()">
             <i class="material-icons">add</i>&nbsp;New adapter
         </button>
         <sp-connect-filter-toolbar
diff --git a/ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.html b/ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.html
index 7bd8abdaa..841820167 100644
--- a/ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.html
+++ b/ui/src/app/connect/components/new-adapter/schema-editor/schema-editor-header/schema-editor-header.component.html
@@ -36,7 +36,7 @@
         </button>
         <button color="accent"
                 mat-button
-                data-cy="connect-add-timestamp-property"
+                data-cy="connect-schema-add-timestamp-btn"
                 matTooltip="Add timestamp to event schema"
                 (click)="addTimestampProperty()">
             <mat-icon>access_time</mat-icon>
diff --git a/ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.html b/ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.html
index a8ed1d084..4a769b4d2 100644
--- a/ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.html
+++ b/ui/src/app/connect/components/new-adapter/start-adapter-configuration/adapter-options-panel/adapter-options-panel.component.html
@@ -25,7 +25,7 @@
             <div fxFlex="100" class="title" fxLayout="row">
                 <div fxLayoutAlign="start start" class="mr-15">
                     <mat-checkbox (change)="optionSelectedEmitter.emit($event.checked)"
-                                  data-cy="{{dataCy}}" class="large-checkbox">
+                                  [attr.data-cy]="dataCy" class="large-checkbox">
                     </mat-checkbox>
                 </div>
                 <div fxFlex fxLayout="column">
diff --git a/ui/src/app/pipelines/pipelines.component.html b/ui/src/app/pipelines/pipelines.component.html
index 71835b494..fb08754e6 100644
--- a/ui/src/app/pipelines/pipelines.component.html
+++ b/ui/src/app/pipelines/pipelines.component.html
@@ -18,7 +18,7 @@
 
 <sp-basic-view [showBackLink]="false" [padding]="true">
     <div nav fxFlex="100" fxLayoutAlign="start center" fxLayout="row" class="pl-10">
-        <button mat-button mat-raised-button color="accent" (click)="navigateToPipelineEditor()">
+        <button mat-button mat-raised-button color="accent" (click)="navigateToPipelineEditor()" data-cy="pipelines-navigate-to-editor">
             <i class="material-icons">add</i>&nbsp;New pipeline
         </button>
         <button class="mr-10" mat-button color="accent" (click)="startAllPipelines(true)"