summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-07-08Add test hooks to network settings pageDixsie Wolmers1-0/+8
- Adds data-test-id test hooks to simplify the xpath queries needed to set up automation testing - Adds standardized test hooks to all interactive elements: input fields, buttons, and form select Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Id6253ac7355f1da8b73f55ffd2fcc1ea73c63555
2020-07-08Codespell spelling fixesGunnar Mills1-4/+4
These spelling errors were found using https://github.com/codespell-project/codespell Change-Id: I8ec1e482a6eedca0f9c3b0282fa7db85cd4243f3 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2020-07-08Spelling: sed -i 's/intial/initial/g'Gunnar Mills6-6/+6
Change-Id: I5c6fdb3c4cb4efe337a44286a83a6d269021cb66 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2020-07-06Add Toast Notification to ServerLED pageSurenNeware3-8/+31
- Added Toast notification when Server LED turning On/Off. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I8dda963275f7083ae5c8804831c1bb676d7bbcc4
2020-07-06Add test hooks to overview pageDixsie Wolmers2-5/+11
- Adds data-test-id test hooks to simplify the xpath queries needed to set up automation testing - Adds standardized test hooks to all interactive buttons - Adds link to SOL console and network settings pages Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I4cb0f4c93cf14377af1fe6d18aa591678c739b45
2020-07-02Create separate LoginLayout componentYoshie Muranaka3-129/+127
Create a separate layout for the login page so it can be reused for first time password reset form. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia2da0e8d29f7d6ad77c5277193c7535f2d00a97d
2020-07-02Add search input to event logs pageYoshie Muranaka2-2/+21
Adds ability to filter event log table items by text input. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ie19bd4b3942ae2bec9288c351d4a674b424ae879
2020-07-02Resolve LoadingBar accessibility issueDerick Montague2-6/+8
- Add an aria-label to the b-progress-bar component to meet accessibility guidelines - Nest b-progess-bar component in b-progress component in order to add aria-label to the correct element Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I3b7d23026d4bcdb607fdbad24170e38116a7eb8a
2020-07-01Resolve hidden focus within closed navigationDerick Montague1-1/+2
When the primary navigation is closed a keyboard user can still tab into the menu. This can be confusing since the user can not visibly determine what element as focus. This occurs because we chose not to hide and show the menu. This simplifies the solution for users relying on assistive technology. This change will show a keyboard user the navigation when they tab into it. This removes any confusion of where the user's keyboard focus is without having to complicate the solution used for assistive technology users. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I17fa9f257610c3c40844660b341ccc6af2ee3b4e
2020-06-29Add test hook data attributesDerick Montague1-0/+4
- Add data-test-id test hooks to simplify the xpath queries needed to set up automation testing - Reduce the possibility of breaking automation tests when/if pages are updated Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Id046b17e9a0232b121c10cc38134e750a8782ed5
2020-06-27Add Search to Power supplies table on Hardware status pageYoshie Muranaka1-2/+13
Adds ability to filter Power supplies table by a search input. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I9f3131294d316edd70e3b6bcc4fee307ac69f2d5
2020-06-26Add test hooks to event logs pageYoshie Muranaka2-5/+9
- Add data-test-id test hooks to simplify the xpath queries needed to set up automation testing - Reduce the possibility of breaking automation tests when/if pages are updated Adds test hooks to table checkboxes, batch action delete button, inline row delete button. Will add hooks to table filter dropdown separately, because the component needs refactoring. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I84fef897bbe29ea410a3b7d663828ddd7c91aa88
2020-06-26Update Event logs page to use table mixinsYoshie Muranaka1-18/+8
- Use mixins to sort status and display status icons in table Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ieec887b115bbd88b441d2357cfe653fa2a1f6320
2020-06-26Update Sensors page to use table mixinsYoshie Muranaka2-31/+18
- Add number formatting to TableDataFormatter mixin - Use TableDataFormatter mixin to show different status icons for sensor status (OK, Warning, Critical) - Use TableSortMixin to sort by status (OK, Warning, Critical) Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I99899bbc19db3529f0fdfe34be30b09d41456b42
2020-06-26Add search component to DIMM slot table on Hardware status pageYoshie Muranaka1-2/+13
Adds ability to filter DIMM slot table by a search input. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0ac6fd26e4af419fdd57d12573aea0abf66a1e0d
2020-06-26Add Search component to Fans table on Hardware status pageYoshie Muranaka1-2/+13
Adds ability to filter Fan table by a search input. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I0131ad21cc030320e291c79e8801b78c7c7dd668
2020-06-26Fix Search component default prop validationYoshie Muranaka1-1/+1
Changed placeholder prop validation to use a regular function instead of an arrow function to fix undefined errors where 'this' is undefined. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I315542aae3d53a169767fda0407d8379d1b13027
2020-06-26Fix errors on local user management add userYoshie Muranaka1-2/+2
Adding a new user on the local user page created two toasts, one success and one error. Fixed by removing duplicate @ok callback. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I52b2625480cd7705141d99ab55cf30b3073946df
2020-06-24Responsive Site HeaderSurenNeware2-9/+50
- Changed Header shortcut menu Icon position - Fixed Media devices responsive layout Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I817d8f11d9fb720bb9e37f4a136cb19305144228
2020-06-18Update TableDataFormatter filenameYoshie Muranaka7-14/+14
Changed TableDataFormatter to TableDataFormatterMixin to be consistent with other Mixin files. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iae6528deda3099cf730150164739ee2fb64bbfe3
2020-06-18Add BMC manager table to hardware status pageYoshie Muranaka6-2/+257
Add properties at /redfish/v1/Managers/bmc endpoint in a table with expandable row to view details. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ieb32a9b2a535ddd7d24edcb68761c51eace2e5a8
2020-06-18Add Chassis table to hardware status pageYoshie Muranaka5-2/+179
Add each chassis at /redfish/v1/Chassis endpoint to a table with an expansion row to view property details. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I8d4c64fecac3857e0d4ece9fad81d9035e236c92
2020-06-18Add Fans table to hardware status pageYoshie Muranaka5-2/+162
Add Fan items at /redfish/v1/Chassis/chassis/Thermal endpoint to table with expansion row to view details. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1f69e30748f8dec62647468c4fd2e5b3947716d9
2020-06-18Add DIMM slot table to hardware status pageYoshie Muranaka6-6/+165
Add items at /redfish/v1/Systems/system/Memory endpoint to DIMM slot table. The table is sortable and has a row expansion to view details. The code is currently missing most properties needed to match the design. This table will need to be revisited when all properties are available. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I07cacf3403fe84431cb9fe0e4315069fc7baf27d
2020-06-17Profile settings pageSukanya Pandey9-56/+264
-To set the profile by setting password. -This commit adds a profile page which allows the user to change their password. In the future, the profile page will also contain user settings like language and timezone. The API called to change the user's password is '/redfish/v1/AccountService/Accounts/<userName>' Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: Ie54a54beff8c85bc9ac5af21c35edc481b34cf44
2020-06-17Add power supplies table to hardware status pageYoshie Muranaka6-6/+217
Adds items at /redfish/v1/Chassis/chassis/Power endpoint in Power supplies table. Table is sortable and has a row expansion to view details. - Table sort mixin to reuse sort method for status values Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ib2953ad06be3fa25e9dbbbed34e37d09154431f5
2020-06-17Refactor Overview pageYoshie Muranaka5-75/+20
Use SystemStore to get Server information values on the overview page. Added missing properties to SystemStore and removed hostFirmware from FirmwareStore. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5923adb0345f0de28f9a66f460e41d15f87f743a
2020-06-17Add Hardware status page and system tableYoshie Muranaka10-13/+301
Adds ability to see system information in table format with a row expansion details view. Modified tables styles to add table borders. Created global mixin for table data formatting: - Show '--' for undefined or empty string values - Map Redfish health status options to status-icon values Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5b45c37997647f5a265c1e84eb53f0b51699ee20
2020-06-17Manage power usage loaderSukanya Pandey1-2/+15
-Show the loading bar while making the call to the APIs during both GET and PATCH call. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I96db90a676ded1684218dcddc227ca151f712dc2
2020-06-16Add page LoaderSurenNeware2-5/+15
- Add page Loader to Server LED page - Tested responsive layout on supported viewport sizes Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I0ca198c8ee1354f66a677746c29c8cb45f361eab
2020-06-13Add date filter on Event logs pageYoshie Muranaka10-18/+254
Created global TableDateFilter component that uses the BootstrapVue Datepicker with a native text input. This will allow users to manually enter a date in ISO format or use the Bootstrap calendar dropdown. Storing language preference from Login to use locale prop on BootstrapVue Datepicker component. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I66de9fb04451572c9a90f90d8522934b6204aed2
2020-06-12Global Search componentSurenNeware3-2/+81
Added global Search component to Sensors page. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: I3121cc4e582c782fa7e9937738cefbeddc23610e
2020-06-10Update LocalUserManagementStore to use shared export functionYoshie Muranaka1-17/+2
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ia8617d4656d00244eefd09ece1f735fb37aedacc
2020-06-10Add batch actions and row action to Event LogsYoshie Muranaka5-36/+280
Adds ability to export and delete event logs by row or in a table batch action. - Modifications to TableRowAction component to allow single row export functionality Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ica50dd0868ac85cc2d6925a9448858b40da9c529
2020-06-10Add pagination to Event Log tableYoshie Muranaka6-2/+99
Created BvPaginationMixin for shared pagination values and methods. Chose to use exising BoostrapVue components as-is instead of wrapping in a custom component since it would add unnecessary complexity. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I246d761d90db36efeb442b0ee1074b629d32edef
2020-06-10Fix duplicate navigation errorYoshie Muranaka1-0/+7
Adding a check to the 403 response api iterceptor before routing to the Unauthorized page. The router throws a NavigationDuplicated error when attempting to navigate to the same page. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ib34d4d73a326440f609dd97d0dd677ff96b7b3a6
2020-06-08Fix loader on local user management pageYoshie Muranaka1-3/+3
Loader for batch delete should start after confirming the action in the modal. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5c4a4a5c0f98b51757f614423232cd6e08e90902
2020-06-08Update date filter to use international date format ISODixsie Wolmers1-6/+1
ISO 8601 format is the standard for international date formats. - Formats date as: YYYY-MM-DD, example 2020-06-05 https://www.w3.org/QA/Tips/iso-date Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Ic0796932b441592e998eaa8818b4f88fe8f1345d
2020-06-05Add Network Settings translationsDixsie Wolmers3-287/+363
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I8d5f6544fb99832bfcda5e4ee63603ce41339d8e
2020-06-05Add network settings pageDixsie Wolmers5-4/+571
- Adds ability to configure newtowrk settings by selected ethernet interface - Default gateway is currently unavailable in redfish, to work around, grabbed gateway from first static ipv4 configuration and assigned to new static ipv4 configurations - Adds ability to add, modify and delete static ipv4 configs - Adds ability to add, modify and delete static dns - Adds ability to edit gateway, hostname and mac address - Form validations include regex for ip, mac address, and hostname - Language translations to be addressed in separate commit - Enabling DHCP and configuring DHCP settings to be addressed in separate commit Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I122034ae0ef3a8c08e5599ee3eca66e8d0d59f67
2020-06-02Update Bootstrap Pill consistencyDixsie Wolmers1-1/+3
Pills in multiple select component and table filter are set to both have a line-height of 1.5 Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I90685534e995211d7bdf5feb16698957a29ccc91
2020-06-02Add link to app header status iconsDixsie Wolmers1-2/+2
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: Id7a303c415778351089786e894c42770e1810d01
2020-06-02Add router leave hook to Event logs pageYoshie Muranaka1-0/+6
Hide loader if the user navigates to another page before request is fulfilled. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I2fb393607fd6b5b2f2b72ea1781dfae5cd4c7442
2020-05-23Refactor Sensors filtered dataYoshie Muranaka1-11/+2
Removed setter on computed filteredSensors value. Explicitly setting filteredSensors value is not necessary because activeFilters property change automatically updates the computed value. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I7711d3aa0ddf2eea2fc0c613ef7a7882245d3cf1
2020-05-21Add Event log pageYoshie Muranaka6-6/+156
Add basic event log table with the ability to sort by column (ID, Severity, Type, Date) and filter by severity. - Updated existing translation for eventLog to eventLogs Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic233593cc8804d9dcefb2b5740dfac3d52899b02
2020-05-21Remove focus outline from navigation itemsYoshie Muranaka1-0/+5
Removing outline from app navigation to allow for custom Bootstrap box-shadow focus styles. Explicitly set outline property to none to override default user agent styles. Needed to apply to <li> and <a> (nav-item and nav-link). Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Iaf70215c68b91fd03f595487a30e93e024c12a1d
2020-05-21Update EventLogStore request to use RedfishYoshie Muranaka5-117/+60
Changes to WebSocketPlugin to dispatch event log GET request when new event interfaces are received. By re-fetching the Redfish logs the health status icon in the application header will always reflect the visible event logs. The plugin was previously only updating the header status, so it was possible for the header status and event logs to be out of sync. - Changed to use Redfish endpoint for event log GET request /redfish/v1/Systems/system/LogServices/EventLog/Entries - Update AppHeader Health status icon to reflect changes made with Redfish log Severity property Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I73a3a441dcbbb3a29ef9a51f961c062689cb5add
2020-05-21Add manage power usage pageSukanya Pandey6-1/+182
-The page is used to control the power. -Maximum power can be set between 1 to 10000. -The API used to get and set the power limit:/redfish/v1/Chassis/chassis/Power Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I1cab4876e9149d92de75014d7680ac11410ca4fe
2020-05-20Add ServerLED pageSurenNeware7-2/+106
Added ability to turn on/off Indicator LED. Signed-off-by: Suren Neware <sneware9@in.ibm.com> Change-Id: Ia59eb0214530906dea840ff18ff22fc913870bb9
2020-05-16Add logout commit for 401 responseYoshie Muranaka2-3/+3
Change the authentication logout from router to api interceptor, so that if a user accidentally navigates to login page by clicking the browser back button, they aren't automatically logged out. Logouts would occur when hitting a 401 response or if the user clicks the logout button from app header. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I6290070b63e724b75b3ac2fc39b3c7e814fbfc3e