Repository navigation
UI improvements - #9773
UI improvements #9773
Conversation
… than English (apache#9766) * Fix updateTemplatePermission UI in non-english language * Improve fix --------- Co-authored-by: Lucas Martins <lucas.martins@scclouds.com.br>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #9773 +/- ##
============================================
- Coverage 16.14% 16.00% -0.15%
- Complexity 12972 13065 +93
============================================
Files 5639 5644 +5
Lines 494299 494915 +616
Branches 59909 59960 +51
============================================
- Hits 79789 79195 -594
- Misses 405685 406883 +1198
- Partials 8825 8837 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
commented
Oct 6, 2024
|
@blueorangutan package |
commented
Oct 6, 2024
|
@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
commented
Oct 6, 2024
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11289 |
commented
Oct 7, 2024
commented
Oct 7, 2024
|
@abh1sar a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
commented
Oct 7, 2024
|
UI build: ✔️ |
commented
Oct 7, 2024
|
@abh1sar , given that there are DB changes as well, I don't think UI tests will be enought, do you? |
@DaanHoogland You are right. For the rest of the items, ui testing is enough. P.S I have added db changes to schema-41900to42000 for now. Will move it to schema-42000-42010 once CloudStack version changes to 4.20.1. Will keep this PR in draft until then. |
| return ((['Running'].includes(record.state) && record.hypervisor !== 'LXC') || | ||
| (['Stopped'].includes(record.state) && !['KVM', 'LXC'].includes(record.hypervisor))) | ||
| show: (record, store) => { | ||
| return (record.hypervisor !== 'KVM') || |
There was a problem hiding this comment.
I tried to keep the UI conditions same as the service layer. Please see hostSupportsSnapsthotForVolume().
But I'm ok if we don't want to allow snapshot creation from UI for destroyed VMs.
| record.hypervisor === 'KVM' && record.vmstate !== 'Running') | ||
| return record.state === 'Ready' && | ||
| (record.hypervisor !== 'KVM' || | ||
| ['Stopped', 'Destroyed'].includes(record.vmstate) || |
There was a problem hiding this comment.
Before this change, the button would be shown for all states part from 'Running'.
Now it will only be shown for 'Stopped' or 'Destroyed' states
| record.hypervisor === 'KVM' && record.vmstate !== 'Running') | ||
| return record.state === 'Ready' && | ||
| (record.hypervisor !== 'KVM' || | ||
| (['Stopped', 'Destroyed'].includes(record.vmstate)) || |
commented
Oct 10, 2024
|
[SF] Trillian Build Failed (tid-11647) |
commented
Jan 13, 2025
|
@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
commented
Jan 13, 2025
|
UI build: ✔️ |
commented
Jan 13, 2025
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12070 |
commented
Jan 14, 2025
|
@blueorangutan test |
commented
Jan 14, 2025
|
@abh1sar a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
commented
Jan 15, 2025
|
[SF] Trillian test result (tid-12106)
|
commented
Jan 24, 2025
|
Test failures are not related to the change, which is mostly ui. |
commented
Feb 5, 2025
|
(committed just the changed message/language that @abh1sar probably didn't see - hope that is OK) |
commented
Feb 5, 2025
|
@blueorangutan package |
commented
Feb 5, 2025
|
@rohityadavcloud a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
commented
Feb 5, 2025
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12344 |
Description
This PR does multiple UI improvements
Items 1,3,4,5,6 are UI only changes, and can be tested with just the UI.
Doc PR : apache/cloudstack-documentation#448
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?