Bug 1848930

Summary: EventListener Details page needs URL represented better
Product: OpenShift Container Platform Reporter: Mohammed Saud <msaud>
Component: Dev ConsoleAssignee: Mohammed Saud <msaud>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact:
Priority: high    
Version: 4.6CC: aos-bugs, cjerolim, nmukherj
Target Milestone: ---   
Target Release: 4.6.0   
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-10-27 16:08:08 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:

Description Mohammed Saud 2020-06-19 09:58:39 UTC
When on the EventListener Details page, UX designed the URL to appear under the TriggerTemplate reference (mimicking what we used in the Pipeline details page). This made a lot of sense at the time and was agreed to by dev and PM.

However, upon investigating the usage of ClusterTriggerBindings, I noticed that there is a potential issue here. If there are multiple TriggerTemplates on a given EventListener, the URL likely is to repeat for each one... as the EventListener is actually the originator of the URL (a Route object is technically the owner), not the TriggerTemplate.

This is misleading and can result in a duplicate rendering in the UI. My suggestion on the design doc was to use a Route object resource link... but Siamak Sadeghianfar made a valid point of "the user is more interested in the URL itself, not the Route object" and thus leaves us with figuring out what the design will be.
Acceptance Criteria

In short, this is what needs to be done:

- Remove the URL from under the TriggerTemplate, it's not related to this resource
- Discuss with UX about the best way to show this information
- Render the link on the details page

Suggested Design Ideas

- Link to the Route object
- Show the URL under it's own section at the top of the right-side details; something like "URL" title with the URL under it

Comment 4 errata-xmlrpc 2020-10-27 16:08:08 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.6 GA Images), 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:4196