- Issue created by @Janner
- 🇩🇪Germany jurgenhaas Gottmadingen
At this point, there are no settings available yet. This module is basically pushing notifications - mainly from the DANSE module - by going through the available channels and picking the first successful one for each user. E.g. if OneSignal is enabled and the user has a registered device, then the notification is pushed to that channel. And only if that's not possible, the module falls back to other available channels.
The actions to enable or disable push activity are system-wide and can e.g. be used during deployment or migration, where you probably want to disable notifications until everything is in good shape again.
Whether a user gets a notification or not is being decided in DANSE according to all the rules available there. DANSE was originally build to create notifications from a business perspective, so without any choice by the user. That's what gets done there with the recipient selection plugins. Later, DANSE also got a subscription functionality where the user can make some decisions over what they want to be notified about.
- 🇬🇧United Kingdom Janner
Thanks for the clarification and explanation.
For some, the option to track DANSE notifications either via a tab on their profile page or via the dedicated RSS feed might suffice, in which case they wouldn't also want to receive email alerts. There might also be times when a user wants or needs to pause notifications.
All of that to say that offering users a simple toggle to enable/disable push notifications would be a great addition to this module in my opinion. I appreciate that this may fall outside your original vision for this module, but it would be great if you would consider adding this functionality.
- 🇩🇪Germany jurgenhaas Gottmadingen
Well, the problem is that DANSE had originally been built with the requirement that the website (i.e. intranet/portal) has important information that HAS to be delivered to the registered users. If the push framework ever should get a user choice to disable push notifications, then this needs to go along with a sitewide setting, whether this option should be available to users or not. Similar to e.g. whether users are allowed to select their own timezone. Some websites don't allow that for their users.
MRs welcome.