From 6625e65f32d84952cf2b0062cde29c344c1c5871 Mon Sep 17 00:00:00 2001 From: Senyoret1 <34079003+Senyoret1@users.noreply.github.com> Date: Thu, 2 Jul 2020 08:48:55 -0400 Subject: [PATCH 1/4] Add DMSG info to the manager --- .../src/app/app.datatypes.ts | 2 + .../pages/node-list/node-list.component.html | 39 +++++- .../pages/node-list/node-list.component.ts | 120 +++++++++++++++--- .../node-info-content.component.html | 8 ++ .../src/app/services/node.service.ts | 41 +++++- .../src/assets/i18n/en.json | 8 ++ .../src/assets/scss/_responsive_tables.scss | 40 +++++- 7 files changed, 232 insertions(+), 26 deletions(-) diff --git a/static/skywire-manager-src/src/app/app.datatypes.ts b/static/skywire-manager-src/src/app/app.datatypes.ts index a65271220f..3ee9ba6de1 100644 --- a/static/skywire-manager-src/src/app/app.datatypes.ts +++ b/static/skywire-manager-src/src/app/app.datatypes.ts @@ -16,6 +16,8 @@ export class Node { online?: boolean; seconds_online?: number; health?: HealthInfo; + dmsgServerPk?: string; + roundTripPing?: number; } export interface Application { diff --git a/static/skywire-manager-src/src/app/components/pages/node-list/node-list.component.html b/static/skywire-manager-src/src/app/components/pages/node-list/node-list.component.html index f581f016ee..a386805402 100644 --- a/static/skywire-manager-src/src/app/components/pages/node-list/node-list.component.html +++ b/static/skywire-manager-src/src/app/components/pages/node-list/node-list.component.html @@ -26,7 +26,17 @@ >
+ {{ 'nodes.dmsg-server' | translate }}
+ |
+
+ {{ 'nodes.ping' | translate }}
+ |
@@ -61,12 +79,17 @@ | {{ node.local_pk }} | ++ {{ node.dmsgServerPk }} + | ++ {{ node.roundTripPing }} + | - {{ node.roundTripPing }} + {{ 'common.time-in-ms' | translate:{ time: node.roundTripPing } }} |
---|