This is an automated email from the ASF dual-hosted git repository. riemer pushed a commit to branch minor-layout-harmonization in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 566720fc9cc07a180cc20564889c324c0da14106 Author: Dominik Riemer <[email protected]> AuthorDate: Mon Oct 27 22:30:10 2025 +0100 fix: Minor design improvements, remove category filter from adapters --- .../model/connect/adapter/AdapterDescription.java | 1 + .../builder/adapter/AdapterConfigurationBuilder.java | 4 ++++ ui/deployment/home.service.mst | 2 +- .../asset-overview/asset-overview.component.html | 2 +- .../existing-adapters/existing-adapters.component.html | 2 +- .../filter-toolbar/filter-toolbar.component.html | 17 ----------------- .../filter-toolbar/filter-toolbar.component.ts | 4 ---- .../app/core/components/toolbar/toolbar.component.html | 2 +- .../pipeline-overview/pipeline-overview.component.html | 2 +- ui/src/scss/sp/_variables.scss | 1 + 10 files changed, 11 insertions(+), 26 deletions(-) diff --git a/streampipes-model/src/main/java/org/apache/streampipes/model/connect/adapter/AdapterDescription.java b/streampipes-model/src/main/java/org/apache/streampipes/model/connect/adapter/AdapterDescription.java index 04c2d57be3..b0ba0e7ccd 100644 --- a/streampipes-model/src/main/java/org/apache/streampipes/model/connect/adapter/AdapterDescription.java +++ b/streampipes-model/src/main/java/org/apache/streampipes/model/connect/adapter/AdapterDescription.java @@ -187,6 +187,7 @@ public class AdapterDescription extends VersionedNamedStreamPipesEntity { return category; } + @Deprecated(forRemoval = true, since = "0.98.0") public void setCategory(List<String> category) { this.category = category; } diff --git a/streampipes-sdk/src/main/java/org/apache/streampipes/sdk/builder/adapter/AdapterConfigurationBuilder.java b/streampipes-sdk/src/main/java/org/apache/streampipes/sdk/builder/adapter/AdapterConfigurationBuilder.java index 9d8df25cb0..63c0a425d3 100644 --- a/streampipes-sdk/src/main/java/org/apache/streampipes/sdk/builder/adapter/AdapterConfigurationBuilder.java +++ b/streampipes-sdk/src/main/java/org/apache/streampipes/sdk/builder/adapter/AdapterConfigurationBuilder.java @@ -97,6 +97,10 @@ public class AdapterConfigurationBuilder extends return this; } + /** + * deprecated: Categories are no longer needed for adapters as of version 0.98.0 + */ + @Deprecated(forRemoval = true, since = "0.98.0") public AdapterConfigurationBuilder withCategory(AdapterType... categories) { this.elementDescription .setCategory(Arrays diff --git a/ui/deployment/home.service.mst b/ui/deployment/home.service.mst index 8c950b65c9..df1448f21d 100644 --- a/ui/deployment/home.service.mst +++ b/ui/deployment/home.service.mst @@ -74,7 +74,7 @@ export class HomeService { { name: "Notifications", description: "The notification module lets you view all notifications generated by pipelines.", - icon: "chat", + icon: "notifications", pageNames: [PageName.NOTIFICATIONS], privileges: [ UserPrivilege.PRIVILEGE_READ_PIPELINE, diff --git a/ui/src/app/assets/components/asset-overview/asset-overview.component.html b/ui/src/app/assets/components/asset-overview/asset-overview.component.html index 6b7f059dd4..ad757b667d 100644 --- a/ui/src/app/assets/components/asset-overview/asset-overview.component.html +++ b/ui/src/app/assets/components/asset-overview/asset-overview.component.html @@ -91,7 +91,7 @@ mat-menu-item (click)="goToDetailsView(element)" > - <mat-icon>search</mat-icon> + <mat-icon>visibility</mat-icon> <span>{{ 'Show' | translate }}</span> </button> <button 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 b91e06fa03..9b85f61375 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 @@ -260,7 +260,7 @@ data-cy="details-adapter" (click)="navigateToDetailsOverviewPage(element)" > - <mat-icon>search</mat-icon> + <mat-icon>visibility</mat-icon> <span>{{ 'Show' | translate }}</span> </button> <button diff --git a/ui/src/app/connect/components/filter-toolbar/filter-toolbar.component.html b/ui/src/app/connect/components/filter-toolbar/filter-toolbar.component.html index 639661fe96..89e403e466 100644 --- a/ui/src/app/connect/components/filter-toolbar/filter-toolbar.component.html +++ b/ui/src/app/connect/components/filter-toolbar/filter-toolbar.component.html @@ -40,22 +40,5 @@ </mat-form-field> </div> </div> - <div class="data-marketplace-options-item"> - <div class="form-field-small"> - <mat-form-field color="accent" appearance="outline"> - <mat-select - [(value)]="currentFilter.selectedCategory" - (selectionChange)="filterAdapter($event)" - > - <mat-option - *ngFor="let category of adapterCategories" - [value]="category.code" - > - {{ category.label }} - </mat-option> - </mat-select> - </mat-form-field> - </div> - </div> <span fxFlex></span> </div> diff --git a/ui/src/app/connect/components/filter-toolbar/filter-toolbar.component.ts b/ui/src/app/connect/components/filter-toolbar/filter-toolbar.component.ts index e90973b000..e098c127eb 100644 --- a/ui/src/app/connect/components/filter-toolbar/filter-toolbar.component.ts +++ b/ui/src/app/connect/components/filter-toolbar/filter-toolbar.component.ts @@ -58,10 +58,6 @@ export class SpConnectFilterToolbarComponent implements OnInit { }); } - filterAdapter(event: MatSelectChange) { - this.filterChangedEmitter.emit(this.currentFilter); - } - updateFilterTerm(event: string) { this.currentFilter.textFilter = event; this.filterChangedEmitter.emit(this.currentFilter); diff --git a/ui/src/app/core/components/toolbar/toolbar.component.html b/ui/src/app/core/components/toolbar/toolbar.component.html index 0cf9efc119..d9f404272d 100644 --- a/ui/src/app/core/components/toolbar/toolbar.component.html +++ b/ui/src/app/core/components/toolbar/toolbar.component.html @@ -87,7 +87,7 @@ : 'sp-navbar-icon' " data-cy="navigation-icon" - >chat + >notifications </mat-icon> </button> </div> diff --git a/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html b/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html index c79a69b7e4..5c71069499 100644 --- a/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html +++ b/ui/src/app/pipelines/components/pipeline-overview/pipeline-overview.component.html @@ -176,7 +176,7 @@ mat-menu-item (click)="pipelineOperationsService.showPipelineDetails(element._id)" > - <mat-icon>search</mat-icon> + <mat-icon>visibility</mat-icon> <span>{{ 'Show' | translate }}</span> </button> <button diff --git a/ui/src/scss/sp/_variables.scss b/ui/src/scss/sp/_variables.scss index 8e49406405..ca9cd8a27a 100644 --- a/ui/src/scss/sp/_variables.scss +++ b/ui/src/scss/sp/_variables.scss @@ -82,6 +82,7 @@ $sp-color-error: #b71c1c; --mat-sidenav-container-shape: 0; --mat-sidenav-container-divider-color: var(--color-bg-3); --mat-standard-button-toggle-height: 30px; + --mat-table-header-headline-color: var(--mat-sys-on-surface); } .dark-mode {
