{
+ this.addEntity(null);
+ }, 0);
+ }
+ }
}
ngAfterViewInit() {
diff --git a/ui-ngx/src/app/modules/home/components/entity/entity-filter-view.component.ts b/ui-ngx/src/app/modules/home/components/entity/entity-filter-view.component.ts
index 7ed0a8b3c9..9f4927402e 100644
--- a/ui-ngx/src/app/modules/home/components/entity/entity-filter-view.component.ts
+++ b/ui-ngx/src/app/modules/home/components/entity/entity-filter-view.component.ts
@@ -84,47 +84,63 @@ export class EntityFilterViewComponent implements ControlValueAccessor {
this.filterDisplayValue = this.translate.instant('alias.filter-type-state-entity-description');
break;
case AliasFilterType.assetType:
- const assetType = this.filter.assetType;
+ const assetTypesQuoted = [];
+ this.filter.assetTypes.forEach((filterAssetType) => {
+ assetTypesQuoted.push(`'${filterAssetType}'`);
+ });
+ const assetTypes = assetTypesQuoted.join(', ');
prefix = this.filter.assetNameFilter;
if (prefix && prefix.length) {
this.filterDisplayValue = this.translate.instant('alias.filter-type-asset-type-and-name-description',
- {assetType, prefix});
+ {assetTypes, prefix});
} else {
this.filterDisplayValue = this.translate.instant('alias.filter-type-asset-type-description',
- {assetType});
+ {assetTypes});
}
break;
case AliasFilterType.deviceType:
- const deviceType = this.filter.deviceType;
+ const deviceTypesQuoted = [];
+ this.filter.deviceTypes.forEach((filterDeviceType) => {
+ deviceTypesQuoted.push(`'${filterDeviceType}'`);
+ });
+ const deviceTypes = deviceTypesQuoted.join(', ');
prefix = this.filter.deviceNameFilter;
if (prefix && prefix.length) {
this.filterDisplayValue = this.translate.instant('alias.filter-type-device-type-and-name-description',
- {deviceType, prefix});
+ {deviceTypes, prefix});
} else {
this.filterDisplayValue = this.translate.instant('alias.filter-type-device-type-description',
- {deviceType});
+ {deviceTypes});
}
break;
case AliasFilterType.edgeType:
- const edgeType = this.filter.edgeType;
+ const edgeTypesQuoted = [];
+ this.filter.edgeTypes.forEach((filterEdgeType) => {
+ edgeTypesQuoted.push(`'${filterEdgeType}'`);
+ });
+ const edgeTypes = edgeTypesQuoted.join(', ');
prefix = this.filter.edgeNameFilter;
if (prefix && prefix.length) {
this.filterDisplayValue = this.translate.instant('alias.filter-type-edge-type-and-name-description',
- {edgeType, prefix});
+ {edgeTypes, prefix});
} else {
this.filterDisplayValue = this.translate.instant('alias.filter-type-edge-type-description',
- {edgeType});
+ {edgeTypes});
}
break;
case AliasFilterType.entityViewType:
- const entityView = this.filter.entityViewType;
+ const entityViewTypesQuoted = [];
+ this.filter.entityViewTypes.forEach((entityViewType) => {
+ entityViewTypesQuoted.push(`'${entityViewType}'`);
+ });
+ const entityViewTypes = entityViewTypesQuoted.join(', ');
prefix = this.filter.entityViewNameFilter;
if (prefix && prefix.length) {
this.filterDisplayValue = this.translate.instant('alias.filter-type-entity-view-type-and-name-description',
- {entityView, prefix});
+ {entityViewTypes, prefix});
} else {
this.filterDisplayValue = this.translate.instant('alias.filter-type-entity-view-type-description',
- {entityView});
+ {entityViewTypes});
}
break;
case AliasFilterType.relationsQuery:
diff --git a/ui-ngx/src/app/modules/home/components/entity/entity-filter.component.html b/ui-ngx/src/app/modules/home/components/entity/entity-filter.component.html
index c28dabf959..9cde6f4431 100644
--- a/ui-ngx/src/app/modules/home/components/entity/entity-filter.component.html
+++ b/ui-ngx/src/app/modules/home/components/entity/entity-filter.component.html
@@ -83,10 +83,10 @@
-
-
+
+
asset.name-starts-with
-
-
+
+
device.name-starts-with
-
-
+
+
entity-view.name-starts-with
-
-
+
+
edge.name-starts-with
diff --git a/ui-ngx/src/app/modules/home/components/entity/entity-filter.component.ts b/ui-ngx/src/app/modules/home/components/entity/entity-filter.component.ts
index 92fe48ee44..32a0377d42 100644
--- a/ui-ngx/src/app/modules/home/components/entity/entity-filter.component.ts
+++ b/ui-ngx/src/app/modules/home/components/entity/entity-filter.component.ts
@@ -136,25 +136,25 @@ export class EntityFilterComponent implements ControlValueAccessor, OnInit {
break;
case AliasFilterType.assetType:
this.filterFormGroup = this.fb.group({
- assetType: [filter ? filter.assetType : null, [Validators.required]],
+ assetTypes: [filter ? filter.assetTypes : null, [Validators.required]],
assetNameFilter: [filter ? filter.assetNameFilter : '', []],
});
break;
case AliasFilterType.deviceType:
this.filterFormGroup = this.fb.group({
- deviceType: [filter ? filter.deviceType : null, [Validators.required]],
+ deviceTypes: [filter ? filter.deviceTypes : null, [Validators.required]],
deviceNameFilter: [filter ? filter.deviceNameFilter : '', []],
});
break;
case AliasFilterType.edgeType:
this.filterFormGroup = this.fb.group({
- edgeType: [filter ? filter.edgeType : null, [Validators.required]],
+ edgeTypes: [filter ? filter.edgeTypes : null, [Validators.required]],
edgeNameFilter: [filter ? filter.edgeNameFilter : '', []],
});
break;
case AliasFilterType.entityViewType:
this.filterFormGroup = this.fb.group({
- entityViewType: [filter ? filter.entityViewType : null, [Validators.required]],
+ entityViewTypes: [filter ? filter.entityViewTypes : null, [Validators.required]],
entityViewNameFilter: [filter ? filter.entityViewNameFilter : '', []],
});
break;
diff --git a/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.html b/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.html
index 2d24bc479f..69f72c8aaf 100644
--- a/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.html
+++ b/ui-ngx/src/app/modules/home/components/filter/filters-dialog.component.html
@@ -69,7 +69,7 @@
style="min-width: 48px;"
type="button"
(click)="duplicateFilter($index)"
- matTooltip="{{ 'filter.duplicate-filter' | translate }}"
+ matTooltip="{{ 'filter.duplicate-filter-action' | translate }}"
matTooltipPosition="above">
content_copy
diff --git a/ui-ngx/src/app/modules/home/components/notification/show-notification-popover.component.html b/ui-ngx/src/app/modules/home/components/notification/show-notification-popover.component.html
index 096cecd91a..0a0a5e3cdb 100644
--- a/ui-ngx/src/app/modules/home/components/notification/show-notification-popover.component.html
+++ b/ui-ngx/src/app/modules/home/components/notification/show-notification-popover.component.html
@@ -25,13 +25,13 @@
diff --git a/ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html b/ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html
index 81a1206800..efa6ef7e13 100644
--- a/ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html
+++ b/ui-ngx/src/app/modules/home/components/profile/tenant/default-tenant-profile-configuration.component.html
@@ -410,6 +410,9 @@
{{ 'tenant-profile.too-small-value-one' | translate}}
+
+ {{ 'tenant-profile.queue-size-is-limited-by-system-configuration' | translate}}
+
diff --git a/ui-ngx/src/app/modules/home/components/tokens.ts b/ui-ngx/src/app/modules/home/components/tokens.ts
index 5ddd9fe661..abba6a0636 100644
--- a/ui-ngx/src/app/modules/home/components/tokens.ts
+++ b/ui-ngx/src/app/modules/home/components/tokens.ts
@@ -23,6 +23,9 @@ export const SHARED_HOME_COMPONENTS_MODULE_TOKEN: InjectionToken