add buttons to Embassy tab for support (#1187)

This commit is contained in:
Matt Hill
2022-02-09 15:40:13 -07:00
committed by Keagan McClelland
parent 20acd8efea
commit 4f2b237f5f
2 changed files with 61 additions and 31 deletions

View File

@@ -49,6 +49,7 @@
<ion-icon
*ngIf="eosService.updateAvailable$ | async"
color="success"
size="small"
name="rocket-outline"
></ion-icon>
</ng-container>
@@ -111,6 +112,7 @@
<ion-icon name="briefcase-outline"></ion-icon>
<ion-icon name="bookmark-outline"></ion-icon>
<ion-icon name="cellular-outline"></ion-icon>
<ion-icon name="chatbubbles-outline"></ion-icon>
<ion-icon name="checkmark"></ion-icon>
<ion-icon name="chevron-down"></ion-icon>
<ion-icon name="chevron-up"></ion-icon>
@@ -148,7 +150,7 @@
<ion-icon name="lock-closed-outline"></ion-icon>
<ion-icon name="logo-bitcoin"></ion-icon>
<ion-icon name="mail-outline"></ion-icon>
<ion-icon name="medkit-outline"></ion-icon>
<ion-icon name="map-outline"></ion-icon>
<ion-icon name="newspaper-outline"></ion-icon>
<ion-icon name="notifications-outline"></ion-icon>
<ion-icon name="options-outline"></ion-icon>

View File

@@ -242,7 +242,7 @@ export class ServerShowPage {
),
},
],
Insights: [
Settings: [
{
title: 'Software Update',
description: 'Get the latest version of EmbassyOS',
@@ -254,35 +254,6 @@ export class ServerShowPage {
detail: false,
disabled: of(false),
},
{
title: 'About',
description: 'Basic information about your Embassy',
icon: 'information-circle-outline',
action: () =>
this.navCtrl.navigateForward(['specs'], { relativeTo: this.route }),
detail: true,
disabled: of(false),
},
{
title: 'Monitor',
description: 'CPU, disk, memory, and other useful metrics',
icon: 'pulse',
action: () =>
this.navCtrl.navigateForward(['metrics'], { relativeTo: this.route }),
detail: true,
disabled: of(false),
},
{
title: 'Logs',
description: 'Raw, unfiltered device logs',
icon: 'newspaper-outline',
action: () =>
this.navCtrl.navigateForward(['logs'], { relativeTo: this.route }),
detail: true,
disabled: of(false),
},
],
Settings: [
{
title: 'Preferences',
description: 'Device name, background tasks',
@@ -332,6 +303,26 @@ export class ServerShowPage {
detail: true,
disabled: of(false),
},
],
Insights: [
{
title: 'About',
description: 'Basic information about your Embassy',
icon: 'information-circle-outline',
action: () =>
this.navCtrl.navigateForward(['specs'], { relativeTo: this.route }),
detail: true,
disabled: of(false),
},
{
title: 'Monitor',
description: 'CPU, disk, memory, and other useful metrics',
icon: 'pulse',
action: () =>
this.navCtrl.navigateForward(['metrics'], { relativeTo: this.route }),
detail: true,
disabled: of(false),
},
{
title: 'Active Sessions',
description: 'View and manage device access',
@@ -343,6 +334,43 @@ export class ServerShowPage {
detail: true,
disabled: of(false),
},
{
title: 'Logs',
description: 'Raw, unfiltered device logs',
icon: 'newspaper-outline',
action: () =>
this.navCtrl.navigateForward(['logs'], { relativeTo: this.route }),
detail: true,
disabled: of(false),
},
],
Support: [
{
title: 'User Manual',
description: 'View the Embassy user manual and FAQ',
icon: 'map-outline',
action: () =>
window.open(
'https://docs.start9.com/user-manual/',
'_blank',
'noreferrer',
),
detail: true,
disabled: of(false),
},
{
title: 'Contact Support',
description: 'Get help from the Start9 team and community',
icon: 'chatbubbles-outline',
action: () =>
window.open(
'https://docs.start9.com/support/contact/',
'_blank',
'noreferrer',
),
detail: true,
disabled: of(false),
},
],
Power: [
{