Bug 1905147

Summary: ConsoleQuickStart Card's prerequisites is a combined text instead of a list
Product: OpenShift Container Platform Reporter: Nahshon Unna-Tsameret <nunnatsa>
Component: Dev ConsoleAssignee: Rohit Rai <rorai>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact: Rishu Mehra <rmehra>
Priority: unspecified    
Version: 4.7CC: aballant, aos-bugs, divgupta, hmishra, nmukherj, rmehra, rorai
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Currently, the prerequisites in the web console quick start cards appear as a paragraph instead of a list. This will be resolved in a future release. (link:https://bugzilla.redhat.com/show_bug.cgi?id=1905147[*BZ#1905147*])
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:34:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
QS card with the problem. none

Description Nahshon Unna-Tsameret 2020-12-07 16:14:32 UTC
Created attachment 1737364 [details]
QS card with the problem.

Description of problem:

ConsoleQuickStart Card's prerequisites is a combined text instead of a list



How reproducible:


Steps to Reproduce:
1. Create a ConsoleQuickStart CR with more than one prerequisite

For example: see this yaml:
```
prerequisites:
  - Red Hat® OpenShift® Virtualization is installed in the Red Hat® OpenShift® cluster
  - Red Hat® Subscription for importing the guest image
```

Actual results:
The text is a long string of with all the prerequisites, with not even a single space between them; see attached image

Expected results:
The prerequisites should appear as a list


Additional info:
The issue is here: https://github.com/openshift/console/blob/7b07e5c32cf890555227660edcea3ae8550e368f/frontend/packages/console-app/src/components/quick-starts/catalog/QuickStartTileDescription.tsx#L26-L28

Suggested solution:
```
<>
            <Text component={TextVariants.h5}>{t('quickstart~Prerequisites')}</Text>
            <SimpleList aria-label="Prerequisites">
              {prerequisites.map((prerequisite) => (
                <SimpleListItem>{prerequisite}</SimpleListItem>
              ))}
            </SimpleList>
          </>
```

The problem with this suggested solution is that the list items are highlighted on hover, but the link is to the quick start guide itself. It makes the wrong imresion that the link is to moe info about the specific prerequisite. I guess some fine tuning will solve it.

Comment 1 Andrew Ballantyne 2021-01-13 17:50:35 UTC
Moving to 4.8 as we lack the bandwidth to complete this in 4.7.

Comment 3 Rishu Mehra 2021-02-19 15:52:25 UTC
Updated the doc text field.

Comment 4 divgupta 2021-02-25 11:14:31 UTC
Verified this on:
Build: 4.8.0-0.nightly-2021-02-24-063313
Browser: Chrome
Works as expected.

Comment 7 errata-xmlrpc 2021-07-27 22:34:40 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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-2021:2438