+
{{attribute.value | tbJson}}
edit
@@ -179,7 +181,7 @@
-
+
{{
@@ -218,14 +220,16 @@
-
-
keyboard_arrow_right
@@ -241,13 +245,11 @@
widgets-bundle.empty
widget.select-widgets-bundle
diff --git a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.scss b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.scss
index 3de276b003..a20c97a66c 100644
--- a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.scss
+++ b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.scss
@@ -13,6 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+@import 'src/scss/constants';
+
:host {
width: 100%;
height: 100%;
@@ -22,6 +24,14 @@
height: 100%;
background: #fff;
+ .mat-toolbar-tools{
+ min-height: auto;
+ }
+
+ .title-container{
+ overflow: hidden;
+ }
+
.tb-entity-table-title {
padding-right: 20px;
white-space: nowrap;
@@ -32,6 +42,30 @@
.table-container {
overflow: auto;
}
+
+ .tb-entity-table-info{
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
+ .button-widget-action{
+ margin-left: auto;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
+ }
+
+ @media #{$mat-xs} {
+ .mat-toolbar {
+ height: auto;
+ min-height: 100px;
+
+ .tb-entity-table-title{
+ padding-bottom: 5px;
+ width: 100%;
+ }
}
}
}
@@ -42,6 +76,7 @@
}
mat-form-field.tb-attribute-scope {
font-size: 16px;
+ width: 200px;
.mat-form-field-wrapper {
padding-bottom: 0;
@@ -50,6 +85,14 @@
.mat-form-field-underline {
bottom: 0;
}
+
+ @media #{$mat-xs} {
+ width: 100%;
+
+ .mat-form-field-infix {
+ width: auto !important;
+ }
+ }
}
mat-cell.tb-value-cell {
cursor: pointer;
diff --git a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.ts b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.ts
index f4ddad7825..e2c2281c8b 100644
--- a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.ts
+++ b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.ts
@@ -45,7 +45,8 @@ import {
isClientSideTelemetryType,
LatestTelemetry,
TelemetryType,
- telemetryTypeTranslations, toTelemetryType
+ telemetryTypeTranslations,
+ toTelemetryType
} from '@shared/models/telemetry/telemetry.models';
import { AttributeDatasource } from '@home/models/datasource/attribute-datasource';
import { AttributeService } from '@app/core/http/attribute.service';
@@ -297,6 +298,9 @@ export class AttributeTableComponent extends PageComponent implements AfterViewI
if ($event) {
$event.stopPropagation();
}
+ if (this.attributeScope === LatestTelemetry.LATEST_TELEMETRY){
+ return;
+ }
const target = $event.target || $event.srcElement || $event.currentTarget;
const config = new OverlayConfig();
config.backdropClass = 'cdk-overlay-transparent-backdrop';
diff --git a/ui-ngx/src/app/modules/home/components/entity/entities-table.component.html b/ui-ngx/src/app/modules/home/components/entity/entities-table.component.html
index ba5b1303a0..0759286192 100644
--- a/ui-ngx/src/app/modules/home/components/entity/entities-table.component.html
+++ b/ui-ngx/src/app/modules/home/components/entity/entities-table.component.html
@@ -36,12 +36,14 @@