summaryrefslogtreecommitdiff
path: root/src/views/Logs
AgeCommit message (Collapse)AuthorFilesLines
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 Fertser3-0/+6
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 Tanous4-19/+22
All changes should be whitespace, and were done using npm run-script lint. Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.net>
2023-04-25Display eventlog status button based on conditionSivaprabu Ganesan1-18/+35
Resolved and Unresolved status button in event log page is shown or hidden based on the environment variable VUE_APP_EVENT_LOGS_TOGGLE_BUTTON_DISABLED Change-Id: If99a9705d4690995fb998daa979c21c61c3cc4a7 Signed-off-by: Sivaprabu Ganesan <sivaprabug@ami.com>
2023-02-21Add button to clear POST code logsKonstantin Aladyshev1-0/+26
Utilize '#LogService.ClearLog' action to provide a possibility for the user to clear POST code logs. Change-Id: Iadd94b9ebc93bc81b13ee979962103587c939fc7 Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
2022-10-24Add env variable toggle event logs delete buttonDamian Celico1-16/+28
Delete button in event logs page is shown or hidden based on the enviroment variable VUE_APP_EVENT_LOGS_DELETE_BUTTON_ENABLED Signed-off-by: Damian Celico <damianx.celico@intel.com> Change-Id: I10a46f5ef147865f954e6f94bcefec5c280ad3ea
2022-02-14Unable to Delete dumps and incorrect toast messageNikhil Ashoka1-1/+5
Unable to delete all dumps and displaying incorrect event log delete message Able to delete all the Dumps Approriate message is displayed in toast after deleting Event logs Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: I1169bcd8e6308d50baf5c7ddcab5c511edcbc875
2022-02-04Set table busy state on loadKenneth Fullbright3-9/+20
- 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 Pandey2-27/+54
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-24Rename TableDataFormatter mixin to DataFormatterDixsie Wolmers2-6/+4
Mixin was renamed to reflect usage on all components, not only tables. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ic962ba879fffa39b9f6f93446771fbf6f67915d0
2021-09-03Resolve bug for pagination not being updatedSukanya Pandey3-2/+37
- 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-30Resolve bug for batch action on post codes pageSandeepa Singh1-2/+3
- User will be able to export in batches - User will be able sort on the basis of created date Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I6477e722f5aa8a2d19621fb3b851a6d2651634b0
2021-08-16Resolve the download bug on postcode logs pageSandeepa Singh1-0/+1
The design has been updated to hide the download button when the key 'AdditionalDataURI' is not present in the redfish API response. Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: If78968ad72e62348b4b81967a3b61c2af53fa020
2021-08-10IA update: Update health sectionSandeepa Singh2-0/+346
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
2021-08-10IA update: Add logs and update overview iconDerick Montague6-0/+1108
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