-
Notifications
You must be signed in to change notification settings - Fork 232
Routes - convert form alerts to toast notifications for creating, editing and deleting #1567
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
Routes - convert form alerts to toast notifications for creating, editing and deleting #1567
Conversation
@@ -17,6 +17,7 @@ angular.module('openshiftConsole') | |||
AuthorizationService, | |||
DataService, | |||
Navigate, | |||
NotificationsService, | |||
ProjectsService, | |||
keyValueEditorUtils) { | |||
$scope.alerts = {}; |
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.
You can remove $scope.alerts
since it's no longer used and also remove the alerts
element from create-route.html
@@ -17,6 +17,7 @@ angular.module('openshiftConsole') | |||
AuthorizationService, | |||
DataService, | |||
Navigate, | |||
NotificationsService, | |||
ProjectsService, | |||
RoutesService) { | |||
$scope.alerts = {}; |
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.
Same comment here: remove $scope.alerts
and remove <alerts>
from the view
Let's open a separate issue so we don't forget if we don't do it in this PR. @jwforres FYI |
If we open a separate issue for that it needs to be fixed by stagecut. I don't want to have us in a state in online where you submit a successful form and have to manually close old errors. |
@jwforres We might hold off on this PR in that case. It requires changes to |
ok lets split the PR then if needed
…On Mon, May 22, 2017 at 4:25 PM, Sam Padgett ***@***.***> wrote:
@jwforres <https://github.com/jwforres> We might hold off on this PR in
that case. It requires changes to NotificationsService in
origin-web-common. But I do think we could fix the AlertsMessageService
cases now, which won't have this problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1567 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABZk7VGHJ6rfVz6e7fMQJc0RBvnz_4pbks5r8e8lgaJpZM4NixCz>
.
|
or that, either way
…On Mon, May 22, 2017 at 4:27 PM, Sam Padgett ***@***.***> wrote:
@sg00dwin <https://github.com/sg00dwin> @jwforres
<https://github.com/jwforres> Maybe I can knock the common change for
this out quickly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1567 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABZk7U44QaL9fpAdBs7QDZWSgXQAg2I0ks5r8e-kgaJpZM4NixCz>
.
|
828a97d
to
ba5c3e6
Compare
I opened a PR that adds remove and truncates long notification text: |
@sg00dwin I opened a PR against your branch with the changes, but you'll need the updates I made to common. |
Added [WIP] since this is waiting on a origin-web-common release now. |
e737fab
to
13a3b68
Compare
13a3b68
to
852af7c
Compare
[merge] |
Evaluated for origin web console merge up to 852af7c |
[Test]ing while waiting on the merge queue |
Evaluated for origin web console test up to 852af7c |
Origin Web Console Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1453/) (Base Commit: b70413b) |
1 similar comment
Origin Web Console Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1453/) (Base Commit: b70413b) |
Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1459/) (Base Commit: 3427432) |
https://trello.com/c/6WVJdgjL
@spadgett ptal
Task