Bug 1826526

Summary: In Start Pipeline Modal, if no resources exist, show Create Resource in dropdown
Product: OpenShift Container Platform Reporter: Andrew Ballantyne <aballant>
Component: Dev ConsoleAssignee: Andrew Ballantyne <aballant>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: low Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, nmukherj, spathak
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Internal issue prevented a good experience when there were no Pipeline Resources created in the namespace and the Start Pipeline modal needed one. Consequence: The user would see a disabled and empty dropdown above fields, losing some context of what the fields were for. Fix: Fix the internal issue and show "Create Pipeline Resource" to give the user context of what they were doing inline in the Start Pipeline modal. Result: The user has a better experience starting a Pipeline from the start modal when there are no Pipeline Resources created in the namespace.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:29:58 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
In Start Pipeline Modal, if no resources exist, show Create Resource in dropdown none

Description Andrew Ballantyne 2020-04-21 21:27:56 UTC
Description of problem:
Some visual issues are with the Start Pipeline modal's Resource dropdowns:

1) Needs text in the dropdown
2) Needs to change from "Create New Pipeline Resource" to "Create Pipeline Resource"

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


How reproducible:


Steps to Reproduce:
1. Have a Pipeline with Resources (but don't have any in your namespace)
2. Use the "Start Pipeline" action

Actual results:
Empty Pipeline resource dropdown while it's disabled

Expected results:
"Create Pipeline Resource" to be in the dropdown while it's disabled

Additional info:

Comment 4 spathak@redhat.com 2020-05-19 20:25:11 UTC
Created attachment 1689978 [details]
In Start Pipeline Modal, if no resources exist, show Create Resource in dropdown

Comment 5 spathak@redhat.com 2020-05-20 05:50:47 UTC
Verified on build version: 4.5.0-0.ci-2020-05-18-204038
Browser version: Firefox73

Comment 6 errata-xmlrpc 2020-07-13 17:29:58 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, 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/RHBA-2020:2409