Changes at "Notifications digest"
Title
- +{"en"=>"Notifications digest"}
Body
-
+["
Ref. PWA12
NOTE: this feature is from a big development. See PWA discussion at GitHub.
Is your feature request related to a problem? Please describe.
As a registered participant thatâs following a participatory process, I receive lots of notifications by email. That overwhelms me, makes filters for these kinds of messages, and defeats the purpose of receiving these kinds of notifications.
Describe the solution youâd like
I want to have a notifications digest. We can start with a summary of notifications in the last 24 hours (daily), but in the future, this could also support other kinds of timeframes (like weekly, notifications of the last 7 days)
There are a couple of things to take into account:
- This should be a setting enabled by default. A participant can change it and go back to the old behavior if she wants to. This setting will be called âI want to receive a digest email every day with notifications.â and will be available in âMy accountâ -> âNotifications settingsâ. Itâll be incompatible with âI want to receive an email every time I receive a notification.â
- The digest should contain the notifications related to the activity I follow. As a participant, I want to receive a direct notification if someone mentions me or interacts with some content that I have created.
- If thereâs something to configure server-side (crontab or whatever), implementers should have documentation regarding how to set this up.
- It must show the notifications ordered by spaces, for instance, if Iâm following the
Describe alternatives youâve considered
We could also not have a setting for this change, of behavior, but there could be cases where you actually want to receive 24-hour pings of whatâs happening in a process, for instance, if youâre moderating it.
Additional context
There are a couple of proposals in Meta:
- https://meta.decidim.org/processes/roadmap/f/122/proposals/15048
- https://meta.decidim.org/processes/roadmap/f/122/proposals/14212
And there was even a PR (gid://metadecidim/Decidim::Hashtag/341/5875) already, but now that Iâm reviewing that, there are some doubts regarding the PR: why expire notifications? why thereâs a limit on how many notifications are sent by email?
Does this issue could impact on users private data?
No, itâs just showing another way to send notifications.
Acceptance criteria
- Given that Iâm a participant,
When I go to docs I have instructions on how to set this digest up. - Given that Iâm a participant,
When I go to âMy accountâ -> âNotifications settingsâ
Then I see a new option in âSend notifications by emailâ
âI want to receive a digest email every day with notifications.â
thatâs checked by default. - Given that Iâm a participant,
When I go to âMy accountâ -> âNotifications settingsâ and I have already checked the âI want to receive a digest email every day with notifications.â
When I click in âI want to receive an email every time I receive a notification.â
Then the âI want to receive a digest email every day with notifications.â is unchecked by default. - Given that Iâm a participant,
When I go to âMy accountâ -> âNotifications settingsâ and I have already checked the âI want to receive an email every time I receive a notification.â
When I click in âI want to receive a digest email every day with notifications.â
Then the âI want to receive an email every time I receive a notification.â is unchecked by default. - Given that Iâm a participant,
When I have the âI want to receive a digest email every day with notifications.â
Then I receive a digest email with all the activities Iâm following on the last day.
"]
Share