commit | cad5bb9cfc7cc4ce2024b7b227affb3c7a717f1f | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Tue Jun 22 15:30:00 2021 +0800 |
committer | Derick Montague <derick.montague@ibm.com> | Wed Jul 21 18:05:17 2021 +0000 |
tree | 02c8d1dc64524d53ed9626c4faab429cbdbd6fac | |
parent | 06d53863a83c003e7248f5cfc8362765882d19bb [diff] |
Fix inconsistent power status The webui was using a websocket to subscribe the events from BMC for server status and logging. It uses a debouncer of 2.5 to limit the events, however, it causes the loss of the events, so the power change status event could be missed by the webui, causing the `Power` status is not really consistent. There was an issue in the property change handler as well that it assumes the `CurrentHostState` is there. However, certain event could be fired without `CurrentHostState` change, e.g. the "ForceWarmReboot" will get an host event of `RequestedHostTransition` without `CurrentHostState`'s change, the code will get an undefined `CurrentHostState` and the `Power` status becomes undetermined. Remove the 2.5 debouncer, and only set the power status when `CurrentHostState` is really received to fix the issue. Tested: Verify the `Power` status is consistent with the server status. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I732069fff954a2b8b1de4848115641903a8bc904
webui-vue is a web-based user interface for the OpenBMC firmware stack built on Vue.js.
phosphor-webui was built on AngularJS and AngularJS goes End of Life June 30, 2021, this repository is its replacement.
Several, mostly minor, features remain for feature parity. See GitHub Issues label:phosphor-webui-feature-parity for the complete list.
As mentioned, this application is built using Vue.js, a modern open-source Model-View-ViewModel JavaScript framework supported by an active community and strong documentation. It has been architected to allow organizations to easily update the theme to support their brand. This rewrite takes advantage of front-end development best practices and does not suffer from some of the anti-patterns that exist in phosphor-webui today.
That is up to you. Several companies have switched.
webui-vue although still missing a few features that were in phosphor-webui, as mentioned above, has the following additional features:
The documentation for coding standards and components is located in the docs
directory. It is created using the VuePress static site generator. Information about how to write documentation can be found on the VuePress website.