-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add catalog to web console #1389
Conversation
Requires openshift/origin-web-catalog#73 |
@@ -70,6 +70,10 @@ angular.module("openshiftConsole") | |||
return "project/" + encodeURIComponent(projectName) + "/overview"; | |||
}, | |||
|
|||
toProjectList: function(){ | |||
$location.path('projects'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should always work whether catalog is turned on or not, maybe we should add a redirect from projects to / when the landing page isn't enabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
}; | ||
if (_.get(window, 'OPENSHIFT_CONSTANTS.ENABLE_TECH_PREVIEW_FEATURE.service_catalog_landing_page')) { | ||
landingPageRoute = { | ||
templateUrl: 'views/landing-page.html', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to use home.html rather than landing-page.html just for the look of the URL to users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The url should just be /console
. Although maybe I shouldn't name the controller the same as the component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, read it wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
users should never see this URL, our templates are embedded into $templateCache at build time
dad8b42
to
aa128ce
Compare
[merge] |
Evaluated for origin web console merge up to f43fbbe |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1208/) (Base Commit: 3483dc3) |
@jwforres @jeff-phillips-18 FYI, not ready to merge, but it's working