sysco-middleware / KGO

Kafka governance UI
MIT License
3 stars 0 forks source link

Notifications #1

Closed jeroenrinzema closed 6 years ago

jeroenrinzema commented 6 years ago

A way needs to be created that allows us to create notifications in a easy way using the Spectre toasts component.

Ideally would a function/object be added to the Vue instance.

A notification could be a warning/success/error.

Example

new Vue({
  mounted: function() {
    this.$notification.success('Vue is mounted!')
    this.$notification.error('Something went terribly wrong')
  }
})
zhenik commented 6 years ago

Does user needs to allow notifications in browser?

jeroenrinzema commented 6 years ago

No a notification is a small popup in the bottom right corner

screen shot 2018-06-04 at 18 46 53