I am about to code something for a Rails app of mine and didn't want to reinvent the wheel, hence my question:
Do you guys know any Rails Plugin that would allow an application to display notification messages that could be user specific and also allow the user to mark them as "don't show this again"?
My vision is to display a top div (like the one StackOverflow added recently), in different color with the message "title" and that would be clickable. Once clicked, it would pop up the entire message and then allow the user to mark it to prevent it to be shown again.
Is there anything like that out there? :-)
I found so far this two plugins:
But those are rather incomplete parts of my vision
-- Felipe.
It seems like system_messages (which you linked to) mostly does what you want. The SystemMessage
model has header
, message
, and dismissed
fields.
It would take just a bit of JavaScript to show an intially hidden message field when the header is clicked. The plugin already allows dismissal of the message via JavaScript if you use Prototype.
Since I don't have enough reputation to comment - Flash isn't sufficient for a few different reasons:
I'm also looking for some good solution, and so far the best I can come up with is RYO. I'll ultimately stuff the display code into flash, but figuring out what and when to flash is the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With