summaryrefslogtreecommitdiff
path: root/src/views/Logs/Dumps/Dumps.vue
AgeCommit message (Collapse)AuthorFilesLines
2024-07-15Wrong store function used in Dump.vueKees Trommel1-1/+1
In Dump.vue the "store" function getBmcDumpEntries is used but this should be getAllDumps. This because Dump.vue wants to get all the dump entries and not just the BCM entries. Also the output format of getBmcDumpEntries is not what Dump.vue expects causing that WebUI does not display any dump entry even when BCM dump entries exists. Note: The "dumps" path does not exist in the default src/router/routes.js but (currently) only in src/env/router.ibm.js Change-Id: I0c211126e1f1d0394455ea7e7ff627814674e1fa Signed-off-by: Kees Trommel <kees.trommel@aimvalley.com>
2024-06-11Fixed filter error in dumps pageNikhil Ashoka1-1/+1
- We were calling a method that is not present in @filtered. Fixed this by using the method that is added for this purpose and not used. Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: I26b4b7d9be00c79c17dba382c0df6a0f02e1cd89
2024-04-18Focus default action in modal windowsPaul Fertser1-0/+2
Users of common WIMP GUIs (as opposed to interfaces primarily meant for touch input) expect dialog boxes to have keyboard focus set on the button for default action so that it can be executed by a single key press. Usually that is chosen to proceed with the operation but in cases where that leads to data loss the UI designers often pre-select Cancel as a precaution. This patch adds suitable property to all invocations of msgBoxConfirm() method of `this.$bvModal` BootstrapVue object. For regular actions the confirmation button is selected and can be activated by Enter or Space bar. For actions deemed dangerous Cancel is focused instead so it takes two key presses (first being Tab to shift the focus) to prooceed. This also improves accessibility following the Web Content Accessibility Guidelines (WCAG) published by W3C. Tested: manually verified that modals are consistently shown with the specified button focused, Enter and Space bar key presses produce the same effect as left pointer button click: when Cancel is focused it just closes the window, when OK is focused it sends the corresponding request to the Redfish endpoint. Change-Id: I66bfd02e48e08dc18994b11bbdd5d6b3ea27047f Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2024-03-05Reformat files with new linterEd Tanous1-6/+6
All changes should be whitespace, and were done using npm run-script lint. Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.net>
2022-02-04Set table busy state on loadKenneth Fullbright1-3/+8
- Add busy prop to tables Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I4416f12967c9a0ad6c8bb782c7d8de5c17fdd195
2022-01-28Add ability to view all the dumpsSukanya Pandey1-24/+49
The story is integration of these two API responses for their respective dumps: 1.Resource and Hostboot dumps: redfish/v1/Systems/system/LogServices/Dump/Entries 2.BMC Dumps: /redfish/v1/Managers/bmc/LogServices/Dump/Entries Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I24ded733e682d21904e92e2e8be1951e46d33b09
2022-01-07Fixed vuex dumps errorsKenneth1-2/+4
Refactored getters and dispatch names were not matching the getters and actions strings, which made dumps not work. Made the getters and dispatch names match the vuex getters and actions strings to the refactored codebase. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: I414a7f85ef70c270785b825b3b14f9dfb27a33a7
2021-12-01Correct Dump file extensionGunnar Mills1-1/+1
BMC Dump which is implemented in phosphor-debug-collector uses ".tar.xz" https://github.com/openbmc/phosphor-debug-collector/search?q=.tar.xz The Dump page was incorrectly exporting as tar.gz. Fix this. Change-Id: Id0b64a6e0ae92254484170a77e28a01f78c8d368 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2021-09-03Resolve bug for pagination not being updatedSukanya Pandey1-0/+35
- Bug: When a user filters a page, the pagination does not change. - Solution: When a user filters a page, the pagination will be updated based on the filtered results. - This patchset will also add pagination in dumps page. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I189d27b5489c42ac85f25c0a1a4cdb7cf7eae5c2
2021-08-10IA update: Add logs and update overview iconDerick Montague1-0/+337
This is the first patchset of the information architecture changes. These changes are the result of several months of design research with users to improve the existing information architecture (IA). More information can we found in the Github story. This patchset will add a Logs section and move event logs and dumps from the Health section to the new Logs section. It will also update the icon used for the Overview page. Github story: https://github.com/openbmc/webui-vue/issues/56 Testing: 1. IBM build: - Logs contained Event logs and dumps - Both pages rendered when clicking link 2. Intel build - Logs contained Event logs only - Logs page rendered when clicking link 3. Tested default build - Logs contained Event logs only - Logs page rendered when clicking link Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I4621837202cf5ad3469d6ea460d9a5bdc79c8816