I would provide the user with the following interface, both per channel and for the whole app.
Per channel settings, if set, would override the app settings.
Notifications settings :
In app notifications
Email notifications
Web notifications
Push notifications
By default, all four would be ticked.
By Alexandre on 2019-09-10T09:33:44 (imported from GitLab project)
I think we could have a global setting for the notification channels like you say, and then an activation/disabling per circle and project.
Having the choice of notification channel per circle and project is not possible with the current standards, and I'm not sure it has a strong value for the users.
I'm not sure we need so much rethinking. Enabling/disabling notifications just means creating/deleting a subscription. I think we just need the notification agent to check whether the user wants an email or not.
We also use a Signal for "I created a notification, I'll send a mail now!", I think you talk about that.
Here we can check the user preference, even by object, for the mail preference.
And on client side, we can also check the user preference before sending web notifications.
We only need to handle user preference, by using LDPURLField to point every resource you want to configure. We may also want a backlink when you're added to a circle/project to add a preference to it too. :)
No I was talking about the subscriptions in terms of LD Notification. But what I didn't have in mind is that they're handled by Prosody. So it's true we'd have to change something. The standard way would be to handle LD Notification subscription on Prosody, registering who has subscribed to what.
I think per channel settings is highly required.
What I hear from the current use of the app is that it's very useful but it's a pain to go on each channel to manage its settings.
User will probably prefer to have everything on one page and tick boxes of channels he wants notifications.
For question 2, i am not sure about the difference between web and push notifications
@sophie : Then I guess a quick design of what you have in mind for the settings page is most welcome.
Push notifications are notifications you receive on your smartphone.
Web notifications happen in our browser, the thin that bips when you receive a message and displays a popup.
By Alexandre on 2019-09-16T08:29:27 (imported from GitLab project)
I feel like we misunderstood each other. I totally agree that it's important to be able to enable or disable notifications for a certain circle. What I'm saying is that I don't see the point of choosing for each circle if we want to receive an email, or a push notification. I think this selection can be global.
@sylvain : I haven't double checked, but I think they are not the same think in PWA.
One is handled by the ServiceWorker, the other is not, and they are not the same thing per se.
But I didn't check, that's just an educated guess
By Alexandre on 2019-09-18T13:00:46 (imported from GitLab project)