Metadecidim
Sign in

Process

Co-creating the roadmap 2025–2027

Withdrawn not yet on protocol

Send notification when there is a new private note

Is your feature request related to a problem? Please describe.

This PR introduced private notes on admin proposals. Admins can add notes on the proposal for the other admins and valuators but they don't really know that there is a note until they check its dedicated section. Only a counter in the proposal admin index allows admins to know if a proposal received 1 or several private notes, but as an admin, from the index there is no indicator of how recent they are.

Describe the solution you'd like

We'd like to send a notification to the concerned users (admins and valuators) when a private note is left on proposal.

I suggest to add the following notifications

1.Email notification :

  • Subject : There is a new private note from %{author} on %{proposal_title}.
  • Intro : Hello %{name}
  • Body : %{admin_name} has added this private note to <a href="%{proposal_link}">%{proposal_title}</a> :

%{private_note_content}

  • <a href="%{answer_link_admin_panel}"> Add your private answer </a>
  • Outro: You received this email because you are %{role} on %{space_title}

2.Platform notification :

  • Notification type : Private note
  • Subject : Proposal private note
  • Body : %{admin_name} has added a private note to the following proposal : <a href="%{answer_link_admin_panel}">%{proposal_title}</a> .


Additional context


Does this issue could impact on users private data?

No.

Funded by

Open Source Politics

6 comments

  1. @ I found a PR that is supposed to generate a notification for private notes : https://github.com/decidim/decidim/pull/5906

    Could you make sure that there are indeed notification sent ? Because that would means that this is not a feature request but a bug that needs to be signaled on Github.

    1 votes up 0 votes down
    1. Nice catch @virgile_deville ! thank you

      As the notification isn't sent, I will rather create an issue on Github

      0 votes up 0 votes down
    2. Hi @virgile_deville and @, we were discussing this in product last week, and we saw that private note notifications can lead to a large number of emails being sent (and therefore complaints from admins). For this reason we propose to add an option in the notifications for administrators, to disable this option: https://imgur.com/a/IFRCHnn

      What do you guys think?

      0 votes up 0 votes down
      1. Sounds great ! @ could you update the proposal accordingly ?

        0 votes up 0 votes down
        1. I created another proposal, @virgile_deville please find it here

          Add option to receive or not private note notification

          0 votes up 0 votes down
      2. Hello @carol, I agree with you too !

        0 votes up 0 votes down

Sign in with your Atmosphere account to comment.