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-22029: Adding the option to edit the Hostname #993

Merged

Conversation

DanaOrr
Copy link
Contributor

@DanaOrr DanaOrr commented Dec 5, 2022

Signed-off-by: Dana Orr dorr@redhat.com

📝 Description

🎥 Demo

Removing the hostname field in the Cloud-init form
Before:
image
After:
image

Adding the option to edit the hostname on the details page:
EditHostnameDetails

Adding the hostname field to the Review and create VirtualMachine page:
EditHostnameWizard

value={newHostname}
type="text"
id={'cloudinit-hostname'}
onChange={(v) => setHostname(v)}
Copy link
Member

Choose a reason for hiding this comment

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

can be simply onChange={setHostname}

isOpen={isOpen}
onClose={onClose}
onSubmit={onSubmit}
headerText={'Hostname'}
Copy link
Member

@avivtur avivtur Dec 6, 2022

Choose a reason for hiding this comment

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

please change to headerText={t('Edit hostname')}

@DanaOrr DanaOrr force-pushed the remove-hostname-field branch 2 times, most recently from c2e9e3a to 69c743c Compare December 6, 2022 11:49
Signed-off-by: Dana Orr <dorr@redhat.com>
@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Dec 7, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 7, 2022

[APPROVALNOTIFIER] This PR is APPROVED

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

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 the approved This issue is something we want to fix label Dec 7, 2022
@openshift-merge-robot openshift-merge-robot merged commit bcbe397 into kubevirt-ui:main Dec 7, 2022
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.

3 participants