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

When new results are loaded a notification needs to be sent out to the user #41

Open
sarang87 opened this issue Aug 1, 2016 · 1 comment
Milestone

Comments

@sarang87
Copy link
Contributor

sarang87 commented Aug 1, 2016

No description provided.

@hcientist
Copy link
Member

we should "display a notification" (we don't need to send one, as the server is already "sending" the results, and that message tells the client when to notify the user). I think that a flash message might work nicely for this, and to confirm for the user that their query/results are saved (#42). This looks like a good choice: http://sachinchoolur.github.io/angular-flash/

consider also having the background of the new results fade from some light color to the normal appearance when they first arrive.

consider reading http://www.nganimate.org/ 2 sections: "CSS Class Names" and "CSS Transition" in the last snippet of css there:

.animate-enter {
  -webkit-transition: 1s linear all; /* Chrome */
  transition: 1s linear all;
  opacity: 0;
}

.animate-enter.animate-enter-active {
  opacity: 1;
}

consider changing the opacity to background a la:

.animate-enter {
  -webkit-transition: 1s linear all; /* Chrome */
  transition: 1s linear all;
  background-color: #e7e7e7;
}

.animate-enter.animate-enter-active {
  background-color: inherit;
}

@hcientist hcientist modified the milestone: Version 2 Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants