m-e-conroy / angular-dialog-service

A complete AngularJS service with controllers and templates for generating application modals and dialogs for use with Angular-UI-Bootstrap and Twitter Bootstrap
MIT License
618 stars 228 forks source link

Request for warn() API method #131

Open dlwhiteman opened 9 years ago

dlwhiteman commented 9 years ago

A useful API method for this dialog service to provide would be warn() . There are messages that are in between notify() and error() in severity. If you encounter a condition where you are telling the user to proceed at their own risk, you want to use a warning message, because an error suggests the operation will not be permitted, and notify suggests that all is well. Typically warning messages make use of an orange or yellow color, with a triangle containing an exclamation point as the icon.

dougmoscrop commented 9 years ago

What do we think about splitting up the dialog service from a dialog set, so that maybe there's an angular-dialogs-common or whatever that depends on the dialog service but actually delivers those common dialogs in a separate offering.