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

Bug 1972968: "Add Disk" button should be disabled in common template disks tab #9622

Merged
merged 1 commit into from Jul 28, 2021

Conversation

avivtur
Copy link
Contributor

@avivtur avivtur commented Jul 26, 2021

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1972968

Analysis / Root cause:
the prop of isCommonTemplate was recived as null which caused the add disk button to be shown and enabled

Solution Description:
creating isCommonTemplate variable on VM disks table page to toggle the templates disks page to be disabled.
this also affects the add disk button for VMI disks that wasn't visable at all, it also made it visable and disabled.

Screen shots / Gifs for design review:
before:
bz1972968_before_2
bz1972968_before_1

after:
bz1972968_after_3
bz1972968_after_2
bz1972968_after_1

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

…disks tab

Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
@openshift-ci openshift-ci bot added bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Jul 26, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 26, 2021

@avivtur: This pull request references Bugzilla bug 1972968, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.9.0) matches configured target release for branch (4.9.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @gouyang

In response to this:

Bug 1972968: "Add Disk" button should be disabled in common template disks tab

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 component/kubevirt Related to kubevirt-plugin label Jul 26, 2021
@openshift-ci openshift-ci bot requested a review from gouyang July 26, 2021 09:49
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 26, 2021

@avivtur: This pull request references Bugzilla bug 1972968, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.9.0) matches configured target release for branch (4.9.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @gouyang

In response to this:

Bug 1972968: "Add Disk" button should be disabled in common template disks tab

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.

@gouyang
Copy link
Contributor

gouyang commented Jul 27, 2021

/retest

@yaacov
Copy link
Member

yaacov commented Jul 27, 2021

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 27, 2021

[APPROVALNOTIFIER] This PR is APPROVED

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

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-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 27, 2021
@avivtur
Copy link
Contributor Author

avivtur commented Jul 27, 2021

/retest

@openshift-merge-robot openshift-merge-robot merged commit cdd31c9 into openshift:master Jul 28, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 28, 2021

@avivtur: Bugzilla bug 1972968 is in an unrecognized state (ON_QA) and will not be moved to the MODIFIED state.

In response to this:

Bug 1972968: "Add Disk" button should be disabled in common template disks tab

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.

@spadgett spadgett added this to the v4.9 milestone Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-medium Referenced Bugzilla bug's severity is medium for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. component/kubevirt Related to kubevirt-plugin lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants