🎩 User Story
We'll start with allowing users to follow a proposal, but we should keep in mind that users can follow other entities (like other users, a process, etc), so we have to implement it in a polymorphic, decoupled way.
When some action happens in a proposal we'll create a notification for each of its followers. We'll notify a user via email when a new notification has been created.
Creating the notification and sending the email should be done asynchronously.
📋 Related documentation
Email example text:
[user name] has add a comment to [link to proposal] that you're following in [organization name]. To see more proposals [link to proposal index]. Unfollow this proposal [link to unfollow this proposal]
🎯 Acceptance criteria
As a user I can:
📌 Related issues
AjuntamentdeBarcelona/decidim.barcelona-legacy#308
🎩 User Story
We'll start with allowing users to follow a proposal, but we should keep in mind that users can follow other entities (like other users, a process, etc), so we have to implement it in a polymorphic, decoupled way.
When some action happens in a proposal we'll create a notification for each of its followers. We'll notify a user via email when a new notification has been created.
Creating the notification and sending the email should be done asynchronously.
📋 Related documentation
Email example text:
[user name] has add a comment to [link to proposal] that you're following in [organization name]. To see more proposals [link to proposal index]. Unfollow this proposal [link to unfollow this proposal]
🎯 Acceptance criteria
As a user I can:
📌 Related issues
AjuntamentdeBarcelona/decidim.barcelona-legacy#308