summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-10-20Fix documentation render bugDerick Montague5-3/+129
Using the i18n module in the BVToastMixin file caused an issue with VuePress that resulted in the static files not being created and the documentation rendering as a blank page. - Removed the import of the BVToastMixin - Copied BVToastMixin to docs components and removed i18n - Copied the StatusIcon to docs components to so icons will render with the correct fill color in the toast notifications GitHub Issue: https://github.com/openbmc/webui-vue/issues/40 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie479df17d529ad2803c41e7442801e13601a0a02
2020-10-20Fix imports on router indexDixsie Wolmers1-1/+1
UI failed to load when routes were imported before store in router index. Store should be imported before routes for UI to load correctly. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I1ba02cf567babc67c7a5b1c5148d49ae19108faa
2020-10-19Add comments for imports that support dotenvYoshie Muranaka4-1/+17
We have set up exact match resolve aliases to support different dotenv build customizations. Added comments to the imports that should not be changed. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie371b42ec35f876ccb89ef976f7126d5234a1b47
2020-10-19Update relative path imports to use '@' aliasSurenNeware25-38/+38
- Add '@/' instead of '../../../' Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ida1dc26f2bd62f38914a74b729ee8fd143c360ac
2020-10-16Add title attribute to header actionsSurenNeware2-7/+16
- Add title attrbute to refresh and avatar icons in app header. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I89629548ecf5141e3c168fe7b5e1a60d1f86620c
2020-10-14Catch the TypeError in sensors pageYong Li1-4/+4
On the sensors page, there is the below error and some sensors are missing: Uncaught (in promise) TypeError: Cannot read property 'LowerCaution' of undefined The root cause is that some sensors do not support all these Thresholds properties, add the checking to catch such errors. Tested: These sensors in redfish/v1/Chassis/$id/Sensors/ can be displayed in sensors web page Signed-off-by: Yong Li <yong.b.li@linux.intel.com> Change-Id: Ic80048045ee8e293e693811c246723557489fb35
2020-10-14Add consistent save button pattern to LDAPDixsie Wolmers1-1/+0
As a pattern, save buttons should not be disabled Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: If1d327db6d688d54e3068fb9807a49d401d57af0
2020-10-14Add custom IBM progress loading barDixsie Wolmers2-3/+34
- Current out of the box bootstrap did not meet IBM style guide - Custom gradient and animation added to loading bar to indicate progress Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I9d12c1709e7e344545a7ecfd211db0507fd40794
2020-10-12Add TFTP input label and helper textSurenNeware2-2/+7
- Add TFTP input label and helper text for firmware page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0f1d9f6fda9bf375449da7f8d814953628575775
2020-10-09Fix "Export" button height on hoverMichalX Szopinski1-3/+4
Details: https://github.com/openbmc/webui-vue/issues/38 Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I956938186fa06b9670cb716979572a3b8d6a1b6a
2020-10-09Update ReadmeGunnar Mills1-4/+19
Add webui-vue features not in phosphor-webui. Point at GitHub Issues label:phosphor-webui-feature-parity for feature parity. Add recent mailing list discussion and point at commit moving to webui-vue as an example. Change-Id: Ida9631c7ed8a4485f3bced34894c89eb3cca71b5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2020-10-09Refactor firmware store to get backup from SoftwareImagesYoshie Muranaka1-32/+29
Eliminates an extra call to find the system backup firmware image. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I82e36c6b8982dc3bfbdfb57c9ee143c1367e7c9e
2020-10-09Fix contributing readme typoDixsie Wolmers1-1/+1
Correct npm run docs:serve for running vue press docs Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Idd2e54f3f61e06baf46121984e0907989a0f3801
2020-10-08Update Vuex package to v3.5.1Yoshie Muranaka2-4/+4
New hasModule method was added in v3.2.0. This new feature is needed with env specific work being done for the two image firmware update work. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia2a9168f76eb36a586913bd6371533eea0981b1c
2020-10-07Add new style guide to global button styleSurenNeware7-63/+81
- Updated new style guide for Primary, Secondary and Link button variants - Changed box-shadow style from outer to inside on focus and active state - Updated font weight from bold to regular for normal buttons and font weight bold for link button. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I38ca94baa9daec3fd03b830fc7b6d676fcce15b0
2020-10-07Add updated table stylesSukanya Pandey17-1/+34
- Refer below link for styles: https://ibm.invisionapp.com/share/D8O06PPE32B#/screens Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I6dcc3b8d0fb7ef19388b5bfeaf87fce78725b638
2020-10-06Add stacked table style for small screenSurenNeware3-1/+70
- Add style to the stacked table type for small screen only. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I79fb44b20c8436df5734f89e60c98966c9c6a591
2020-10-05Fix hardware status expand button accessiblityDixsie Wolmers9-22/+78
- Aria label added to provide screen readers context for button action - Title added to chevron icon to display label on hover Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ib8c0cef36d7aa61e0b4b0ac7fdabffb7e8a0a17a
2020-10-05Update class to make event logs filter responsiveSurenNeware1-2/+2
- For small viewports updated class to make event logs filter responsive. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I95ff82c0b4765815f70467b5ca748dcc3043d35d
2020-10-05Add changes related to SOL pageSukanya Pandey5-49/+123
-Changes incorporated can be referred through below link: -https://github.com/openbmc/webui-vue/issues/25 Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I39d79259e0470d11c15e596908eefee7a799262a
2020-10-02Update package-lockDerick Montague1-53/+0
- Lock file not updated when I removed the chai library Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I7bb47b3b29154765bd8296e18ed6b29b7508117b
2020-09-30Update name of sensors export fileSurenNeware2-1/+18
- Now the name of exported sensors file will be combination of date and sensors as prefix. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ie30a1b5e61ad47bc2e78f173945b54ed73a873a5
2020-09-30Remove searchFilter property from Sensors pageYoshie Muranaka1-1/+0
The searchFilter data prop is included in the SearchFilterMixin, so can be removed from the Sensors component. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iba40439de0aa01458cf95157f25124e0b08669f1
2020-09-30Resolve broken unit testsDerick Montague3-171/+320
- Refactor broke snapshots and the logout functionality test Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I31932b0553a8ca9e6e2a38235b7769fab2061ba6
2020-09-29Fix responsiveness of KVMMateusz Gapski4-48/+126
More info: https://github.com/openbmc/webui-vue/issues/24 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I150e7816ea08f462300566276ddbfc117e9f2e0c
2020-09-28Fix duplicate nav itemYoshie Muranaka1-1/+1
There are two "Configuration" nav items in the primary app nav. Changed the second one to "Access control" Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5de41892ec3f675c7cb98b1600d77f0342723d57
2020-09-28Fix error on Hardware status pageYoshie Muranaka1-1/+1
Setting default value for processors to an empty array to avoid error "TypeError: Cannot read property 'length' of null" caused when attempting to calculate the total table count on initial load. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I2e3af184f7f7649bed96cd4fd994fb3ee24ff28f
2020-09-27Add icon to the toast componentSurenNeware2-7/+29
- Add status icon to the toast component. - Add a method that return title with associated icon. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iae75e3eec7317af6b25a0ed1bfa4cc72644f7cd7
2020-09-27Remove unused npm packageDerick Montague1-1/+0
- We are not using the chai npm package. It was not removed after moving to Jest Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I13bb8296bfa06a40e855ec3ae43625b668e92cf0
2020-09-25Make customizations to IBM routerYoshie Muranaka2-2/+15
Removes KVM definition from default router. Before this change, the IBM environment build would remove KVM from the app navigation, but users could still access the page by typing in url directly for the KVM page. With this change, the route should no longer be accessible and will redirect to our 404 page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I75439bc9443f9cbabbedf80b1142dd97209f5456
2020-09-25Move translation into routes fileYoshie Muranaka3-28/+30
- Added intial application load document title update with created hook Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I73d18ed4a56bd04601fa7382c2d6c2ec504b03f5
2020-09-25Update toast drop-shadow opacityDixsie Wolmers2-1/+3
- Created sass variable for box shadow to be reused for elements requiring box-shadow - Update toast opacity to 0.3 Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Icfc0a58944fd5fe6d2c677e99564910fc2c67f1f
2020-09-25Create separate file for Vue Router routesYoshie Muranaka7-308/+282
Separating routes into its own JS file to allow for easier env customizations. Update store resolve path to make sure right env stores modules are imported in every file. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5c646c81fab54085198b2e179be80c954258f51c
2020-09-24Add table search filter clear buttonDixsie Wolmers9-35/+81
- Adds ability to quickly clear a table input search field - Uses similar styling to password toggle icon and datepicker - Button style to be addressed in separate commit to match style guide Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I18f2e01c28c00c7e7b2ad1af924070241caf36a5
2020-09-24Add optional fields to LDAP and CSR formDixsie Wolmers3-40/+53
- Optional fields are indicated on the form field label - Asterisks indicating required were removed Verified with design. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I998485f8928c2c976aa49790c19c9ac247d5ed24
2020-09-22Show total and filtered number of items in a tableSukanya Pandey8-19/+156
-The total number of items and the filtered items will be shown in the EventLogs, Sensors and HardwareStatus table. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0ee6410bf675038a350a71a02ec076f9e8baf004
2020-09-17Auto fill date and time input fields in DateTimeSetting pageSukanya Pandey1-0/+8
-Under manual date and time input field will be auto populated with defalut date and time. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I62dcfe9ad37193d2ab6dfab1aea14eefb595ff37
2020-09-17Update config to enable custom app navigationYoshie Muranaka4-1/+162
- Update documentation to include navigation customizations - Created an IBM specific application navigation file to demonstrate how to remove KVM navigation item Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I2ea61e9f3a43e6821f274ed90e0eed18afabccb7
2020-09-16Update style of modal titleDixsie Wolmers1-1/+6
New style guide uses h4 style for modal title Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I440ff224b24de788086a33b5a0df7ad464d22096
2020-09-16Add loading image from external serverMateusz Gapski4-15/+253
Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: Ie9793b25fdee0f438d64aafe0978d75025800cb8
2020-09-16Update name of file of exported log filesSurenNeware2-2/+16
- The name of exported event log file would be combination of event logs prefix and current date and time. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Iaaf46fed5df1942e9cc2e4157dafa8e3e755ecf8
2020-09-16Remove not needed scroll on sensor pageMateusz Gapski2-1/+7
Details: https://github.com/openbmc/webui-vue/issues/17 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I5c76219db954470dc72231e51ea0f202016d6816
2020-09-15Refactor navigation componentYoshie Muranaka3-169/+180
We are anticipating necessary customizations to the app navigation for different environments. This refactoring will allow for a more programmatic approach. By abstracting the navigation into a JS object we can leverage the Vue mixin to isolate customizations while sharing a standard template and styles. There may be slight changes to data-test-id-* hooks. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0d095acfee29cfdd4ce1094b860d754f45dc6db9
2020-09-11Change overview page critical event sort orderDerick Montague1-1/+1
- Set the table to sort by id rather than date to resolve confusion if date stamps are identical. In this use case, the id column will not be sorted correctly based on limitations in the framework. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I51ad712d34aea7da2a4152dfb695c16b5f94b453
2020-09-09Hide loader on Reboot BMC pageYoshie Muranaka1-0/+4
Added beforeRouteLeave component guard to make sure loader bar is hidden before navigating to a new page. This will make sure that the loading bar always starts from 0, if the user navigates to another page before the inital load completes. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I16e57203123069160575f4c288bdbc5bad44e669
2020-09-09Update event log default sort orderDerick Montague1-1/+1
- Set the default sort order to id descending to handle an edge case created by two logs with the same time stamp and the GUI limitation of sorting by one column only. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib07c9b849e043c401e91db720df92feb850e15dd
2020-09-09Add title attribute to all icon only buttonsDixsie Wolmers4-5/+23
- Title attribute allows action text to be displayed on hover - Carets in hardware status table will be addressed in a separate commit as part of Hardware status accessibility updates Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I58a85b6d244d1125f0b43c22d0bb456a36815097
2020-09-07Change intel themeMateusz Gapski1-13/+21
- Change colours in intel theme - Change colour od switch, radiobuttons and checkboxes Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I701e2157a9abe00f4343b27079e0bbce3464f0bd
2020-09-03Add 404 pageDixsie Wolmers4-44/+71
- User will be redirected to 404 page when navigating to undefined routes Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I5d7bbcfdd279b6f6c993370e3adb39a516dbb1ba
2020-09-03Update IBM dotenv file to allow style customizationsYoshie Muranaka1-1/+2
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I60a94a3c88e892d4b4e2469464c4790a6d04b9a5