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-23983: Create a modal form to add a boot volume #1012

Merged

Conversation

avivtur
Copy link
Member

@avivtur avivtur commented Jan 5, 2023

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

📝 Description

A modal to create a DataVolume (with upload file or cloning an existing PVC) that adds the preferences and instanceType to a PVC as labels

🎥 Demo

Demo-adding-bootable-volume.mp4

To-Do

  • Verify backend delegated instance type and preference labels from DataVolume to PVC
  • Verify with backend if resources created as demo shows are correct

@openshift-ci openshift-ci bot added the approved This issue is something we want to fix label Jan 5, 2023
@avivtur avivtur force-pushed the add-bootable-volume-modal branch 3 times, most recently from 4e3aae0 to c8da642 Compare January 9, 2023 09:35

import { SelectOption } from '@patternfly/react-core';

export const getSelectOption = (optionLabel: string) => (name: string) =>
Copy link
Member

Choose a reason for hiding this comment

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

hmm... get*** is misleading in this case, as this function eventually returns a component.
util files usually don't return elements/components.

@metalice
Copy link
Member

very nice! GJ! left a small comment about 2 functions in the util file

@avivtur avivtur force-pushed the add-bootable-volume-modal branch 4 times, most recently from 4a2adc2 to e4e62dc Compare January 10, 2023 13:05
Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
@avivtur avivtur changed the title [WIP] CNV-23983: Create a modal form to add a boot volume CNV-23983: Create a modal form to add a boot volume Jan 10, 2023
@pcbailey
Copy link
Member

/lgtm

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

openshift-ci bot commented Jan 10, 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 da5c7eb into kubevirt-ui:main Jan 10, 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