IA update: Update health section
This is the second update to information architecture changes and
has the following changes:
- Health section is updated to hardware status section
- Hardware status page is updated to inventory and LEDs page
- Route for sensors page has been updated
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com>
Change-Id: Ia1ba3a15a243a00f59a2ec646132436eb355a999
diff --git a/src/env/components/AppNavigation/ibm.js b/src/env/components/AppNavigation/ibm.js
index 8792ccc..0128d74 100644
--- a/src/env/components/AppNavigation/ibm.js
+++ b/src/env/components/AppNavigation/ibm.js
@@ -40,27 +40,27 @@
label: this.$t('appNavigation.eventLogs'),
route: '/logs/event-logs',
},
- ],
- },
- {
- id: 'health',
- label: this.$t('appNavigation.health'),
- icon: 'iconHealth',
- children: [
- {
- id: 'hardware-status',
- label: this.$t('appNavigation.hardwareStatus'),
- route: '/health/hardware-status',
- },
{
id: 'post-code-logs',
label: this.$t('appNavigation.postCodeLogs'),
- route: '/health/post-code-logs',
+ route: '/logs/post-code-logs',
+ },
+ ],
+ },
+ {
+ id: 'hardware-status',
+ label: this.$t('appNavigation.hardwareStatus'),
+ icon: 'iconHealth',
+ children: [
+ {
+ id: 'inventory',
+ label: this.$t('appNavigation.inventory'),
+ route: '/hardware-status/inventory',
},
{
id: 'sensors',
label: this.$t('appNavigation.sensors'),
- route: '/health/sensors',
+ route: '/hardware-status/sensors',
},
],
},
diff --git a/src/env/components/AppNavigation/intel.js b/src/env/components/AppNavigation/intel.js
index 9c3591f..68557c1 100644
--- a/src/env/components/AppNavigation/intel.js
+++ b/src/env/components/AppNavigation/intel.js
@@ -38,19 +38,19 @@
],
},
{
- id: 'health',
- label: this.$t('appNavigation.health'),
+ id: 'hardware-status',
+ label: this.$t('appNavigation.hardwareStatus'),
icon: 'iconHealth',
children: [
{
- id: 'hardware-status',
- label: this.$t('appNavigation.hardwareStatus'),
- route: '/health/hardware-status',
+ id: 'inventory',
+ label: this.$t('appNavigation.inventory'),
+ route: '/hardware-status/inventory',
},
{
id: 'sensors',
label: this.$t('appNavigation.sensors'),
- route: '/health/sensors',
+ route: '/hardware-status/sensors',
},
],
},