mw.notify() with type for watch and patrol
mw.notify() is used for success and for fail notifications. But it has always the same style.
It would be nice to have a set of predefined ui styles for different types. The types should orient at the API results: For example:
- type "notify": Green. Success. Default style.
- type "warn": Yellow. Success but with warning.
- type "error": Red. Fail.
I created a patch to demonstrate the idea. The styles use different background colors for the different types. It would be better to have self-explanatory icons.