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

Show process template errors as toasts #1678

Merged
merged 1 commit into from
Jun 12, 2017

Conversation

spadgett
Copy link
Member

@spadgett spadgett requested a review from jwforres June 12, 2017 15:23
var hideNotificationErrors = function() {
NotificationsService.hideNotification("process-template-error");
_.each(alerts, function(alert) {
if (alert.id) {
Copy link
Member

Choose a reason for hiding this comment

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

this assumes that we will only ever put id's on the error alerts, should this also check that the alert is a warning or error alert

@spadgett
Copy link
Member Author

@jwforres Thanks, updated.

@@ -80,6 +79,8 @@
};

ctrl.close = function() {
$scope.$broadcast('hideTemplateNotificationErrors');
Copy link
Member

Choose a reason for hiding this comment

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

assuming i'll need to do the same thing from my overlay PR then

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, and something similar is needed for from-file when #1677 goes in.

@jwforres
Copy link
Member

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to def2450

@openshift-bot
Copy link

openshift-bot commented Jun 12, 2017

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

@openshift-bot openshift-bot merged commit a33749d into openshift:master Jun 12, 2017
@spadgett spadgett deleted the process-template-toasts branch June 12, 2017 17:20
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