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-37609: Remove unnecessary type selection #1834

Conversation

avivtur
Copy link
Member

@avivtur avivtur commented Mar 7, 2024

📝 Description

Since we can get the type of network binding from the NAD, we can remove the type selection as it's not needed.
UX doc

🎥 Demo

Before:
remove-type-dropdown-b4

After:
remove-type-dropdown
remove-type-dropdown2
remove-type-dropdown3

@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Mar 7, 2024

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

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.16.0" version, but no target version was set.

In response to this:

📝 Description

Since we can get the type of network binding from the NAD, we can remove the type selection as it's not needed.

🎥 Demo

Before:
remove-type-dropdown-b4

After:
remove-type-dropdown
remove-type-dropdown2
remove-type-dropdown3

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from hstastna and yaacov March 7, 2024 10:14
@openshift-ci openshift-ci bot added the approved This issue is something we want to fix label Mar 7, 2024
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Mar 7, 2024

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

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.16.0" version, but no target version was set.

In response to this:

📝 Description

Since we can get the type of network binding from the NAD, we can remove the type selection as it's not needed.
UX doc

🎥 Demo

Before:
remove-type-dropdown-b4

After:
remove-type-dropdown
remove-type-dropdown2
remove-type-dropdown3

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Mar 8, 2024
@hstastna
Copy link

hstastna commented Mar 8, 2024

/hold

@avivtur avivtur force-pushed the remove-type-dropdown-network-modal branch from d88aaf5 to eddcad1 Compare March 10, 2024 11:02
@openshift-ci openshift-ci bot removed the lgtm Passed code review, ready for merge label Mar 10, 2024
@avivtur
Copy link
Member Author

avivtur commented Mar 10, 2024

/unhold

</FormGroupHelperText>
{loaded && (
<FormGroupHelperText validated={validated}>
{validated === ValidatedOptions.error &&
Copy link
Member

Choose a reason for hiding this comment

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

move it next to loading? as i will render and empty div

@@ -1,19 +1,35 @@
import React, { Dispatch, FC, MouseEvent, SetStateAction, useEffect, useMemo } from 'react';
import { Trans } from 'react-i18next';
Copy link
Member

Choose a reason for hiding this comment

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

please break this file to small pieces, its getting too big

Copy link
Member Author

@avivtur avivtur Mar 11, 2024

Choose a reason for hiding this comment

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

Moved the popover icon component outside

Signed-off-by: Aviv Turgeman <aturgema@redhat.com>
@avivtur avivtur force-pushed the remove-type-dropdown-network-modal branch from eddcad1 to 88ef501 Compare March 11, 2024 15:43
@metalice
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Mar 12, 2024
Copy link
Contributor

openshift-ci bot commented Mar 12, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: avivtur, hstastna, metalice

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:
  • OWNERS [avivtur,hstastna,metalice]

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

@openshift-merge-bot openshift-merge-bot bot merged commit 5057858 into kubevirt-ui:main Mar 12, 2024
9 checks passed
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 jira/valid-reference lgtm Passed code review, ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants