This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 45b68b1233 fix: Button margin and close button in data explorer (#3883)
45b68b1233 is described below
commit 45b68b123388cf97fa6fb1f57bcdf3ab2ffe7d75
Author: Dominik Riemer <[email protected]>
AuthorDate: Mon Oct 27 15:16:23 2025 +0100
fix: Button margin and close button in data explorer (#3883)
---
.../data-explorer-chart-container.component.html | 27 ++++++++++++----------
.../save-pipeline/save-pipeline.component.html | 8 ++-----
2 files changed, 17 insertions(+), 18 deletions(-)
diff --git
a/ui/src/app/data-explorer-shared/components/chart-container/data-explorer-chart-container.component.html
b/ui/src/app/data-explorer-shared/components/chart-container/data-explorer-chart-container.component.html
index b5e72d37e5..c780b4c03f 100644
---
a/ui/src/app/data-explorer-shared/components/chart-container/data-explorer-chart-container.component.html
+++
b/ui/src/app/data-explorer-shared/components/chart-container/data-explorer-chart-container.component.html
@@ -134,18 +134,21 @@
</button>
</sp-time-selector-menu>
</mat-menu>
- <button
- mat-icon-button
- (click)="removeWidget()"
- [matTooltip]="'Delete Chart' | translate"
- *ngIf="editMode && hasDataExplorerWritePrivileges"
- [attr.data-cy]="
- 'remove-' +
- configuredWidget.baseAppearanceConfig.widgetTitle
- "
- >
- <mat-icon>clear</mat-icon>
- </button>
+ @if (!dataViewMode) {
+ <button
+ mat-icon-button
+ (click)="removeWidget()"
+ [matTooltip]="'Delete Chart' | translate"
+ *ngIf="editMode && hasDataExplorerWritePrivileges"
+ [attr.data-cy]="
+ 'remove-' +
+ configuredWidget.baseAppearanceConfig
+ .widgetTitle
+ "
+ >
+ <mat-icon>clear</mat-icon>
+ </button>
+ }
</div>
}
</div>
diff --git
a/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
b/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
index 684b3a23c6..75ffc1fecb 100644
--- a/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
+++ b/ui/src/app/editor/dialog/save-pipeline/save-pipeline.component.html
@@ -50,10 +50,9 @@
</div>
</div>
<mat-divider></mat-divider>
- <div class="sp-dialog-actions">
+ <div class="sp-dialog-actions" fxLayoutGap="10px">
<button
mat-flat-button
- color="accent"
(click)="hide(false)"
*ngIf="operationCompleted"
>
@@ -61,7 +60,7 @@
</button>
<button
mat-flat-button
- color="accent"
+ class="mat-basic"
data-cy="sp-navigate-to-pipeline-overview"
(click)="navigateToPipelineOverview()"
*ngIf="operationCompleted"
@@ -75,11 +74,9 @@
operationProgress ||
operationCompleted
"
- mat-button
mat-flat-button
color="accent"
(click)="savePipeline()"
- style="margin-right: 10px"
data-cy="sp-editor-apply"
>
Apply
@@ -88,7 +85,6 @@
*ngIf="
!operationProgress && (!operationCompleted ||
!operationSuccess)
"
- mat-button
mat-flat-button
class="mat-basic"
(click)="hide(true)"