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 7e10c042b1 fix: Minor layout improvements in retention dialog (#3872)
7e10c042b1 is described below
commit 7e10c042b12366e9ee3a27faa65fb4abb906f568
Author: Dominik Riemer <[email protected]>
AuthorDate: Thu Oct 23 07:53:50 2025 +0200
fix: Minor layout improvements in retention dialog (#3872)
---
ui/deployment/i18n/de.json | 6 ++-
ui/deployment/i18n/en.json | 4 +-
.../datalake-configuration.component.ts | 5 +--
.../select-data-retention.component.html | 2 +-
.../data-retention-dialog.component.html | 1 -
.../export-provider-dialog.component.html | 47 ++++++++++------------
.../components/auth-box/auth-box.component.html | 4 +-
7 files changed, 33 insertions(+), 36 deletions(-)
diff --git a/ui/deployment/i18n/de.json b/ui/deployment/i18n/de.json
index ebabde119c..69a865b671 100644
--- a/ui/deployment/i18n/de.json
+++ b/ui/deployment/i18n/de.json
@@ -74,6 +74,8 @@
"Create new account": "Neuen Account erstellen",
"or": "oder",
"Login with": "Anmelden mit",
+ "Documentation": "Dokumentation",
+ "API Documentation": "API-Dokumentation",
"Preparing pipeline editor...": "Pipeline-Editor vorbereiten...",
"The tutorial requires pipeline elements that are not yet installed.": "Für
das Lernprogramm werden Pipeline-Elemente benötigt, die noch nicht installiert
sind.",
"Install the following pipeline elements and start the tutorial again:":
"Installieren Sie die folgenden Pipeline-Elemente und starten Sie das
Lernprogramm erneut:",
@@ -645,7 +647,7 @@
"Export Settings": "Export-Einstellungen",
"Download Format": "Download-Format",
"Delimiter": "Trennzeichen",
- "Export Provider": "Anbieter exportieren",
+ "Export Provider": "Exportanbieter",
"Select Provider Type": "Anbietertyp auswählen",
"No export providers found. Please create one first.": "Keine Exportanbieter
gefunden. Bitte erstellen Sie zuerst einen.",
"Data Lake Settings": "Data Lake Einstellungen",
@@ -789,6 +791,7 @@
"Deleting data...": "Daten löschen...",
"Truncate data": "Daten leeren",
"Delete data": "Daten löschen",
+ "Delete Export Provider": "Exportanbieter löschen",
"Set Data Retention": "Speicherrichtlinie bearbeiten",
"Select Data": "Daten auswählen",
"Previous": "Zurück",
@@ -863,7 +866,6 @@
"List": "Liste",
"Nested": "Verschachtelt",
"Preview": "Vorschau",
- "Documentation": "Dokumentation",
"Error Details": "Fehler-Details",
"All {{allResourcesAlias}}": "Alle {{allResourcesAlias}}",
"{{ widgetTitle }} Clone": "{{ widgetTitle }} Kopie"
diff --git a/ui/deployment/i18n/en.json b/ui/deployment/i18n/en.json
index 080c8c6bb3..3227983e13 100644
--- a/ui/deployment/i18n/en.json
+++ b/ui/deployment/i18n/en.json
@@ -74,6 +74,8 @@
"Create new account": null,
"or": null,
"Login with": null,
+ "Documentation": null,
+ "API Documentation": null,
"Preparing pipeline editor...": null,
"The tutorial requires pipeline elements that are not yet installed.": null,
"Install the following pipeline elements and start the tutorial again:":
null,
@@ -789,6 +791,7 @@
"Deleting data...": null,
"Truncate data": null,
"Delete data": null,
+ "Delete Export Provider": null,
"Set Data Retention": null,
"Select Data": null,
"Previous": null,
@@ -863,7 +866,6 @@
"List": null,
"Nested": null,
"Preview": null,
- "Documentation": null,
"Error Details": null,
"All {{allResourcesAlias}}": "All {{allResourcesAlias}}",
"{{ widgetTitle }} Clone": "{{ widgetTitle }} Clone"
diff --git
a/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.ts
b/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.ts
index 4bf20ecb24..bd64e827da 100644
---
a/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.ts
+++
b/ui/src/app/configuration/datalake-configuration/datalake-configuration.component.ts
@@ -48,7 +48,6 @@ import { DataRetentionDialogComponent } from
'../dialog/data-retention-dialog/da
import { ExportProviderComponent } from
'../dialog/export-provider-dialog/export-provider-dialog.component';
import { DeleteExportProviderComponent } from
'../dialog/delete-export-provider/delete-export-provider-dialog.component';
import { TranslateService } from '@ngx-translate/core';
-import { delay } from 'rxjs';
@Component({
selector: 'sp-datalake-configuration',
@@ -171,7 +170,7 @@ export class DatalakeConfigurationComponent implements
OnInit {
const dialogRef: DialogRef<ExportProviderComponent> =
this.dialogService.open(ExportProviderComponent, {
panelType: PanelType.STANDARD_PANEL,
- title: 'New Export Provider',
+ title: this.translateService.instant('New Export Provider'),
width: '70vw',
data: {
provider: provider,
@@ -225,7 +224,7 @@ export class DatalakeConfigurationComponent implements
OnInit {
const dialogRef: DialogRef<DeleteExportProviderComponent> =
this.dialogService.open(DeleteExportProviderComponent, {
panelType: PanelType.STANDARD_PANEL,
- title: 'Delete Export Provider',
+ title: this.translateService.instant('Delete Export Provider'),
width: '70vw',
data: {
providerId: providerId,
diff --git
a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.html
b/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.html
index 1fecfc8663..0c8dce6707 100644
---
a/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.html
+++
b/ui/src/app/configuration/dialog/data-retention-dialog/components/select-retention/select-data-retention/select-data-retention.component.html
@@ -29,7 +29,7 @@
min="1"
step="1"
/>
- <span matSuffix>{{ 'days' | translate }}</span>
+ <span matSuffix class="pr-10">{{ 'days' | translate }}</span>
</mat-form-field>
</div>
</sp-configuration-box>
diff --git
a/ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.html
b/ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.html
index 66028ccd7c..dbc37cfd95 100644
---
a/ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.html
+++
b/ui/src/app/configuration/dialog/data-retention-dialog/data-retention-dialog.component.html
@@ -19,7 +19,6 @@
<div class="sp-dialog-container">
<div class="sp-dialog-content p-15">
<div fxFlex="100">
- <!-- Stepper removed, content displayed directly -->
<div
class="retention-step-content"
*ngIf="retentionConfig?.dataRetentionConfig"
diff --git
a/ui/src/app/configuration/dialog/export-provider-dialog/export-provider-dialog.component.html
b/ui/src/app/configuration/dialog/export-provider-dialog/export-provider-dialog.component.html
index 883197ccd0..7657dbf93a 100644
---
a/ui/src/app/configuration/dialog/export-provider-dialog/export-provider-dialog.component.html
+++
b/ui/src/app/configuration/dialog/export-provider-dialog/export-provider-dialog.component.html
@@ -18,7 +18,7 @@
<div class="sp-dialog-container">
<div class="sp-dialog-content p-15">
<form [formGroup]="exportForm">
- <mat-form-field class="sp-select-field">
+ <mat-form-field class="sp-select-field w-100">
<mat-label>{{ 'Select Provider' | translate }}</mat-label>
<mat-select
formControlName="providerType"
@@ -52,7 +52,7 @@
/>
</mat-form-field>
- <mat-form-field class="w-100">
+ <mat-form-field class="w-100 mb-10">
<mat-label>{{ 'Endpoint' | translate }}</mat-label>
<input
matInput
@@ -92,30 +92,25 @@
}
<mat-divider></mat-divider>
-
- <div class="sp-dialog-actions actions-align-right">
- <button
- mat-button
- mat-flat-button
- class="mat-basic"
- type="button"
- (click)="addData()"
- [disabled]="exportForm.invalid"
- >
- Save
- </button>
-
- <button
- mat-button
- mat-flat-button
- class="mat-basic"
- style="margin-left: 12px"
- type="button"
- (click)="close(false)"
- >
- Close
- </button>
- </div>
</form>
</div>
+ <div class="sp-dialog-actions actions-align-right" fxLayoutGap="10px">
+ <button
+ mat-flat-button
+ type="button"
+ (click)="addData()"
+ [disabled]="exportForm.invalid"
+ >
+ {{ 'Save' | translate }}
+ </button>
+
+ <button
+ mat-flat-button
+ class="mat-basic"
+ type="button"
+ (click)="close(false)"
+ >
+ {{ 'Close' | translate }}
+ </button>
+ </div>
</div>
diff --git a/ui/src/app/login/components/auth-box/auth-box.component.html
b/ui/src/app/login/components/auth-box/auth-box.component.html
index 3f300d2209..7a8f59f66a 100644
--- a/ui/src/app/login/components/auth-box/auth-box.component.html
+++ b/ui/src/app/login/components/auth-box/auth-box.component.html
@@ -48,7 +48,7 @@
class="footer-link"
[href]="linkSettings.documentationUrl"
>
- Documentation
+ {{ 'Documentation' | translate }}
</a>
<span
style="margin-left: 10px; margin-right: 10px"
@@ -62,7 +62,7 @@
data-cy="view-api-docs-link"
routerLink="/apidocs"
routerLinkActive="active"
- >API Documentation</a
+ >{{ 'API Documentation' | translate }}</a
>
<span
style="margin-left: 10px; margin-right: 10px"