Skip to content

Commit

Permalink
Added empty proxy.config file + new Application version + Fix widget …
Browse files Browse the repository at this point in the history
…line chart toolbar init config
  • Loading branch information
degrelle committed Aug 9, 2024
1 parent 3854bd7 commit 70cebcd
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hyperiot",
"version": "2.8.0",
"version": "2.9.0",
"scripts": {
"ng": "node_modules/.bin/ng",
"ng-high-memory": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
widgetName="{{widget.name}}"
(action)="onToolbarAction($event)"
[toolbarIsVisible]="isToolbarVisible"
[config]="{
showClose: true,
showSettings: true,
showPlay: serviceType === serviceTypeList.ONLINE,
showRefresh: false,
showTable: false,
}">
[config]="initToolbarConfig">
</hyperiot-common-toolbar>
</header-widget>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
} from "rxjs";

import { BaseChartComponent } from "../../base/base-chart/base-chart.component";
import { WidgetAction } from "../../base/base-widget/model/widget.model";
import {ConfigButtonWidget, WidgetAction} from "../../base/base-widget/model/widget.model";
import { TimeSeries } from "../../data/time-series";
import { ServiceType } from "../../service/model/service-type";
import { DashboardEventService } from "../../dashboard/services/dashboard-event.service";
Expand All @@ -42,6 +42,15 @@ export class LineChartComponent extends BaseChartComponent implements OnInit {
sideMarginGap = 0.12;
totalLength = 0;
fieldsName: any[] = [];
get initToolbarConfig() :ConfigButtonWidget {
return {
showClose: true,
showSettings: true,
showPlay: this.serviceType === this.serviceTypeList.ONLINE,
showRefresh: false,
showTable: false
}
}

dataChannel: DataChannel;
dataSubscription: Subscription;
Expand Down
1 change: 1 addition & 0 deletions proxy.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
4 changes: 2 additions & 2 deletions src/app/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './httpErrorsDictionary';
export * from './http-errors-dictionary';

export const HyperiotLogoPath = 'assets/images/logo/Hyperiot-Ex_S.png';
export const HyperiotLogoMobilePath = 'assets/images/hyperiot_logo_single_char_animated.svg';
export const HyperiotLogoMobilePath = 'assets/images/hyperiot_logo_single_char_animated.svg';
1 change: 1 addition & 0 deletions src/locale/translations.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -2327,6 +2327,7 @@
<trans-unit id="HYT_alarm_showing_text_of" datatype="html">
<source> of </source>
<target> su </target>
</trans-unit>
<trans-unit id="HYT_conditions" datatype="html">
<source>Conditions</source>
<target>Condizioni</target>
Expand Down

0 comments on commit 70cebcd

Please sign in to comment.