Skip to content
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

Add a way to show the user notifications #56

Open
curran opened this issue Dec 5, 2015 · 0 comments
Open

Add a way to show the user notifications #56

curran opened this issue Dec 5, 2015 · 0 comments

Comments

@curran
Copy link
Collaborator

curran commented Dec 5, 2015

It should be easy for components to show notifications to the user.

Example notifications include:

  • Loading dataset "foo"
  • Dataset "foo" failed to load
  • Other random messages, warnings, or errors

One possible solution is to adopt a simple convention for Chiasm components to broadcast messages (e.g. setting chiasm.log), then implement a Chiasm component that will render the notifications (pop them up, then fade them out after a few seconds). This component can listen for errors with chiasm.on("log", function (log){ ... });, using the synchronous model.on functionality of model.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant