Added 'no projects and cant create' empty states#2296
Added 'no projects and cant create' empty states#2296openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
689a3ce to
d3900fe
Compare
|
/retest |
d3900fe to
718e4c5
Compare
718e4c5 to
4e0154a
Compare
spadgett
left a comment
There was a problem hiding this comment.
LGTM except for the one comment. PR will need rebase
| $scope.$on('$destroy', hideErrorNotifications); | ||
| $scope.$on('$destroy', function() { | ||
| hideErrorNotifications(); | ||
| noProjectsCantCreateWatch(); |
There was a problem hiding this comment.
@dtaylor113 This is fine, but not needed. The $scope listeners are already deregistered on destroy. I'd honestly rather remove this logic from the controllers to keep the code simpler. It can just be...
$scope.$on('no-projects-cannot-create', function() {
$scope.noProjectsCantCreate = true;
});in each of the controllers without needing to handle the return value.
4e0154a to
0dda14b
Compare
|
/retest |
|
Thanks @dtaylor113 /lgtm |
0dda14b to
4db78f0
Compare
|
/lgtm |
|
/lgtm |
|
/retest |
|
@dtaylor113 Can you take a look at the test failures and make sure they're not due to your changes? |
Looking at the Jenkins logs, seems like an issue with 4 or 5 e2e tests. At the moment I have to clear my docker cache and get oc to cluster up. I'll let you know if e2e works locally for me. |
|
Hi @spadgett, when I run the e2e tests locally I error out with: I think this is just a general error trying to run selenium on my linux system. Here is a link to the e2e test failures of this PR: They don't appear to be related to the |
|
We keep seeing the same failures in your PR and not others. Those pages also use the select-project component, so it might be related. /retest |
|
Hmm... @juanvallejo is getting the same stack trace reported here on his linux system, latest master. I also am seeing failures on my system using the latest master. |
|
@dtaylor113 But your failures are different than Jenkins, right? |
e6479ee to
d249a07
Compare
app/views/directives/from-file.html
Outdated
| </a> | ||
| </div> | ||
| </form> | ||
| <span ng-if="!noProjectsCantCreate"> |
There was a problem hiding this comment.
It might be safer to change these ng-if to ng-show (here and below) to avoid problems like openshift/origin-web-catalog#526
It might fix the test failures as well.
There was a problem hiding this comment.
Ok, replaced ng-if's with ng-shows's, e2e worked with Ben's latest e2e changes and seemed to get further just in this PRs branch. 🤞 Hopefully it'll pass Travis :-)
d249a07 to
7c3fad3
Compare
|
/lgtm |
|
yay!!! \0/ |
…deploy-image, and from-file
7c3fad3 to
9c350bc
Compare
|
/lgtm |
|
Automatic merge from submit-queue. |
Added to deploy-image, from-file, and process-template: