Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CNV-23381: Make necessary changes to VM details tabs #1026

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

avivtur
Copy link
Member

@avivtur avivtur commented Jan 23, 2023

Signed-off-by: Aviv Turgeman aturgema@redhat.com

📝 Description

This PR focuses on making sure the VM details tabs view is still functional and nothing crashes

** Fixing a crash of VM disks tab, and cancelling the pending changes for VMs with instancetype or preference section included in the VM YAML

🎥 Demo

vm-details.mp4

@openshift-ci-robot
Copy link
Collaborator

@avivtur: This pull request references CNV-23381 which is a valid jira issue.

In response to this:

Signed-off-by: Aviv Turgeman aturgema@redhat.com

📝 Description

This PR is to get the VM spec object for VM's created with instance type and preference, so the VM's details page wouldn't crash

🎥 Demo

Please add a video or an image of the behavior/changes

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added the approved This issue is something we want to fix label Jan 23, 2023
@@ -108,3 +109,6 @@ export const deleteVM = async (vm: V1VirtualMachine) => {
resource: vm,
});
};

export const expandVirtualMachineSpec = async (vm: V1VirtualMachine) =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use expandVMSpec to stay consistent with the other commands here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed thanks :)

@avivtur avivtur force-pushed the expand_vm_spec branch 2 times, most recently from 5af34cb to 91f36c2 Compare January 24, 2023 17:06
Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
@openshift-ci-robot
Copy link
Collaborator

@avivtur: This pull request references CNV-23381 which is a valid jira issue.

In response to this:

Signed-off-by: Aviv Turgeman aturgema@redhat.com

📝 Description

This PR focuses on making sure the VM details tabs view is still functional and nothing crashes

** Fixing a crash of VM disks tab, and cancelling the pending changes for VMs with instancetype or preference section included in the VM YAML

🎥 Demo

vm-details.mp4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@avivtur avivtur changed the title [WIP] CNV-23381: Make necessary changes to VM details tabs CNV-23381: Make necessary changes to VM details tabs Jan 24, 2023
@pcbailey
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Jan 25, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 25, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: avivtur, pcbailey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit c154e04 into kubevirt-ui:main Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This issue is something we want to fix lgtm Passed code review, ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants