Open Emerson opened 10 years ago
Any reason why this was never merged in? Certainly useful, and is a relatively standard feature for flash messages.
I think the lack of tests was the main reason? As mentioned above, I'm using it in production and haven't had any issues - but having proper tests would give us peace of mind.
Looking at the Files changed tab, I'm also seeing area's where things could be done cleaner and more modularly...
@Emerson Thanks for the update.
@Emerson I'll check it out, although we ended up going with ember-notify for our main app. Thx
This pull request adds the auto dismissing feature outlined in issue #16. It's a little rough around the edges, so I totally understand if we don't want to merge it in yet, but I wanted to get it on the radar.
I'm using this code in my app and everything has been smooth so far, but the fact that I was not able to write a proper test for this makes me sad :rage1: . I also have a hunch that some of the code could be written in a cleaner way.