summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-01Move Dumps page components to main view and store directoriesYoshie Muranaka7-2/+2
This commit will move away from storing env specific component views and store modules in the env directory. This will help simplify the file structure for dotenv customizations. The env directory will only store modifications to the main store register, router definitions, and app navigation. Pages that are "hidden" by default, like dumps, would still need to be imported and registered in the specific environments. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia5ad76235e00127281f3fa564cb89ec2ca2e0f25
2021-03-01Update the default firmware pageYoshie Muranaka18-1092/+297
- Minor updates made to the general layout and styles - Changes to some page copy - Moves update firmware form to bottom of page - Adds dynamic TFTP upload option - Adds dynamic card layout for BMC and host firmwre - 2 cards for combined - 4 cards for separate - Removes FirmwareSingleImage components that were used for IBM builds Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ib5465ecc30dd1505824bf41c82d33b7655d5e598
2021-02-26Update coding standards documentationDerick Montague4-6/+2
- Remove pages without content - Update overview page name Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Icf26e65d72d2900ddbe216be974930bcc9c0e196
2021-02-25Update single file firmware card layoutYoshie Muranaka10-462/+712
Updates will enable a more dynamic firmware page layout by inspecting all firmware images for host images. GETs all firmware inventory at Redfish endpoint '/redfish/v1/UpdateService/FirmwareInventory' then checks if any image includes RelatedItem '/redfish/v1/Systems/system/Bios' to determine whether the UI should show combined or separate firmware cards for BMC and Host. This is part of an effort to make the firmware page more dynamic. These changes are only visisble with ibm dotenv variables. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I8542a27c6ff421bcb24c8b2570dbe150d5c1ce6c
2021-02-25Update toast layout to align header elementsDerick Montague1-6/+15
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I2bedab786dc10ee3eb7366a20c6c7e4fb2157e3e
2021-02-25Added test hook for SSL certificates page.Sandeepa Singh1-0/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: Ia1647adcf2499cafe749b91e444c1fc97401cd7a
2021-02-23Reduce amount of calls for the KVM window 'resize' functionKonstantin Aladyshev1-2/+8
-Use 'beforeDestroy' hook to stop listening on the route change, -Use lodash to throttle the calls. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I08781417e3e789dcf3532fbe697efb1403f81fda
2021-02-23Refit SoL terminal on window resizeKonstantin Aladyshev1-0/+14
'xterm' addon used in the "Serial over LAN (SOL) console" page doesn't resize terminal screen on window size change. If the initial window is small after its increase in size there would be gaps in the terminal screen workspace. To solve this use fit addon when window size is changed. For optimization add throttle for the event function and remove listener on page destroy. See https://github.com/openbmc/webui-vue/issues/53 for details. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Id3895d43012e8c711a182026cb40aaa64234f9bf
2021-02-23Added test hook for event logs pageSandeepa Singh1-0/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I6464c2108d50364dbc068fa361e582d11d4a9a13
2021-02-23Add test hooks to Power server operations pageSurenNeware1-3/+12
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I541bbf5d75bd1316f1ba3182c6fb37b24894430a
2021-02-17Fix skip link 404 error on refresh bugDerick Montague5-16/+37
Problem: When a user uses the skip link anchor to skip the navigation, the route was being changed to /#main-content. This route does not exist. If a user were to manually refresh the page, it would return a 404. This link is critical to meet accessibility guidelines and is needed by users that navigate with a keyboard. The challenge is that we need to mirror a full page refresh on all route changes, so we set focus on the app-header element on each route change. When we click the skip to navigation link, there should not be a route change. All we need is to set focus on the <main> element so that the user can tab to the first tabbable element in the main content section. Solution: - Use a native <a> element with an attached click event handler - Prevent the default action of adding the hash to the URL - Create a global mixin to reuse for route changes and skip link activation - Emit an event that can be listened for to call the global mixin Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I4c2301b02f608eeb376ed2d1bd809f3d5c1bf545
2021-02-17Hide SNMP Settings tab on Intel environmentMichalX Szopinski1-5/+0
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I05b61caa8c7a543c17577ff4a0c95b9c9020e3d2
2021-02-17Update single file firmware TFTP upload optionYoshie Muranaka2-3/+17
Adds API check for the UpdateService allowable values to determine whether or not a TFTP upload option is available in UI. This is part of an effort to make the firmware page more dynamic. These changes are only visisble with ibm dotenv variables. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ied8ac5fa9f0441b1a0762c7a5267e298294eea32
2021-02-17Update single file firmware page alertsYoshie Muranaka2-4/+10
Create a dotenv variable to determine whether or not the firmware update is disabled when server is powered on. This is part of an effort to make the firmware page more dynamic. These changes are only visible with the ibm dotenv variables. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I006e7500855b0acfd0db918e80fffd79a1ec6986
2021-02-17Unit testing docs typo fixDixsie Wolmers1-2/+2
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Id75c6e923682f199440ca8d3fd986f034a8f332b
2021-02-16Add documentation for BVToastMixin enhancementsYoshie Muranaka2-0/+24
Includes documentation for multi-lined toast body, refresh app link, and timestamp. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id95e1858a703cc0be44f1f6de51fd6daab24876d
2021-02-16Add enhancements to BVToastMixinYoshie Muranaka6-126/+151
Adds ability to create toasts with multi-lined body content and options to include a timestamp and application refresh action. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I30b1da04a0e0b5f29a419950462d1ca35e207552
2021-02-16Update single file firmware upload pageYoshie Muranaka8-334/+392
These updates are visible with IBM dotenv variables. Updates include changes to layout and verbiage. - Added a global application refresh listener, so app refresh can be called from components outside of the application header Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5ebe6452a0360b6cced5597b648cde33e97c5a1f
2021-02-16Add test hooks to security settings pageSurenNeware1-2/+2
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ib1bfd5f34324d6189d03745c7b92d81bbd58faf2
2021-02-11Remove i18n module import from Profile settingsYoshie Muranaka1-2/+1
Update translation to use the global $t component method provided by the i18n plugin. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0f1de15b19820e3235187fb4c4c51befa67005e4
2021-02-11Added test hook for client session pageSandeepa Singh1-3/+4
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I5ba8243fcc0ba561bfab18503c2c1ba5aebd47c0
2021-02-11Added a test hook for sensors pageSandeepa Singh1-0/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I4a560f0c960290ada4cd4148011ae40d3129a7c6
2021-02-10Update FormFile component button styleYoshie Muranaka1-1/+23
Default file upload button will be secondary, with the ability to optionally pass 'primary' variant as a prop. Added correct disabled button styles to the SFC scoped styles. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Idacb84a9298db0d5bce727f20842d2a1a15b7448
2021-02-10Correct client sessions displayed dataSurenNeware1-2/+2
- Used ClientID data property for client ID and ClientOriginIPAddress for IP address. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ib39f5cafe407cb9abc2aec802935bf2dab62486a
2021-02-08Add DHCP enable to Network Settings pageDixsie Wolmers3-24/+153
- Adds ability to disable or enable DHCP from UI. - Displays DHCP addresses in table. - Displays only Static addresses in Static table Note for testing: - If BMC does not have a DHCP server on the network when enabling DHCP then system will go down (no IP addresses will be available) Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I4a9e6e13a80bcac8233e4382c0f4accc59c8adb8
2021-02-08Add test hook for overview pageSandeepa Singh1-1/+1
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I76f8abe6e28714a9c5e8af85e6f4d854146db7b2
2021-02-04Add property check on Server power operations pageYoshie Muranaka1-2/+4
Check for LastResetTime value before attempting to create a Date object. The error causes the page to hang when attempting different actions from the page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia2d754e430d1d3ad69f04d3c350c68ca35fa5375
2021-02-04Change system indicatorLED propertySurenNeware2-2/+8
- Changed system IndicatorLED property to use LocationIndicatorActive and updated SystemStore for same. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0083034b7a8993074262a1e2b60c5829f8519dbe
2021-02-02Add power restore policy pageSukanya Pandey10-0/+218
- This page will show how the system boots once power is restored after a power disturbance. - API used to fetch the JSON: /redfish/v1/JsonSchemas/ComputerSystem/ComputerSystem.json - API used to fetch the current policy and to save updated policy: /redfish/v1/Systems/system/ Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I203bd3c5d26071b882cce6b9950cdb3fb1deb212
2021-02-02Remove account type assignments from privilege role tableDixsie Wolmers2-41/+1
The removed information will be displayed in the user table when it is available in Redfish. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I867a7792f2b2335456baf9934e8ef593a52b11e5
2021-01-29Update failing unit testsYoshie Muranaka2-2/+12
Accessibility updates for icon only buttons required updates to snapshot unit tests. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia2bb1576f53d3f38c4c68879b5273edd3d33b92d
2021-01-27Fixed icon or text only button accessibilitySurenNeware14-17/+25
- Add sr-only element to icon only buttons - Removed title from text only buttons Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ica57dec70401c04a9d7506306a406fe394e52113
2021-01-26Update security settings textSurenNeware2-3/+3
- Updated BMC shell title and description. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I4485a9f2f6b4ee065a9902b7a3facd942a1feb45
2021-01-26Update linting and code formatting node packagesSurenNeware2-146/+87
- Updated eslint, eslint-plugin-prettier, eslint-plugin-vue, lint-staged and prettier packages. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iaf80c39a90506a820957c5531054ea96d4a3f458
2021-01-23Add disabled class to FormFile componentYoshie Muranaka1-2/+6
Passing disabled prop to button and span so file upload button can visually reflect a disabled form control state. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I78f2db521c4f4016e7e2aa92e5a56bc4f9170fe0
2021-01-22Remove unused property from firmware pageYoshie Muranaka1-3/+0
Removed isPageDisabled because it is not used Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0b3f604a0bae0d5e001911553ecb8727e7a78801
2021-01-22Update vue cli node modulesSurenNeware2-78/+296
- Updated babel, eslint, router, unit-jest, vuex plugins to the latest release. - Updated latest release is 4.5.10 Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ie9c69bab10542ae9242f2a190dec1b3919a67ede
2021-01-20Add unit test cases for search componentSukanya Pandey2-0/+94
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I9721a9bc8b1fce850b824a2f9d7a6d199c5e0236
2021-01-20Add ability to downlad dumpYoshie Muranaka2-0/+25
- Adds download row action in bmc dumps table - Adds new rowAction download type to support <a> tag with download attribute Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I97fd70e6a6783d4336ca1a8486cf1cd3062ebb5d
2021-01-20Add unit test cases for loading bar componentSurenNeware2-0/+52
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ifcb488df080bd64ce9e9865befd4c044a73589e1
2021-01-20Run test script as part of the pre-commit hookDerick Montague3-1/+4
Now that we have added more unit testing, it will be beneficial to run the unit test script prior to check in. Eventually, we will want this to be part of the CI build process since Git pre-hooks can be avoided. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I59aad81a470176d2f6a5afeb130661c642f4d259
2021-01-13Define SNMP page route in IBM navigationYoshie Muranaka1-1/+1
Add route definition for SNMP settings page so route can be caught in 404 Page not found. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iccbed7a2fccd962a5ff0d6b78fb557949b586837
2021-01-13Update axios to remove vulnerabilitiesDerick Montague2-2072/+3211
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I145192b4fc6f72c8ed4742c4d3c019c35da0ce6f
2021-01-12Fix broken TableToolbar snapshot testDerick Montague2-0/+7
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I37054cd6aabc619a001ced0d928aacd22f46ed3d
2021-01-12Fix broken info-tooltip spec and snapshotDerick Montague2-14/+25
- Two of the test are not needed since they are testing the vue internal functionality of rendering a title attribute value correctly and importing the right carbon icon. For this test the only tests needed is the snapshot. It could be debated that this component does not require a spec at all. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Icca107b185cd579d47877d50ec5763c5ffffc06a
2021-01-11Removed truncated style from overview pageSurenNeware2-16/+7
- Removed truncated style from network information section. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I11339a1c6099a733b07979dd26b13a0b400de19a
2021-01-09Add unit test cases for table cell count componentSukanya Pandey2-0/+41
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Id948347cd38a9e58d21aaf4180afe8ab5c2f2ed7
2021-01-09Add translated cancel title to all modalsSukanya Pandey14-0/+23
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I24ea692467077eddc7a74b86a9ba56d49818404b
2021-01-08Fix input icon being hidden on input focusDerick Montague2-2/+2
Both the datepicker and password fields have an assoicated icon. When the input element receives focus the associated icons are hidden. This is caused by a z-index issue and was a bug created when fixing another bug that caused the datepicker icon from rendering above the table batch actions toolbar. Both bugs have been resolved with this patchset. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: If923cd5bc6a076b01efa44492f717b78fb6584ca
2021-01-08Fix lint warningDerick Montague1-3/+1
The template was removed because it did not meet the vue/no-lone-template rule. It is not clear the reason this template element was added. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I26b0f5f6eab94afdeee52e142d2507994c3849b4