Bug 1461771

Summary: [trello GwTNlzJ6] Add-to-Project directs to wrong page when choose Browse Catalog for project
Product: OpenShift Container Platform Reporter: XiaochuanWang <xiaocwan>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED CURRENTRELEASE QA Contact: XiaochuanWang <xiaocwan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.0CC: aos-bugs, hasha, jforrest, jokerman, mmccomas, smunilla, spadgett
Target Milestone: ---Keywords: Reopened
Target Release: ---   
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: 2017-07-25 14:03:53 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 XiaochuanWang 2017-06-15 09:48:49 UTC
Description of problem:
When user choose Browse Catalog for "Add to Project", page directs to wrong page.

Version-Release number of selected component (if applicable):
OpenShift Master:    v3.6.109

How reproducible:
Always

Steps to Reproduce:
1. Create a project, click "Add to Project" in the right of page header
2. Hit "Browse Catalog"

Actual results:
Page goes to https://xxx:8443/console/

Expected results:
Should open the overlay panel (new design merged since v3.6.107-1)

Additional info:

Comment 1 Jessica Forrester 2017-06-15 14:17:56 UTC
That is the correct behavior for Browse Catalog, the whole point is that it is taking you to the new catalog to browse and find things you can add to your project. The overlay panel should only be opened for Deploy Image and Import YAML

Comment 2 XiaochuanWang 2017-06-16 02:05:19 UTC
It makes sense in this scenario, but if user click "Add to Project" button for an empty project from the center of the page instead of top header. The "Browse Catalog" page is still in the old layout, URL is also the same "https://hxxx:8443/console/project/<project>/create?tab=fromCatalog"
So are both layouts are the expected?

Comment 3 Jessica Forrester 2017-06-16 02:14:45 UTC
Ah yep that is a bug. Will need to decide what the right behavior should be when you hit that button in the empty project. Reducing the severity of this since it's only doing the wrong thing in the tech preview experience.

Comment 4 Jessica Forrester 2017-06-16 16:16:00 UTC
We decided to switch the button to "Browse Catalog" when the new experience is enabled, and the button will take you to the new catalog page.

https://github.com/openshift/origin-web-console/pull/1729

Comment 5 openshift-github-bot 2017-06-16 18:37:36 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/cfaffcd957d572b65795eff94ad803597dce6661
Bug 1461771 - Switch empty project Add to Project to Browse Catalog

Comment 6 shahan 2017-06-21 06:19:40 UTC
Checked this issue on openshift v3.6.121, it was already fixed, could you change the bug status to ON_QA? Thanks!