Bug 1831871

Summary: Roll back action/install button logic within OperatorHub
Product: OpenShift Container Platform Reporter: Rob Szumski <rszumski>
Component: Management ConsoleAssignee: ralpert
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, jokerman, ralpert, yanpzhan
Target Milestone: ---   
Target Release: 4.5.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-05-29 13:16:31 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 Rob Szumski 2020-05-05 19:20:05 UTC
Description of problem:
The display logic was updated in https://github.com/openshift/console/pull/5082 to hide the "install" button when an annotation was set. It will not be possible for Marketplace Operator to set these annotations in the 4.5 timeframe.


Actual results:
In 4.5, browsing a Marketplace offering in OperatorHub does not have a button linking to the Marketplace.

Expected results:
"Purchase" button appears linking to the Marketplace. A secondary install button is also present next to it.

Additional info:
https://issues.redhat.com/browse/CONSOLE-2104

Comment 1 ralpert 2020-05-08 17:20:51 UTC
Have a PR up for this; waiting for review/merge: https://github.com/openshift/console/pull/5306

Comment 4 Yanping Zhang 2020-05-14 02:48:06 UTC
Checked on OCP 4.5 cluster with payload 4.5.0-0.nightly-2020-05-13-202437
Now the button text is rolled back to "Purchase" if marketplace.openshift.io/remote-workflow annotation is set and marketplace.openshift.io/action-text annotation is not set. And "Install" button will always show up no matter these annotations exist or not.