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

@@ -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: [
{