We need to permit configuration of which notifications are received in PleromaFE. Users need to disable notifications for follows, mentions, boosts, favorites per their preference and needs. In the instance I'm launching there will be thousands of follows per day for a group of users and it will make notifications unmanageable and the experience frustrating.
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Right now "user settings" (or profile edit) only has anything that has some dependency on BE. "instance settings" (please don't call them that, if you want to call them, "preferences" or "interface settings") has everything that's only stored on FE. The separation is confusing and until we have settings sync mechanism it probably should stay that way.
Right now we could just hook up these settings into push notifications registering options.
@hj I'm going to add setNotificationVisibility action/mutation to the config module and updatePushNotifications function to update the visibility settings of the web push. How does it sound?
Right, it will. Then I guess I'll add it to that store.subscribe block with tons of if conditions in main.js. Also, maybe it's time to move this code to a separated file like lib/push_notifications_plugin.js, what do you think?
I think it's better to wait until !433 (merged) get merged. Please, let me know if I can help with !433 (merged), perhaps with adding subscription removal from BE.