commit | 7ee53240fb2d5e89d13bb68e13723fe6e4e83458 | [log] [tgz] |
---|---|---|
author | Yong Li <yong.b.li@linux.intel.com> | Wed Oct 14 13:06:48 2020 +0800 |
committer | Yong Li <yong.b.li@linux.intel.com> | Wed Oct 14 13:06:48 2020 +0800 |
tree | 38bf17c6d7b8599973ac95104210b6e9fb0293b5 | |
parent | 543a861c5f684564cbcdc54bbcd88f6670a6e583 [diff] |
Catch the TypeError in sensors page On the sensors page, there is the below error and some sensors are missing: Uncaught (in promise) TypeError: Cannot read property 'LowerCaution' of undefined The root cause is that some sensors do not support all these Thresholds properties, add the checking to catch such errors. Tested: These sensors in redfish/v1/Chassis/$id/Sensors/ can be displayed in sensors web page Signed-off-by: Yong Li <yong.b.li@linux.intel.com> Change-Id: Ic80048045ee8e293e693811c246723557489fb35
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.