Bug 2184058 - 'Add network interface' button twice in VM's Network interfaces tab
Summary: 'Add network interface' button twice in VM's Network interfaces tab
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.14.0
Assignee: Hilda Stastna
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-03 14:28 UTC by Hilda Stastna
Modified: 2023-11-08 14:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:05:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Add NIC button displayed twice in the page (89.55 KB, image/png)
2023-04-03 14:28 UTC, Hilda Stastna
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1234 0 None open Bug 2184058: Display 'Add network interface' button only once 2023-04-03 17:42:47 UTC
Red Hat Issue Tracker CNV-27815 0 None None None 2023-04-03 17:36:17 UTC
Red Hat Product Errata RHSA-2023:6817 0 None None None 2023-11-08 14:05:52 UTC

Description Hilda Stastna 2023-04-03 14:28:04 UTC
Created attachment 1955475 [details]
Add NIC button displayed twice in the page

Description of problem:
'Add network interface' button twice in VM's Network interfaces tab, in case there is no any NIC created.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Go to Virtualization > VirtualMachines
2. Create some VM or click on the existing one
3. Go to Configuration > Network interfaces
4. Delete all the NICs if there are some

Actual results:
'Add network interface' button appears twice in the page, which is unnecessary.

Expected results:
Only one button present in the page, in case that no NICs are found.
Display only the button in the left up, next to the YAML switcher (according to the discussion with UX).

Additional info:
Note that the solution is not 100% consistent with "empty state" but it’s more important
that all the buttons in the VM details page are aligned.

Also note that within the BZ https://bugzilla.redhat.com/show_bug.cgi?id=2176797, the title
of the page 'Network interfaces' will be added and the button will be placed under that title.

Comment 1 Guohua Ouyang 2023-04-24 01:02:57 UTC
verified on kubevirt-console-plugin-rhel9-container-v4.14.0-1011
There is just one "Add network interface" button and the YAML switcher is next to it

Comment 4 errata-xmlrpc 2023-11-08 14:05:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6817


Note You need to log in before you can comment on or make changes to this bug.