Not sure how to file this one, but it was mentioned that I should throw it here. After attending the NodeJS bof and having a couple conversations with beejeebus, I wrote a quick proof of concept that I think could easily be worked up to a nice contrib.
Essentially, by leveraging the message module in combination with the nodejs_notify module provided here, we can have custom messages fire in "real time" based on certain events. This gives us all the flexibility of message with a cool growl like display.
For example, you can configure message to log when people comment on a certain node or node type. The message could say something like "@user commented on %node." Typically this would be displayed in a view, as an "activity stream" type display, but with this module enabled it will instead be broadcast as a jGrowl notification.
This is admittedly pretty bare bones, but I'm hoping to add some configuration options in the very near future.
I've thrown the beginnings in a sandbox. Check it out and let me know what you think!
Comments
Comment #1
Anonymous (not verified) commentedthanks for reporting this! will get back to you with more details thoughts over the next few days.
Comment #2
tizzo commentedMessage integrates with rules right? Why make it a message integration and not more generically a rules integration? I know there is some sandbox code to do that at the very least...
Comment #3
rho_ commentedMessage does indeed integrate with rules. That was a lot of the impetus behind this. With the existing code you can set up NodeJS jGrowl notifications managed completely by rules (via message). It winds up being a really nice arrangement.
After committing a bit of user management I've been polishing, I'm hoping to publish a screen cast demonstrating this.
Comment #4
rho_ commentedMessageJS is now a module. Marking this "fixed." No real reason to keep the issue open.