#
b4498672 |
| 16-Nov-2024 |
HuyLe <hule@amperecomputing.com> |
Fix the KVM terminal screen not displaying
During the upgrade to Vue 3 [1], the initialization of the selector, including the definitions of height, display type, background, overflow, etc., was ign
Fix the KVM terminal screen not displaying
During the upgrade to Vue 3 [1], the initialization of the selector, including the definitions of height, display type, background, overflow, etc., was ignored, resulting in the KVM screen not displaying the terminal interface. This commit helps to import these properties for the KVM from the _kvm.scss file to fix bug [2].
Tested: 1. Go to the OBMC web page. 2. Go to the KVM page and check that it works normally 3. By minifying and zooming in on the web browser, the KVM screen adjusts automatically. 4. Switch between different pages. 5. Return to the KVM page and check that it works normally.
[1]. https://github.com/openbmc/webui-vue/blob/master/src/App.vue#L38 [2]. Bug: https://github.com/openbmc/webui-vue/issues/128
Change-Id: I1842c914e27dd5c68fe20f49999712b68c1e93a5 Signed-off-by: Huy Le Anh <hule@amperecomputing.com>
show more ...
|
#
de23ea23 |
| 11-Jul-2024 |
Surya V <suryav@ami.com> |
Vuelidate, I18n, and filter are upgraded to vue3
While navigating to the pages i18n, vuelidate, and filters errors occurred. i18n, and vuelidate code changes in each page adapted to vue3. Filter glo
Vuelidate, I18n, and filter are upgraded to vue3
While navigating to the pages i18n, vuelidate, and filters errors occurred. i18n, and vuelidate code changes in each page adapted to vue3. Filter global function for date and time format implemented in the main.js file and those files which as called the filter functions.
Change-Id: If1a2ee22d47750faef1c35ef2c263299067d9a20 Signed-off-by: Surya Venkatesan <suryav@ami.com>
show more ...
|
#
7d6b44cb |
| 23-Mar-2024 |
Ed Tanous <ed@tanous.net> |
Upgrade vue3 and all dependencies
Start the process of porting everything to Vue 3. I have most things working. npm run-scripts build works, npm install works. prettier passes. Styles load, logi
Upgrade vue3 and all dependencies
Start the process of porting everything to Vue 3. I have most things working. npm run-scripts build works, npm install works. prettier passes. Styles load, login works, webui loads.
This was primarily done using the linked documents below. It makes the following design decisions: 1. Vue is put in compat 2 mode, which allows most of the components to work as-is. 2. Bootstrap v4 is used along with bootstrap-vue to keep our components working. 3. Minor changes are made to load the latest versions of vue-router, vuex, and vue-i18n.
I suspect this patchset is good enough to start with, and we can clean up the broken things one patchset at a time. The things that need to happen are:
1. Get remaining features working again. This primiarily is vue-i18n for mixins, and non vue components. This likely needs to be done by not pulling in i18n into the non vue components, then using the .Vue files to do the internationalization in the component context, NOT in the mixin context. Alternatively, we could drop MixIns alltogether. 2. Get custom styles working again. Previously, we used some path hackery in vue.config.js to optionally pre-load styles. This stops working now that we're required to @import our modules. Likely we need some rearangement of the paths such that custom styles are a complete replacement (possibly importing the original) rather than additive with overrides. That's a guess, but I don't really see anyone else doing customization the way we've defined it here. 3. Bootstrap 5 no longer requires ANY custom vue modules, as it has dropped the jquery dependency. We won't be able to pull in bootstrap 5 all at once, so pull in bootstrap 5 under an alias, like "bootstrap5" that we can optionally import 5 or 4. 4. One at a time, start porting components over to Vue3 syntax and bootstrap 5. This will be the bulk of the manual work and review.
The only thing I think left is getting unit tests passing, which I commented out the pre-commit hook to make this PR.
Tested: Code builds. Needs better testing.
[1] https://router.vuejs.org/guide/migration/ [2] https://vue-i18n.intlify.dev/guide/migration/vue3 [3] https://vuelidate-next.netlify.app/migration_guide.html#package-name-and-imports
Change-Id: I5bb3187b9efbf2e4ff63e57994bc528756e2a981 Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
#
8132399c |
| 27-Feb-2024 |
Ed Tanous <ed@tanous.net> |
Reformat files with new linter
All changes should be whitespace, and were done using npm run-script lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.ne
Reformat files with new linter
All changes should be whitespace, and were done using npm run-script lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.net>
show more ...
|
#
fb6c6de9 |
| 14-Jun-2023 |
Konstantin <sulwirld@gmail.com> |
Fix kvm session and add event bus
Bug description: Before this commit KVM window wasn't being closed after logging out
Test: Step1. Launch webui on browser and see KVM page on /#/operations
Fix kvm session and add event bus
Bug description: Before this commit KVM window wasn't being closed after logging out
Test: Step1. Launch webui on browser and see KVM page on /#/operations/kvm. Step2. Open additional window using 'Open in new tab'. Step3. Navigate to another page. For example, /#/operations/key-clear. Step4. Logout. Window is still open.
Change-Id: Ife79ebca41eb4d588c0b8f4fae06135420eda155 Signed-off-by: Konstantin Maskov <sulwirld@gmail.com>
show more ...
|
#
e78d10b7 |
| 03-Mar-2023 |
kirankumarb07 <kirankumarb@ami.com> |
After the session expired redirect to login page
If the user switches pages between the KVM and Virtual Media pages after the session has expired, it won't redirect to the login page.
So I have add
After the session expired redirect to login page
If the user switches pages between the KVM and Virtual Media pages after the session has expired, it won't redirect to the login page.
So I have added the system redfish API call in the create method to check the session timeout status. If the session is expired, the API call will get a 401 status, and WEBUI will be redirected to the login page.
Change-Id: I069768ee0cef41afb4e6aa770bb8bec6565a16bd Signed-off-by: Kirankumarb07 Ballapalli <kirankumarb@ami.com>
show more ...
|
#
b89eed27 |
| 12-Jan-2023 |
kirankumarb07 <kirankumarb@ami.com> |
Closed KVM new window after WEBUI logged out
Description:
When KVM is opened in new window, after WEB UI is logged out, opened KVM window is not getting closed. It remains opened and accessible.
R
Closed KVM new window after WEBUI logged out
Description:
When KVM is opened in new window, after WEB UI is logged out, opened KVM window is not getting closed. It remains opened and accessible.
Root Cause:
There is not handle to close the KVM new window after the WEB UI logged out.
Fix:
Added the KVM window opened information in store, and checked that information to close the window.
Tested:
Step 1: Login to WEB UI Step 2: Navigate to Operations -> KVM Step 3: Open KVM in new window Step 4: Click Logout in WEB UI
Result:
After successful log out, KVM new window is closed as expected.
Change-Id: Iab8e54d3088a08fb0ae9b581b2647fc0ab5460bd Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
show more ...
|
#
68cbbe90 |
| 14-Jul-2021 |
Sandeepa Singh <sandeepa.singh@ibm.com> |
IA update: Update control section to operations
This is the third update to the information architecture changes and has the following changes:
- The control section has been updated to operations
IA update: Update control section to operations
This is the third update to the information architecture changes and has the following changes:
- The control section has been updated to operations - The server led page has been removed - The firmware page is moved to operations section
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I2e23da447890d7bee51892e1f782d5f2db6dded4
show more ...
|