diff options
author | Paul Fertser <fercerpav@gmail.com> | 2025-01-21 20:22:20 +0300 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2025-02-05 12:03:27 +0300 |
commit | 6b1a15736e939b591e787ae293745649dbb504ed (patch) | |
tree | 3c9820be5631ec68c587ea7458801e789553ee48 | |
parent | a5dbf55f125c1b3841bdc1fc7743c9e9f347f3cc (diff) | |
download | webui-vue-6b1a15736e939b591e787ae293745649dbb504ed.tar.xz |
[RFC] add Dumps page to navigation
The functionality of initiating and displaying dumps is not enabled by
default in bmcweb but it's used by at least Facebook, Fii and IBM. While
IBM has their own overview page and router code which makes it
accessible the others do not.
I do not know what the policy should be about exposing features like
that, please comment. Guess ideally webui should discover available
features on startup and add to the menu dynamically, any takers?
Change-Id: I9c85ecaba009547c69166c5cbaba62a005d75f48
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
-rw-r--r-- | src/components/AppNavigation/AppNavigationMixin.js | 5 | ||||
-rw-r--r-- | src/router/routes.js | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/components/AppNavigation/AppNavigationMixin.js b/src/components/AppNavigation/AppNavigationMixin.js index c00e98439..89c1508b4 100644 --- a/src/components/AppNavigation/AppNavigationMixin.js +++ b/src/components/AppNavigation/AppNavigationMixin.js @@ -49,6 +49,11 @@ const AppNavigationMixin = { label: i18n.global.t('appNavigation.postCodeLogs'), route: '/logs/post-code-logs', }, + { + id: 'dumps', + label: i18n.global.t('appNavigation.dumps'), + route: '/logs/dumps', + }, ], }, { diff --git a/src/router/routes.js b/src/router/routes.js index d9e799a34..f821ce1d6 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -32,6 +32,8 @@ import Power from '@/views/ResourceManagement/Power'; import SnmpAlerts from '@/views/Settings/SnmpAlerts'; import i18n from '@/i18n'; +import Dumps from '@/views/Logs/Dumps'; + const roles = { administrator: 'Administrator', operator: 'Operator', @@ -120,6 +122,14 @@ const routes = [ }, }, { + path: '/logs/dumps', + name: 'dumps', + component: Dumps, + meta: { + title: i18n.global.t('appPageTitle.dumps'), + }, + }, + { path: '/logs/post-code-logs', name: 'post-code-logs', component: PostCodeLogs, |