commit | a5fefd0ad25753e5f7da03d77dfe7fe10255ebb6 | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Fri Aug 06 17:12:29 2021 +0800 |
committer | Dixsie Wolmers <dixsiew@gmail.com> | Mon Dec 20 05:15:28 2021 +0000 |
tree | 0189a2ced047a396b3a1127c302ec5b67fa2a6af | |
parent | 14172d745cec46a6ad4cce61eb02df962eb4f309 [diff] |
[POC] login: Fix waiting in login page after login When the user enter the correct username/password and click the "Log in" button, sometimes the page stays at the login page. The user will have to reload the page, enter the username/password, and click the "Log in" button again to actually login the WebUI. From the browser's debug control, we could see it's waiting for the response of https://$bmc/redfish/v1/AccountService/Accounts/root and it does not get any response. From the BMC side, we could see the first login is successful. Somehow if we remove the async keyword of function checkPasswordChangeRequired(), the issue is not reproduced anymore. So this is a POC patch to fix the issue, but the root cause is unknown. Tested: Clear the browser's cookie, successful login multiple times. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I01e3ab5ca63baed18045915500fa8ca2e6b247ea
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.