Bug 2176797 - Make "YAML" button consistent with other pages
Summary: Make "YAML" button consistent with other pages
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
medium
medium
Target Milestone: ---
: 4.14.0
Assignee: Hilda Stastna
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-09 10:53 UTC by Guohua Ouyang
Modified: 2024-03-08 04:25 UTC (History)
8 users (show)

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


Attachments (Terms of Use)
disks tab example (170.28 KB, image/png)
2023-03-09 10:53 UTC, Guohua Ouyang
no flags Details
Disks tab (79.22 KB, image/png)
2023-04-02 13:19 UTC, Yifat Menchik
no flags Details
Network interfaces (75.05 KB, image/png)
2023-04-03 06:24 UTC, Yifat Menchik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1239 0 None open Bug 2176797: Make "YAML" button consistent in Disks tabs 2023-04-06 13:49:48 UTC
Github kubevirt-ui kubevirt-plugin pull 1263 0 None open Bug 2176797: Move YAML switcher out of VM tabs 2023-04-18 19:28:51 UTC
Red Hat Issue Tracker CNV-26720 0 None None None 2023-03-09 10:53:30 UTC
Red Hat Product Errata RHSA-2023:6817 0 None None None 2023-11-08 14:05:20 UTC

Description Guohua Ouyang 2023-03-09 10:53:09 UTC
Created attachment 1949274 [details]
disks tab example

Description of problem:
This is a follow-up bug of #2173563, to make all pages looking consistently, a subtitle might need to be added to Network interface tabs and disks tab, and the YAML button should be next to it.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Hilda Stastna 2023-03-13 19:45:16 UTC
Note that this bug is more about moving the content of the NICs/Disks tab under new sub-sub-tabs (see the attachment of this BZ),
so the YAML could be placed next to them.

I don't see anything related to adding sub-titles to those pages, according to the attachment of the BZ, that should represent the expected result,
proposed by Yifat.

Because we want to keep consistency in the UI, we IMO should do the same (create new sub-sub tabs) also for some other pages:
- we have 3 subsections in VM Details tab,
- 2 subsections in Scripts tab,
- 2 in the new Diagnostics tab

Comment 2 Hilda Stastna 2023-03-13 19:54:15 UTC
Regarding the NICs tab, the expected result is still not clear, as there's a bit different situation than in the Disks tab:
we need to deal with the 3 components in the UI: the button to add NIC, the (sub)title of the page and the YAML switcher.

Comment 3 Hilda Stastna 2023-03-27 16:20:44 UTC
Update:
the expected results for this BZ are actually under the discussion.

Comment 4 Yifat Menchik 2023-04-02 13:19:31 UTC
Created attachment 1955297 [details]
Disks tab

@hstastna please review the Disks tab example. Thanks.

Comment 5 Yifat Menchik 2023-04-03 06:24:59 UTC
Created attachment 1955394 [details]
Network interfaces

Comment 6 Yifat Menchik 2023-04-03 07:33:20 UTC
@hstastna please see the examples I attached for the disks tab and for the network interfaces tab. Thanks.

Comment 7 Hilda Stastna 2023-04-04 17:45:42 UTC
Hi Guohua,

can you, please, advice, why the BZ was moved to POST and MODIFIED, if I haven't posted any PR for this BZ yet? I am confused. Not sure, what to do. Thanks a lot!

Comment 8 Guohua Ouyang 2023-04-06 01:29:07 UTC
(In reply to Hilda Stastna from comment #7)
> Hi Guohua,
> 
> can you, please, advice, why the BZ was moved to POST and MODIFIED, if I
> haven't posted any PR for this BZ yet? I am confused. Not sure, what to do.
> Thanks a lot!

The bug was moved to MODIFIED by the midstream PR #970, and that PR looks has no relation to this bug.
@Oren, could you take a look at it and help fix the issue? It happens often and confuse us a lot.

It's not the first time to see this problem happen, I've mentioned this to Tal and Ycui long time ago.

@Tal @Ycui, We must spend some time to set the CI work properly, there are several issues:
1. cherry-pick does not create bug automatically
2. target-release issue in PR, not able to set the valid-bug label in PR due to the target release not available for z-stream
3. the midstream PR linked to this bug is not relevant
4. when move the bug to post/modified/ON_QA? My opinion are:
- the bug is moved to POST once the upstream PR is linked in the bug.
- then the bug is moved to MODIFIED once the midstream PR is merged
- then the bug is moved to ON_QA once the kubevirt-plugin-console build includes the fix is available

Comment 9 Hilda Stastna 2023-04-06 12:17:09 UTC
Note that the same inconsistency as in VM Disks and NIcs tabs is present also in the Catalog wizard - the same tabs, and so it should be fixed also there.

Comment 10 Hilda Stastna 2023-04-06 13:02:46 UTC
The same for VM Templates Disk and NICs tabs. 

Also I've found there are many more inconsistencies across those pages, such as title font size etc, presence vs. not presence of the title for those tabs... I think we need another discussion and BZ for that...
So Yifat, please, ping me once you'll have time for that. Thanks.

Comment 11 Hilda Stastna 2023-04-06 13:51:08 UTC
Another important note:
More than just one PR will be needed to completely fix this BZ, as it requires more changes in more screens.

Comment 14 Ying Cui 2023-05-08 07:49:02 UTC
(In reply to Guohua Ouyang from comment #8)
> (In reply to Hilda Stastna from comment #7)
> > Hi Guohua,
> > 
> > can you, please, advice, why the BZ was moved to POST and MODIFIED, if I
> > haven't posted any PR for this BZ yet? I am confused. Not sure, what to do.
> > Thanks a lot!
> 
> The bug was moved to MODIFIED by the midstream PR #970, and that PR looks
> has no relation to this bug.
> @Oren, could you take a look at it and help fix the issue? It happens often
> and confuse us a lot.
> 
> It's not the first time to see this problem happen, I've mentioned this to
> Tal and Ycui long time ago.
> 
> @Tal @Ycui, We must spend some time to set the CI work properly, there are
> several issues:
> 1. cherry-pick does not create bug automatically
> 2. target-release issue in PR, not able to set the valid-bug label in PR due
> to the target release not available for z-stream
> 3. the midstream PR linked to this bug is not relevant
> 4. when move the bug to post/modified/ON_QA? My opinion are:
> - the bug is moved to POST once the upstream PR is linked in the bug.
> - then the bug is moved to MODIFIED once the midstream PR is merged
> - then the bug is moved to ON_QA once the kubevirt-plugin-console build
> includes the fix is available

according to the UI scrub meeting, let's start the email to discuss it with team. Thanks.

Comment 15 Guohua Ouyang 2023-05-10 06:33:18 UTC
verified on kubevirt-console-plugin-rhel9:v4.14.0-1195
1. the YAML switcher button is moved to the right top, next to Actions button
2. Titles are added to metrics/events/network tab
3. "Disks" is moved to top of "Add disk" button

Comment 18 errata-xmlrpc 2023-11-08 14:05:04 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

Comment 19 Red Hat Bugzilla 2024-03-08 04:25:30 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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