simukappu / activity_notification

Integrated user activity notifications for Ruby on Rails
https://rubygems.org/gems/activity_notification
MIT License
508 stars 78 forks source link

Cascading Notifications #127

Open Eth3rnit3 opened 4 years ago

Eth3rnit3 commented 4 years ago

Is there a current way to proceed to the sending of notifications of the different notifications in a sequenced way?

For example a notification is created, if it is not read 10min later it is sent on slack then 10min later by mail.

simukappu commented 4 years ago

No, the gem does not provide a function to send delayed notifications in a sequenced way. I think you can implement this using your own ActiveJob job. If you could provide any PR as the gem enhancement, I would appreciate it. Thank you!

Eth3rnit3 commented 4 years ago

Thank you for your response!

I'm probably going to have to implement it, so if that's the case, I'll make sure it's easily applicable to all notifiers. I'll let you know when I have something clean and functional.