-
Notifications
You must be signed in to change notification settings - Fork 30
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
CNV-23983: Create a modal form to add a boot volume #1012
Conversation
4e3aae0
to
c8da642
Compare
...teVMHorizontalNav/components/CreateFromInstanceTypes/hooks/useInstanceTypesAndPreferences.ts
Outdated
Show resolved
Hide resolved
src/views/catalog/CreateVMHorizontalNav/components/CreateFromInstanceTypes/utils/constants.ts
Outdated
Show resolved
Hide resolved
src/views/catalog/CreateVMHorizontalNav/components/CreateFromInstanceTypes/utils/utils.ts
Outdated
Show resolved
Hide resolved
|
||
import { SelectOption } from '@patternfly/react-core'; | ||
|
||
export const getSelectOption = (optionLabel: string) => (name: string) => |
There was a problem hiding this comment.
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.
very nice! GJ! left a small comment about 2 functions in the util file |
4a2adc2
to
e4e62dc
Compare
Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
e4e62dc
to
85039d8
Compare
/lgtm |
[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 |
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