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