chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Chore, notification system chronograf

Open nhaugo opened this issue 10 years ago • 0 comments

@willpiers @121watts some level of detail here connect #190

Currently there is a function called addFlashMessage that we are passing down throughout the app which adds notifications to the top of the page.

This story is to store notifications in a redux store so that we can publish actions anywhere of the form

{
  type: "success", // or failure
  message: "everything is working super well"
}

then our top level App.js can listen for these and show notifications when they come in.

This is a more idiomatic approach. In particular, this style is more in line with the "unidirectional data flow" philosophy.

nhaugo avatar Oct 05 '16 21:10 nhaugo