494c6edb | 18-Mar-2020 |
Tim Lee <timlee660101@gmail.com> |
Fix "Clear Oem Logs" functionality in System Logs
Issue Symptom: 1. "Clear Oem Logs" button didn't show on webui when type select to "Oem". 2. "Clear Oem Logs" button was showed on then pressed with
Fix "Clear Oem Logs" functionality in System Logs
Issue Symptom: 1. "Clear Oem Logs" button didn't show on webui when type select to "Oem". 2. "Clear Oem Logs" button was showed on then pressed with fix, but the function didn't work correctly. Event logs were deleted instead of Oem logs.
Root cause: 1. getSystemLogs() always get Event logs by default no matter type be selected to "Oem". 2. clearSystemLogs() always clear Event logs by default no matter type be selected to "Oem".
Solution: 1. According "recordType" to get Oem logs from uri: '/redfish/v1/Systems/' + DataService.systemName + '/LogServices/Crashdump/Entries' 2. According "selectedRecordType" to clear Oem logs by action: uri = '/redfish/v1/Systems/' + DataService.systemName + '/LogServices/Crashdump/Actions/LogService.ClearLog'
Modified files: webui/app/common/services/api-utils.js webui/app/server-health/controllers/syslog-controller.html webui/app/server-health/controllers/syslog-controller.js
Tested by: 1. In WebUI/Server health/System Logs, select system log type as "Oem", then click "Clear Oem Logs" button. The Oem logs (CPU Crashdump log) all were deleted. 2. Select system log type as "Event", then click "Clear Event Logs" button. The System Event Log all were deleted.
Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I2a3d42a61f53df84b88585cf7c65a10688eaef05
show more ...
|
86c0b94b | 08-Oct-2019 |
Derick Montague <derick.montague@ibm.com> |
Fix icon-warning syntax error
There were a few instances of the icon-warning icon that didn't include the file extenstion needed to when adding the file attribute property in the icon directive.
Si
Fix icon-warning syntax error
There were a few instances of the icon-warning icon that didn't include the file extenstion needed to when adding the file attribute property in the icon directive.
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib25c28c72285fa214f75258b0b09790d52bb6cc1
show more ...
|
ee78862d | 02-Oct-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Add searchable properties to event log filter
The current event log search doesn't match inputs like the event id, severity or priority. This commit will add additional searchable log properties to
Add searchable properties to event log filter
The current event log search doesn't match inputs like the event id, severity or priority. This commit will add additional searchable log properties to the search filter so users can enter search terms like 'High' or 'Error' or other visible keywords.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I569112468a9f97034449799f407137f1651cec16
show more ...
|
4b366b5a | 24-Sep-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Clean up icons
Clean up duplicate svg icons from assets directory. Created a statusIcon component to dynamically render status icons instead of using background-image in scss files.
- Moved/removed
Clean up icons
Clean up duplicate svg icons from assets directory. Created a statusIcon component to dynamically render status icons instead of using background-image in scss files.
- Moved/removed on, off, critical, warning svg icons from assets directory - Updated background-image status icons to use <icon> or <status-icon> directive
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Ic0f06d78b0861d6f60d40b2dcc0b80fd6dad2a88
show more ...
|
4986603e | 18-Sep-2019 |
Derick Montague <derick.montague@ibm.com> |
Add error messaging for error log date filtering and Safari support
- Updated filters to use semantic markup (fieldset) - Added check for input date type support and updated expected date format t
Add error messaging for error log date filtering and Safari support
- Updated filters to use semantic markup (fieldset) - Added check for input date type support and updated expected date format to the legend - Added error message if date format is invalid - Updated layout to support error message
Tested the changes in the following browsers: - Safari - IE 11 - Chrome - Edge - Firefox
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: If0b874644b80640dc5bfd8211459c012807ea492
show more ...
|
db1e89ed | 09-Sep-2019 |
Dixsie Wolmers <dixsiew@gmail.com> |
Fix filter bar clear filter button
Makes filter button screen reader friendly and accessible.
- Adds icon directive for close icon - Adds button type - Icon is aria-hidden and uses an aria-label at
Fix filter bar clear filter button
Makes filter button screen reader friendly and accessible.
- Adds icon directive for close icon - Adds button type - Icon is aria-hidden and uses an aria-label attribute with the value set to clear filter
Tested: - Filter inputs clear on close button click
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: Ifcbe603c2771156fe7a03359b144e0a0acd5e3f1
show more ...
|
e368108f | 21-Jun-2019 |
Dixsie Wolmers <dixsiew@gmail.com> |
Add boot option override and TPM enable toggle
- Adds ability to set a bootsource override to allowable target value - Adds ability to enable or disable TPM required policy - Replaces power operatio
Add boot option override and TPM enable toggle
- Adds ability to set a bootsource override to allowable target value - Adds ability to enable or disable TPM required policy - Replaces power operations confirm directive with bootstrap modal
Tested: Confirmed override settings saved to redfish but unable to verify if settings are automatically set to disabled by petitboot after a one time boot. Passes DAP.
Resolves openbmc/phosphor-webui#82 Resolves openbmc/phosphor-webui#90
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com> Change-Id: If0ffd6f9328939d70c7958ee11fb90bd20a1e685 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
30d7c637 | 31-Jul-2019 |
Derick Montague <derick.montague@ibm.com> |
Update overview page to use new UI patterns
- Use page, section, list-pair to establish consistent layout - Update header and overview page to use new caret icon - Reordered Server and BMC infor
Update overview page to use new UI patterns
- Use page, section, list-pair to establish consistent layout - Update header and overview page to use new caret icon - Reordered Server and BMC information to accomodate small screen views - Added chevron icons to create consistency between header and server overview page quick links - Changed edit hostname text to use the standard icon - Added OR operator to short circuit the server model, server serial number, and server manufacturer to display N/A if the information is not available
Change-Id: I6619f5369ff290555142e85aa432e901c4f93d2d Signed-off-by: Derick Montague <derick.montague@ibm.com>
show more ...
|
6f7ec80e | 24-Jun-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Clean up color values
This update will clean up slight color variations in the code base by creating and using Sass color variables instead of hex values. Available colors are defined in colors.scss
Clean up color values
This update will clean up slight color variations in the code base by creating and using Sass color variables instead of hex values. Available colors are defined in colors.scss. Any usage of CSS color properties should refer to the mapped color variables in colors.scss.
- Removed tags.scss file since tag components no longer used
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I045030a158469e59d07a9fa8cd8aa9f125f0d383
show more ...
|
1f690f3e | 23-Jun-2019 |
Derick Montague <derick.montague@ibm.com> |
Fix sensors table header and body alignment
- Update markup to use semenatic table - Update table to flex based layout to support responsive table design
Tested: Small screen and large screen lay
Fix sensors table header and body alignment
- Update markup to use semenatic table - Update table to flex based layout to support responsive table design
Tested: Small screen and large screen layout in Chrome, Firefox, and Safari. Safari has issues with the sticky header, which is an acceptable trade off and meets cross-browser standards.
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I8ea323e45a2659562f229d4fd6d4e53887664cad
show more ...
|
c86ce3c9 | 05-Jun-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Consolidate button styles
This patchset will create consistent button styling according to the styleguide and remove redundant button styles by creating reusable button classes.
This patchset also
Consolidate button styles
This patchset will create consistent button styling according to the styleguide and remove redundant button styles by creating reusable button classes.
This patchset also implements a consistent strategy for including icon assets. Currently, svg icons are imported as CSS background images or inlined into the markup. Inlining an svg is preferred, especially when used with buttons or links so the colors can be easily changed for different states (hover, focus, disabled) without having to request variants. The icon provider allows us to inline svgs without cluttering the markup. Webpack config was adjusted to use svg-inline-loader when resolving svgs that are used by the icon provider directive.
- All svgs were optimized to remove unncessary information. - Removed unused svg color variants - Moved icons used by icon provider to separate directory to avoid Webpack parsing the files twice - Small changes to navigation icons
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1ca214b74fc502e6b6e760cfee88b48110237c43
show more ...
|
e4194ce0 | 24-May-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Add remote logging server
Remote logging enables the user to configure a remote server to stream out local logs. This feature will be available on the Event Log page. The user can add a remote serve
Add remote logging server
Remote logging enables the user to configure a remote server to stream out local logs. This feature will be available on the Event Log page. The user can add a remote server, edit/change an existing server configuration and remove/disable the remote server.
Resolves openbmc/phosphor-webui#68
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I8284cbdbdaaf85f5c95f237efc72290c66904b40
show more ...
|
5bd1dec7 | 16-May-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Change button styles from rounded to straight corners
This will create more visual consistency between the components in the GUI since there are elements, such as text fields and dropdowns that are
Change button styles from rounded to straight corners
This will create more visual consistency between the components in the GUI since there are elements, such as text fields and dropdowns that are styled with straight corners.
- Removes border radius from buttons - Removes some redundant styles - Adds input types that aren't currently inheriting defined styles
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I6ff1bde91e2e57df01484dd20003925cd914ffa2
show more ...
|
6a3b3b2c | 16-May-2019 |
Yoshie Muranaka <yoshiemuranaka@gmail.com> |
Fix tablet alignment issues for event logs
This will make sure our event log content is properly aligned on tablet and desktop views. It will also make the date/time value on the server overview pag
Fix tablet alignment issues for event logs
This will make sure our event log content is properly aligned on tablet and desktop views. It will also make the date/time value on the server overview page always display underneath the 'BMC time' label in a destkop view–currently the date value will wrap to a new line if the string is too long.
- Update markup to use Foundation grid layout classes on the server overview event log table
Tested: Event log tables on server overview page and event log page
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I7d765ebbe679f954e606d1d25e2182d983a7b3f3
show more ...
|
615a2f89 | 17-Apr-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Revert "WebUI: Sensors page modifications"
This reverts commit 2f481e4cb83f0c72a9f3aad11431e4abcf5d632c.
"/xyz/openbmc_project/sensors/power/" sensors (e.g. p0_vcs_power) and "/xyz/openbmc_project/
Revert "WebUI: Sensors page modifications"
This reverts commit 2f481e4cb83f0c72a9f3aad11431e4abcf5d632c.
"/xyz/openbmc_project/sensors/power/" sensors (e.g. p0_vcs_power) and "/xyz/openbmc_project/sensors/current/" sensors (e.g. p0_vcs_current) are no longer on the GUI Sensors Page.
Since all sensors do not map to Thermal or Power, the SensorCollection, /redfish/v1/Chassis/{ChassisId}/Sensors, needs to be implemented before we move the GUI sensors page over to Redfish.
The SensorCollection contains all sensors not covered elsewhere in the model.
The SensorCollection will contain all sensors under /current and all non-powersupply sensors under /power.
IBM is planning on working on the SensorCollection, it will be sometime before the code is in because of this, reverting moving the GUI sensor page over to Redfish.
Apologies on not catching this in the review.
For more information see: https://redfishforum.com/thread/190/sensorcollection-contain-all-sensors-chassis https://redfish.dmtf.org/schemas/SensorCollection.json
Tested: The current and power sensors are back on the Sensor page. Change-Id: Ia818fc05b49a8181b71f8756a6066c27e94dc46e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
1ffa209e | 01-Apr-2019 |
Derick Montague <derick.montague@ibm.com> |
Resolve accessibility isssues
- Remove unecessary aria-roles - Associate label elements with form elements - Remove extraneous markup on Network settings page - Update generic markup to use definiti
Resolve accessibility isssues
- Remove unecessary aria-roles - Associate label elements with form elements - Remove extraneous markup on Network settings page - Update generic markup to use definition list when appropriate - Add aria-labels and aria-expanded to accordion triggers
Tested: Accessibility issues tested in using Lighthouse in Chrome Developer tools Audit section and Dequeue Axe extension. Manually tested clicking on labels set focus on the form elements. Visually tested of the Network Settings page in Chrome, Firefox, and Safari to verify layout changes.
Resolves openbmc/phosphor-webui#76
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Ib974c623e9d3b74e74e1f374c21e8191732ec26a
show more ...
|
2f481e4c | 29-Jan-2019 |
AppaRao Puli <apparao.puli@linux.intel.com> |
WebUI: Sensors page modifications
Modified sensors page to use Redfish as backend. Also added threshold sensor values in page view.
Tested By: Loaded webui page and tested all operations. - Sens
WebUI: Sensors page modifications
Modified sensors page to use Redfish as backend. Also added threshold sensor values in page view.
Tested By: Loaded webui page and tested all operations. - Sensors page load and layout. - Search Filter and Severity filters. - Export functionality.
Change-Id: Ic799453ffcd17e9a69e073a12173b4e97a928458 Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
show more ...
|
a2e36e0f | 31-Dec-2018 |
AppaRao Puli <apparao.puli@linux.intel.com> |
WebUI: Adding Filters support to system logs
Adding Filter support to system logs page - Severity filter. - Date filter with start and end date. - Filter by Sensort Type.
Tested By: Loaded Sys
WebUI: Adding Filters support to system logs
Adding Filter support to system logs page - Severity filter. - Date filter with start and end date. - Filter by Sensort Type.
Tested By: Loaded System logs page with type selection 'Event' and check all filters.
Change-Id: I41eba4cd59c0f3c2933637bf0e207a3eca3214f1 Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
show more ...
|
b1289ec9 | 14-Nov-2018 |
AppaRao Puli <apparao.puli@linux.intel.com> |
WebUI system logs implementation
This commit implements the webui logs page which will show all system logs depends on user selection( SEL or Event or Oem). This is based out of redfish systems log
WebUI system logs implementation
This commit implements the webui logs page which will show all system logs depends on user selection( SEL or Event or Oem). This is based out of redfish systems log services. - View logs with pagination. - Search filter for logs view. - Sort option with Type, Id, Severity, Date. - Clear logs. - Export logs.
UnitTest: - Existing bmcweb send the system logs of EntryType "Event". So Loaded UI, selected Type "Event" and validated all the above mentioned operations.
Change-Id: I0384e475f7913ca66b6db5d64831583fb382f8d5 Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
show more ...
|
dde251d5 | 13-Mar-2019 |
beccabroek <beccabroek@gmail.com> |
Checkbox disabled when 0 event logs
The 'select all' box on event log page should be disabled when there are no event logs presented to the user. Also adds a message to the user when there are no lo
Checkbox disabled when 0 event logs
The 'select all' box on event log page should be disabled when there are no event logs presented to the user. Also adds a message to the user when there are no logs or there are no logs with their selected filters applied.
Resolves openbmc/phosphor-webui#44
Tested: Checked that correct user message appears when there are no logs and when the logs are all filtered out. Also that when there are no logs presented to the user, the select all box is disabled.
Change-Id: I3106426a72d2148a323ceed978bcdd5515096e2b Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
129779dd | 14-Feb-2019 |
beccabroek <beccabroek@gmail.com> |
Fix inventory dropdown
Dropdown on hardware page was cutting off text. Changes styling so that table is in line and all information is displayed as expected. If information exceeds dropdown size, a
Fix inventory dropdown
Dropdown on hardware page was cutting off text. Changes styling so that table is in line and all information is displayed as expected. If information exceeds dropdown size, a scroll bar appears.
Tested: Appears to be displaying correctly using Chrome, Firefox and Safari.
Change-Id: Ib1531c59865a7d7bf4ea1ded7277702e9cd53b8b Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
edf1ab46 | 15-Feb-2019 |
beccabroek <beccabroek@gmail.com> |
Clean up headers
Updates headers to match style guide and makes them consistent throughout pages in the GUI. Removes instances where a header element existed and a different header style was being a
Clean up headers
Updates headers to match style guide and makes them consistent throughout pages in the GUI. Removes instances where a header element existed and a different header style was being applied. For example, <h2 class="h4">
Tested: Ran GUI locally and verified that headers look consistent and have the appropriate sizing while using Chrome, Firefox and Safari.
Change-Id: I187136298ed2bfd36c40c2b80d5a4f20947cbe56 Signed-off-by: beccabroek <beccabroek@gmail.com>
show more ...
|
97280b3e | 16-Nov-2018 |
Iftekharul Islam <iffy.ryan@ibm.com> |
Fix table header
Makes the table header in sensor page stay fixed after scrolling. Fixes the allignment of filter button.
Resolves openbmc/phosphor-webui#28
Change-Id: If9b8b0848169b5924b811e67588
Fix table header
Makes the table header in sensor page stay fixed after scrolling. Fixes the allignment of filter button.
Resolves openbmc/phosphor-webui#28
Change-Id: If9b8b0848169b5924b811e67588ff57c8dae7c5c Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
show more ...
|
7e48d081 | 23-Jan-2019 |
Gunnar Mills <gmills@us.ibm.com> |
Fix error log resolve
logging/entry/<entryId>/attr/Resolved is a boolean as such send true when resolving.
Before the function was always returning successful, fixed this and log to the console whe
Fix error log resolve
logging/entry/<entryId>/attr/Resolved is a boolean as such send true when resolving.
Before the function was always returning successful, fixed this and log to the console when it fails.
Tested: Resolved multiple error logs and see the fail in the console on a fail. Change-Id: I60496f30f9241ffb6b6b73cf87b7481bea10b24f Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
0b0e26de | 15-Nov-2018 |
Iftekharul Islam <iffy.ryan@ibm.com> |
Make actions visible in a disabled state
In event log page, main actions are made visible all the time in a disabled state. Once select a log item is selected, the corresponding actions become activ
Make actions visible in a disabled state
In event log page, main actions are made visible all the time in a disabled state. Once select a log item is selected, the corresponding actions become active.
Resolves openbmc/phosphor-webui#26
Change-Id: Idd7dced5984b7d103a706abc12c1e4889710d420 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
show more ...
|