Bug 2176746 - Not able to distinguish templates in catalog list view
Summary: Not able to distinguish templates in catalog list view
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: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-09 06:50 UTC by Guohua Ouyang
Modified: 2024-03-08 04:25 UTC (History)
7 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)
not able to tell the difference between templates (235.77 KB, image/png)
2023-03-09 06:50 UTC, Guohua Ouyang
no flags Details
A diagram for Option 1 (184.71 KB, image/png)
2023-03-19 15:33 UTC, Foday
no flags Details
A diagram for Option 2 (39.00 KB, image/png)
2023-03-19 15:35 UTC, Foday
no flags Details
Distinguish between templates (148.03 KB, image/png)
2023-04-24 07:26 UTC, Yifat Menchik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1268 0 None open Bug 2176746: Distinguish templates with same display name 2023-04-19 15:44:25 UTC
Red Hat Issue Tracker CNV-26711 0 None None None 2023-03-09 06:51:46 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 06:50:30 UTC
Created attachment 1949215 [details]
not able to tell the difference between templates

Description of problem:
Clone some templates and then visit catalog -> template list view, it looks not able to distinguish templates from there.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Foday 2023-03-19 15:33:35 UTC
Created attachment 1951823 [details]
A diagram for Option 1

Comment 2 Foday 2023-03-19 15:34:01 UTC
I've reviewed this bug and I'm suggesting one of two options: 

Option 1
We should automatically generate a unique clone name with each new clone created
E.g. CentOS 7 VM - Clone 1
>> A diagram for reference is attached. <<

Option 2
We should make the "Template display name" input field required with inline validation.
The inline validation text should alert users to use "unique" names for new clones.
The inline validation text is "Specify a unique name"
>> A diagram for reference is attached. <<

Comment 3 Foday 2023-03-19 15:35:12 UTC
Created attachment 1951824 [details]
A diagram for Option 2

Comment 4 Guohua Ouyang 2023-03-20 00:18:00 UTC
We can combine option #1 and #2 together as a fix.

Comment 5 Ugo Palatucci 2023-03-20 14:28:13 UTC
Should we allow display names of templates in different namespaces?

Comment 6 Ugo Palatucci 2023-03-27 10:36:12 UTC
@gouyang

Comment 7 Guohua Ouyang 2023-03-27 10:43:56 UTC
(In reply to Ugo Palatucci from comment #5)
> Should we allow display names of templates in different namespaces?

Yes, when "All projects" are selected in "Template project".

Comment 8 Ugo Palatucci 2023-04-18 09:38:41 UTC
@gouyang do you like this text for the modal

'This display name is already used in another template of the same namespace.' ?

Comment 9 Yifat Menchik 2023-04-18 10:03:00 UTC
@sjess please review the text @upalatuc suggested in comment #8. Thanks.

Comment 10 Sabrina Jess 2023-04-19 21:51:37 UTC
Looking at the UI, it's clear it's an error message and that the error message is for the Template display name, so I think you can keep it as short as "Name already in use." If you want to add more, maybe "Name already in use. Choose a unique name." but that feels a bit redundant.

Comment 11 Guohua Ouyang 2023-04-24 06:08:55 UTC
Verified, now a label is added next to it to make them look different.

Comment 12 Yifat Menchik 2023-04-24 07:26:28 UTC
Created attachment 1959484 [details]
Distinguish between templates

Comment 15 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 16 Red Hat Bugzilla 2024-03-08 04:25:29 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.