Bug 1882196

Summary: Add resource badges in the add trigger form dropdown
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Dev ConsoleAssignee: Karthik Jeeyar <kjeeyar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: high    
Version: 4.5CC: aballant, aos-bugs, nmukherj, spathak
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-05 12:46:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1868644    
Bug Blocks:    
Attachments:
Description Flags
Added resource badges in the add trigger form dropdown-1
none
Added resource badges in the add trigger form dropdown-2 none

Description OpenShift BugZilla Robot 2020-09-24 03:12:25 UTC
+++ This bug was initially created as a clone of Bug #1868644 +++

Description of problem:

In Add trigger form, Git provider type dropdown lists TriggerBindings and ClusterTriggerBindings without resource badges which makes it difficult for the user to distinguish

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

4.5,4.6
How reproducible:
Always

Steps to Reproduce:
1. Create a pipeline 
2. click on Add trigger option in the pipeline page actions.


Actual results:
In  Git type provider dropdown, TriggerBindings and ClusterTriggerBindings are shown without any badges.

Expected results:
The dropdown items should contain the resource badges to differntiate the resource based on the kind.

Comment 3 spathak@redhat.com 2020-10-28 23:14:33 UTC
Created attachment 1724952 [details]
Added resource badges in the add trigger form dropdown-1

Comment 4 spathak@redhat.com 2020-10-28 23:15:28 UTC
Created attachment 1724954 [details]
Added resource badges in the add trigger form dropdown-2

Comment 5 spathak@redhat.com 2020-10-28 23:16:58 UTC
Verified on build version: 4.5.0-0.ci-2020-10-28-094422
Browser version: chrome 84

Comment 7 errata-xmlrpc 2020-11-05 12:46:56 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 (OpenShift Container Platform 4.5.17 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/RHBA-2020:4325