Skip to content
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

Collapse pending pipelines on overview #1126

Merged
merged 1 commit into from
Jan 17, 2017

Conversation

spadgett
Copy link
Member

Don't show the expanded view (with stages) for pipelines that haven't
started. Since we now have run policy for build configs, it's possible
to queue up several pipeline builds. They take up a lot of space on the
overview when expanded and don't have any stage details until they
actually start running.

Fixes #1097

Don't show the expanded view (with stages) for pipelines that haven't
started. Since we now have run policy for build configs, it's possible
to queue up several pipeline builds. They take up a lot of space on the
overview when expanded and don't have any stage details until they
actually start running.
@spadgett spadgett requested a review from jwforres January 17, 2017 14:12
@@ -418,10 +417,6 @@ angular.module('openshiftConsole')
_.each(dcNames, function(dcName) {
$scope.recentPipelinesByDC[dcName] = $scope.recentPipelinesByDC[dcName] || [];
$scope.recentPipelinesByDC[dcName].push(build);
if (isIncompleteBuild(build)) {
$scope.incompletePipelinesByDC[dcName] = $scope.incompletePipelinesByDC[dcName] || [];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jwforres This scope var is no longer used. (Should have removed it as part of #1124)

@jwforres
Copy link
Member

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to 67285dc

@openshift-bot
Copy link

openshift-bot commented Jan 17, 2017

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/922/) (Base Commit: 05093f6)

@openshift-bot openshift-bot merged commit b1dcc6f into openshift:master Jan 17, 2017
@spadgett spadgett deleted the pending-pipelines branch January 17, 2017 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants