summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-01-08Resolve issue of page not found when opening new tabSukanya Pandey3-320/+171
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Id46f9f663c456a7d09b55d6d322b00785df4cbe7
2021-01-08Add unit test cases for status icon componentSukanya Pandey2-0/+65
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I58bb3e5f5fa9c02276b2031322ac01affeb17ca3
2021-01-07Update PageContainer snapshot testDerick Montague1-5/+4
The UI is rendering differently than the snapshot saved. I reviewed the difference and it is simply a difference with how the formatting of the class and id values. I did not see this issue when testing the PageContainer snapshot test. It is not clear why there is a difference, but if it were to fail again for a different user, we can remove the snapshot since the main test we want to pass is that the HTML element being rendered is the <main> element. To update the snapshot for an individual spec file, use the following command in the cli: npm run test:update -- -u tests/unit/Global/PageContainer.spec.js Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ieac495f893ba2025d2d6f4d3b7b49506bdf0ecae
2021-01-07Update IBM router and navigationYoshie Muranaka2-0/+28
Updates to include Security settings and Client sessions pages in IBM dotenv build Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1c73b069b0cf734e312e60c15811afcc45824ca3
2021-01-07Fix issue related to profile settings pageSukanya Pandey1-12/+2
- On change of state of the timezone display preferences. - Toast notification will be displayed to the user. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ie846638077f75cb21123ec347d3e9f38724a51e8
2021-01-07Add unit test cases for info tooltip componentSurenNeware2-0/+41
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ic89aed1f8244073eab82cdc6f79dba9520585374
2021-01-07Add unit test cases for table toolbar componentSukanya Pandey2-0/+58
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I2e93244fcd8bbde7c9398cf0db56d5125614aa69
2021-01-07Add test case for input password toggle componentSukanya Pandey3-1/+66
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I00e3fc12a58d644d0aad3c0caf4a94d2ed435109
2021-01-05Correct name for IBM custom nav Access ControlSurenNeware1-1/+1
- Corrected name for Access Control when env is changing for IBM custom nav. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I8c804a3c8630ea9f6045c2973a985f44efed5273
2021-01-05Add unit test cases for page container componentSurenNeware2-0/+31
Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ia7895156d1a4551bd70f95cc0207bf72522fba0e
2021-01-05Add DumpsStore API callsYoshie Muranaka6-18/+259
Ties in API requests to the Dumps page and adds ability to: - Create new System or BMC dump - Delete single or multiple BMC dumps. Uses ClearLog service to delete all and DELETE request for single dump deletion Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iae928fa3b8fab00e549c33c0ab914a4b04de0f40
2021-01-05Add dumps page to IBM envYoshie Muranaka8-0/+427
Adds a non-functional dumps page with majority of layout and user flows in place. Page visible with IBM dotenv configurations. Includes: - Initial GET for BMC dumps - Table search, sort, filter, batch and row action flows - New dump form, validations, and toast notification Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id59ec4327744f4e10cc99e4e3c0b2db5b0476f9c
2021-01-05Add updated spec file for AppNavigation and AppHeader componentSukanya Pandey2-0/+59
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I529fab5463692e70dea23536b7b0ca1ce52c67a7
2021-01-05Update class name and improve transitionDerick Montague1-4/+7
The class name showBtn uses a camelCase naming convention and CSS selector names use the kebab-case naming convention. The z-index solution is not needed if we hide the element with visibility. Using both opacity and visibility allows the transition to be elegant. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ie555f958daaadd2bc3a3777b6c2bc7d5e83a0cc5
2021-01-05Fix table date filter calendar icon issueSukanya Pandey1-1/+0
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I3cbb66c56cd7824707107771b034317d95f96014
2021-01-05MAINTAINERS: update email addresses to match GerritPatrick Williams1-1/+1
Yoshie's email address did not match that registered in Gerrit. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2cb76630e667725a5f63987fde95282305484b50
2021-01-05Fixed Back to top button appearance issueSurenNeware1-1/+2
- Changed back to top button style when its getting disappear. - So that button should not come over the page contents. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0a013c2bcdd291edd9f52566130882360451a280
2021-01-05lint: update format-code scriptPatrick Williams1-1/+9
Due to openbmc/openbmc-build-scripts@55448ad, format-code scripts are now required to have a #!. Add one here. Format-code scripts are also ran from an arbitrary directory but the path to the root of the repository is passed as the first argument. Switch to that directory so `npm` does the right thing. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic15ef0af7d7ebd224762e9eaba41d3b92ce5e5bd
2020-12-16Add form file documentationSukanya Pandey3-0/+29
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I578ead17e5870ae0981aba775c258b49d697a208
2020-12-16Show asset name in the app headerSukanya Pandey3-10/+43
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: If5394604d6c91b3604eaadb33178376fe6da672c
2020-12-16Update component documentationDerick Montague11-75/+42
The component structure was not consistent. We determined how we wanted to save image examples within the component directory, but not all of the components were updated. The result was that some images were not displaying on the component pages. This patchset resolves that issue, along with removing the page component since it is not an actual component within the application. - Add directory for each component, move example images to the directory, and update the image path - Create a page-title and page-section directory and index.md for each - Move content for page-title and page-section from the page.md file into the index.md within the respective component directory - Delete the page.md from the component directory as it is not a component - Update links to page.md in the page-anatomy.md file. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I1e554adf71abb4c84f423a30d3c3b598f678ade0
2020-12-16Add client sessions pageSukanya Pandey7-0/+411
- This page will show the list of sessions that are currently connected to the BMC. APIs used: - To get all the sessions API used is `/redfish/v1/SessionService/Sessions` - To delete the sessions API used is `/redfish/v1/SessionService/Sessions/<session id>` Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ia81f62cbbea749809b9b7f7e62356cfe2db7fc18
2020-12-16Add security settings pageDixsie Wolmers7-0/+267
Adds ability to enable/disable: - SSH protocol - IPMI protocol Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I2430a46343dd8756ef75fcc3cb068df8d51dd415
2020-12-09Fix loading property importYoshie Muranaka1-4/+2
Imported loading from wrong mixin with commit https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/38917 This will fix warning: "export 'loading' was not found in '@/components/Mixins/LocalTimezoneLabelMixin' Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I10869d605f70bde0b4cdcb970c96357f9a5da87a
2020-12-09Fix loading hangYoshie Muranaka5-5/+16
Import and add loading property to pages that are disabling forms based on LoadingBarMixin loading property. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1669bff2572422327566a3afe023633eb0b729f4
2020-12-07Fix no-lone-template warning on Firmware pageYoshie Muranaka1-3/+1
Fixes https://eslint.vuejs.org/rules/no-lone-template.html Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Icc92d8349f063d756b92f6b2f751f7804267effb
2020-12-07Add documentation for table paginationYoshie Muranaka2-1/+96
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic40d7b4580417590b2d465fe359198c92354c242
2020-12-05Add documentation for table batch actionsYoshie Muranaka3-1/+94
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id450f9f461c40c5ff7e1c9510b082e88abd1a3ef
2020-12-04Add documentation for table filterYoshie Muranaka3-1/+73
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I3ab86678e2cc4f9771a07026a417298d716de649
2020-12-03Remove page not found error in LDAPSukanya Pandey1-3/+3
- When adding role groups, the URL was being modified resulting in a 404 response Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I0cf2653e83e85bc3bd6eca4a86bb065f8f8dd179
2020-12-03Add info tooltip documentationSukanya Pandey3-0/+16
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Id19854ed326eb55f6443a7015579ea6375193d1f
2020-12-02Add unit testing for page title componentSukanya Pandey2-0/+48
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I1fc54f54bd8e9a7d132eab0edaed94a4032143c8
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