This is an automated email from the ASF dual-hosted git repository. SvenO3 pushed a commit to branch 4565-display-field-data-types-in-adapter-details-page in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 64eac6e24287680bcbae66b954d0a130d6169600 Author: Sven Oehler <[email protected]> AuthorDate: Thu Jun 18 14:37:10 2026 +0200 Add data type column --- .../live-preview-table/live-preview-table.component.html | 9 +++++++++ .../live-preview-table/live-preview-table.component.ts | 2 +- .../pipeline-element-runtime-info.component.ts | 4 ++++ .../pipeline-element-runtime-info.model.ts | 1 + 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/live-preview-table/live-preview-table.component.html b/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/live-preview-table/live-preview-table.component.html index 55770e41aa..82960c91fc 100644 --- a/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/live-preview-table/live-preview-table.component.html +++ b/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/live-preview-table/live-preview-table.component.html @@ -45,6 +45,15 @@ </td> </ng-container> + <ng-container matColumnDef="dataType"> + <th mat-header-cell *matHeaderCellDef> + <strong>{{ 'Data Type' | translate }}</strong> + </th> + <td mat-cell *matCellDef="let element"> + {{ element.dataType }} + </td> + </ng-container> + <ng-container matColumnDef="description"> <th mat-header-cell *matHeaderCellDef> <strong>{{ 'Description' | translate }}</strong> diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/live-preview-table/live-preview-table.component.ts b/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/live-preview-table/live-preview-table.component.ts index 951601fc9b..41eec90aa0 100644 --- a/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/live-preview-table/live-preview-table.component.ts +++ b/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/live-preview-table/live-preview-table.component.ts @@ -73,6 +73,6 @@ export class LivePreviewTableComponent implements OnInit { ngOnInit() { this.displayedColumns = this.compact ? ['runtimeName', 'value'] - : ['runtimeName', 'label', 'description', 'value']; + : ['runtimeName', 'label', 'dataType', 'description', 'value']; } } diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/pipeline-element-runtime-info.component.ts b/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/pipeline-element-runtime-info.component.ts index dec8bcb716..2d0e47b3cf 100644 --- a/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/pipeline-element-runtime-info.component.ts +++ b/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/pipeline-element-runtime-info.component.ts @@ -73,6 +73,10 @@ export class PipelineElementRuntimeInfoComponent implements OnInit, OnDestroy { label: ep.label || 'n/a', description: ep.description || 'n/a', runtimeName: ep.runtimeName, + dataType: + this.pipelineELementSchemaService.getFriendlyRuntimeType( + ep, + ), propertyScope: ep.propertyScope, value: undefined, isTimestamp: diff --git a/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/pipeline-element-runtime-info.model.ts b/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/pipeline-element-runtime-info.model.ts index 557ca5a995..55ab95553e 100644 --- a/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/pipeline-element-runtime-info.model.ts +++ b/ui/projects/streampipes/shared-ui/src/lib/components/pipeline-element-runtime-info/pipeline-element-runtime-info.model.ts @@ -20,6 +20,7 @@ export interface RuntimeInfo { label: string; description: string; runtimeName: string; + dataType: string; propertyScope?: string; value: any; isImage: boolean;
