Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the email notification for proposal valuators #18

Open
3 tasks done
microstudi opened this issue Sep 8, 2022 · 0 comments · Fixed by #25 · May be fixed by #23
Open
3 tasks done

Improve the email notification for proposal valuators #18

microstudi opened this issue Sep 8, 2022 · 0 comments · Fixed by #25 · May be fixed by #23

Comments

@microstudi
Copy link

microstudi commented Sep 8, 2022

Initial specification

When a valuator is selected to comment on a proposal in the backend system, the valuator receives an email notification including a link to the proposal in the backend system.

Context:

To assign a valuator, first this user needs to be added into the process as a "process/assembly admin" with the role of "valuator".
Once this is done, valuators can be assigned to individual proposals. This is done by check the checkbox in the list of proposals (admin):
Screenshot from 2022-09-08 13-37-29
(choose "assign to valuator")

Screenshot from 2022-09-08 13-37-45
(press "assign")

Currently, this assigns the "valuator" capability to the assigned user, however this does not generate any notification/email to the user.

Task:

  • Identify the command that assigns a valuator to the selected proposals
  • Create a new mailer job that sends an email to this evaluator with a link to each of the proposals assigned in the admin.
  • Add tests for the task

Email text:

Hi %{name},

You've been assigned by %{admin_name} as a valuator for the proposals listed below. This means you've been trusted to give them feedback and a proper response in the next coming days.

Thanks for your help!

Proposal 1 (link to the decidim admin proposal 1)
Proposal 2 (link to the decidim admin proposal 2)

Methodology

Start with the branch release/0.26-stable and create a PR to openpoke/decidim to this very same branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants