summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-02Fix server LED switch value on errorYoshie Muranaka3-7/+4
Add error state handling in the ServerLed store to make sure the UI accurately reflects the state if there is an error. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I7f3647df9f5a32e241005eb7058a7cda1e0ba36a
2020-12-02Refactor server LED indicator variable namingDerick Montague3-28/+34
- Make name consistent between both Overview and Server LED views Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I36601b603bfeb4e9f2b782641dd2813882466c21
2020-12-02Update application navigation component snapshotDerick Montague1-2/+2
- Ran npm test:update to update snapshot test to fix a broken test caused by the change to the snmp route update in https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/38207 Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I3777026f9c61ed2009b7c36493c7ff7df8ecd629
2020-12-02Add alignment on Event Logs pageSurenNeware8-16/+17
- Align table search, count and date components on Event Logs page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Id681d50f57a6fca86b8d8ba57f8e3420c1a0e56e
2020-12-02Add documentation for table row actionsYoshie Muranaka2-1/+80
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I52f71d9f3098e28d09c21c9293fe051878a41673
2020-12-02Add page components documentationDixsie Wolmers5-15/+73
Components include: b-container, page-title, and page-section. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I5933767d44504dbfb87c2772d140de4d0607d4ab
2020-12-02Add status icon documentationSukanya Pandey9-0/+75
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I7fa990794533c80bc73bbcd15a0d7191ee70cd11
2020-12-02Add unit testing for page section componentDerick Montague2-0/+37
Signed-off-by: Derick Montague <derick.montague@ibm.com> Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I1b3511f0dccaefb0732d5df3f21d10595f0fbd9a
2020-12-01Fix two file switch firmware bugYoshie Muranaka1-3/+3
Fixed spelling errors in FirmwareStore Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I08741ec981f902816c4e4c7063c6e337da9ca9f4
2020-12-01Fix pixelated toggle elementDerick Montague1-2/+2
On some screens, the toggle element is pixelated due to the border color. When looking at Bootstrap default styles, they use the same color for both the toggle element's background color and border color. This change resolves the pixelation issue and follows the same pattern as the Bootstrap component library. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I0fb356153f216c6a79ba57e5f38294871c63dc6a
2020-12-01Add back to top button to hardware status pageDixsie Wolmers3-0/+70
- Created global back to top button Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I32022613e1ba62667b46150463c8f407b0b4ff11
2020-12-01Update indicator LED switch using another propertySurenNeware3-14/+12
- Update indicator LED redfish endpoint based on 'LocationIndicatorActive' property. - Updated both ServerLED and Overview page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Id47133e4834b658d49911be87d93f7985519a6d2
2020-12-01Hide LDAP tab on Intel environmentMichalX Szopinski4-2/+375
Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com> Change-Id: I18c5df56a857733adebec57f0fba68590dcb11f8
2020-12-01Update data option for components using Mixin dataSurenNeware17-69/+130
- Removed all the data options from all the mixins. - Updated component data property relying on data property defined in mixin. - Export data property from mixin file itself. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I4aeffcb333bbaf5b78bcadd711b3169b0b4cb10e
2020-12-01Add label to table checkboxesDixsie Wolmers5-8/+26
- Span with class sr-only added to table checkboxes - Verified passed DAP Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: If6dff636762e6cc70c2f5b345827aa1385a31c97
2020-11-28Add thresholds for Fan sensorsKonstantin Aladyshev1-1/+4
Add lower/upper non-critical/critical tresholds for Fan sensors Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I8588af6e1fb6a3a9f74730de3f3ab0cee0110962
2020-11-28Fix LDAP accessibility violationsYoshie Muranaka1-203/+201
- Fixed "<fieldset> element does not have a <legend>" by removing a label-for prop - Fixed "Form control has more than one label" by removing a wrapper <b-form-group> that disabled controls while the page was loading - Existing table violations to be addressed separately Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I7c90f361cc982b54ddd2b7893ba65b2e5489f5cd
2020-11-28Add documentation for table searchYoshie Muranaka9-6/+81
Create table directory to organize related images in the same directory and add updates to image path that will fix incorrect path in final build. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I896ed5babc596306c082ca6e79aa3c0948a61227
2020-11-25Add datepicker labelDixsie Wolmers2-4/+10
Span with sr-only class added to date picker button to implicity add label. The bootstrap vue datepicker component does not have an accessibility prop for the button inside the datepicker wrapper. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I6fd3e55b865343769d6c0a179ae4c5d8c1038ffb
2020-11-25Fix TableFilter componentYoshie Muranaka1-36/+17
Updates to the event values passed by BootstrapVue checkbox components required changes to the custom component. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic6b1f3c22ff4c056b11a572777fc2f589f121676
2020-11-23Add new style for form file componentSurenNeware5-42/+142
- Now only add file button will be visible. - And selected file name will come down to the button. - Changed form file component from custom type to plain. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ib59135691495c4dddfdbbae0e4228b55cdfda2a8
2020-11-23Add store documentationDixsie Wolmers2-1/+103
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I8597247305e1c3f7958f84b8496a7b75914b85c8
2020-11-19Add unit testing documentationDerick Montague4-1/+136
- Add unit testing section and page Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I693b0576a5815aa7181c5ce068334509b99c7fc7
2020-11-16Fix docs button alignment and image pathDerick Montague6-3/+3
- Create directory in order to use relative path for images and better organize content Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ia5085c1b72c162016ed4da037a15f5f53c744742
2020-11-16Add documentation for table row expansionYoshie Muranaka2-1/+66
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I6123210454c0d18f973cf4ee91a6891a938579a2
2020-11-16Update VuePress configurationYoshie Muranaka20-396/+14
We are moving away from importing application components directly into the VuePress docs. We will document code snippets and add screenshots as a visual example. This commit removes all code and configurations that supported importing dynamic components into VuePress and added images in place of a working component example on the page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I9a75c5d51de8b6d941e4df7ae977d78c043d36e1
2020-11-13Add SNMP settings route to app navigationYoshie Muranaka1-1/+1
Adding a router "to" value so the SNMP settings navigation item can be redirected to the 404 page instead of refreshing the app. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I6e87e2bf6d3682fa0f380a852a555b389132f86f
2020-11-13Align button iconsDixsie Wolmers24-143/+130
- Fixes button icon and text alignment - App header buttons to be addressed separately - Button documentation will be addressed in separate commit - Aligns form input buttons: datepicker, clear search, and password toggle - Moves title from icon to button for icon only buttons - Aligns validation icon with form input buttons Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ie28d7d7dd7303ab6bf1897d1fa569e1580cc2f9d
2020-11-13Add new transition class nameSurenNeware3-3/+7
- Modified transition class name needed for vue3. - Add comment for vue version based classes. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I3578ca7c45e71326e38888412a4f36c266b005a0
2020-11-12Resolve custom-event-name-casing lint warningsSukanya Pandey31-74/+73
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I9eea4eac3b8cacc216fc9ad1011e51622622e75f
2020-11-12Delete all selected event logsSukanya Pandey2-1/+25
-Earlier all the event logs were deleted ID wise. -Now when all logs are selected then below API will be called to delete all the logs. -API : '/redfish/v1/Systems/system/LogServices/EventLog/Actions/LogService.ClearLog'. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ib7026a4fe3c324e6a998be747325f379a944f1c8
2020-11-12Update docs page container layoutDerick Montague1-1/+8
- Update max-width to use 72 character length - Remove center align of default content and page-nav - Decrease padding Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Iafff0bc2bd0a64e2959997854e1acfb8804578d3
2020-11-12Fix typo in spec descriptionDerick Montague1-1/+1
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib410eec180d8f08728aae5504ff412fa01df9fee
2020-11-10Update failing unit testsDerick Montague7-480/+597
- Add babel plugin to handle Jest import of SVG. Without plugin the test fails with a require.context() is undefined - Update snapshot tests that have changed - Removed globals from .eslintrc.js that were needed prior to migrating from Mocha and Chai to Jest Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ibd01d2e629b5ecb47d072e277e4e9b5ae5c5f001
2020-11-07Add documentation for table sortYoshie Muranaka2-4/+117
Create example BmcTable component to eventually showcase all functionality. For now, it only includes table sort. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id3f3ac603a58d5dbc8674ec5b2d9d059e935407d
2020-11-07Add documentation for table componentYoshie Muranaka4-0/+113
Adds Table documentation page under Components section with an example of how to create a basic table. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I9033fae662bd46d301edfb02d8a5c108e05017c6
2020-11-06Fix typo in SOL console helper textDerick Montague1-1/+1
- Missing the word the to make the helper text a complete sentence Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I62d41134f9234620e00c857b90bcf256cf26e275
2020-11-06Fix broken links in documentationDerick Montague1-2/+2
There were two broken links on the Getting Started page. These were broke when changed the docs information architecture (IA) and when we removed the guidelines/overview page. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie12bd1b1320db4e8922c4a08d944d74aaf53a2a4
2020-11-06Resolve vue/no-unused-vars lint warningsSukanya Pandey3-3/+2
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I25ca1e451af5e793cd864d484572049e04cf09bc
2020-11-05Fix property order to meet linting rulesDerick Montague1-5/+5
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I4436cc0d5dc5da934a4bf1b0679a91ab3854a9c6
2020-11-05Fix icon color in documentationDerick Montague2-6/+12
- Add StatusIcon to ehnaceApp and use the component imported into the the documentation's component/app-imports directory to resolve fill rendering bug in the Alert component - Remove the scoped attribute to make the changes work for alerts in documentation - Update StatusIcon component to match changes to application component Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I4090d58f78a1d10d9745ee592424ca0c0c91c610
2020-11-04Fix Safari default dropdown on Local user management pageYoshie Muranaka1-2/+7
Currently when creating a new user on the Local user management page, the 'Administrator' privilege appears to be selected by default but in Safari causes inline validations errors if attempting to submit the form without manually choosing an option from the dropdown. This commit will add a default "Select an option" item from the dropdown to avoid inconsistent default select behavior in Safari. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I779fd62a516faf7dc88fe4992ec36c0c23a44cce
2020-11-04Resolve vue/no-lone-template lint warning messageSukanya Pandey1-25/+23
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ib2a7bdff5b4075f56f5beda5eb5861645ffa211b
2020-11-03Resolve firmware accessibility violationDerick Montague1-5/+4
The Bootstrap-vue b-form-group component has two different HTML blocks that are generated depending on what props are present on the component. Neiter of these are correct for wrapping a button since it is not semantically correct to wrap one button alone in a fieldset or to associate a <label> element with a button. - Remove the b-form-group comonent that contains the submit button Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I41d05883f4ca133f44188cb03cb2a44917361709
2020-11-03Fix eslint no-prototype-builtins errorsYoshie Muranaka4-5/+6
Made updates to TableToolbar, ModalAddRoleGroup, and ModalUploadCertificate components. https://eslint.org/docs/rules/no-prototype-builtins Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic143cd244b288bc089a9416699d7c3d4349a500c
2020-11-03Update linting packages to use latestDerick Montague121-2330/+2531
- 99% of changes were small syntax changes that were changed by the lint command. There were a couple of small manual changes to meet the property order patterns established as part of the vue:recommended guidelines. There are rules that were set from errors to warnings and new stories are being opened to address those issues. Testing: - Successfully ran npm run serve - Successfully ran npm run lint - Verified functionality works as expected, e.g. success and failure use cases - Resolved any JavaScript errors thrown to the console Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie082f31c73ccbe8a60afa8f88a9ef6dbf33d9fd2
2020-11-02Update local user management role tableYoshie Muranaka1-2/+2
Updated role table to indicate Operator and Readonly roles are able to "Update password for current user account". Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I38638f007dce3a4077e66e99a2e8b0dd3bc52637
2020-11-02Add page anatomy quick start to documentationDixsie Wolmers2-0/+82
The page anatomy quick start is intended to give developers a quick reference for building out new pages. Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Idfed9e62822283c971e228a8a8a186ae05e485ae
2020-10-30Remove Virtual Media from IBM buildYoshie Muranaka3-14/+2
Removes Virtual Media from app navigation, router definition, and unregisters the store module. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0e3ab2a6cb28b9923efbeb6b2c212b0a09d263a9
2020-10-30Add two file firmware updateYoshie Muranaka9-196/+267
Adds the ability to upload separate Host and BMC firmware images through the GUI. By default, the two file firmware update page will be shown. Changes to the .env configurations will enable the single file upload page. The IBM env is configured to allow single file firmware update. Two file upload features: - File upload through local workstation or tftp server - Reboot from backup BMC image - Does not have ability to reboot from backup host image - Does not implement checks in GUI for host status, which is the same as what we have in phosphor-webui Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ibf2a2d9ffc3952dd5a5454c723350c61d9f91c3e