Metadecidim
Sign in

Process

Co-creating the roadmap 2025–2027

finished not yet on protocol

Add alert when publish a survey with answers

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

When you create a Survey, it's checked by default the "Delete answers when publishing the survey".

It happened that some admins, unaware of this check, have lost survey results.

Describe the solution you'd like

We propose to add a Pop-up warning when publishing a questionnaire if the option "Delete answers when publishing the survey" is checked.

The pop-up give two options: continue or cancel de publication.

Additional context

Screenshot is added.

Does this issue could impact on users private data?

I don't think so.

Funded by

Generalitat de Catalunya.

Documents

3 comments

  1. I completely agree with you that the way survey responses are deleted right now is quite dangerous. We disabled the checkmark being active per default (https://github.com/puzzle/decidim-zuerich/commit/ce8e4dc051865012743651000d2b41bfccabc705), but I guess an ideal solution would be to implement a separate button (i.e. in the topbar next to "Display answers") where you could flush the results.

    0 votes up 0 votes down
  2. We're happy to let you know that you can now submit the PR to the main repository 🎉. Thank you for your contribution!

    0 votes up 0 votes down
  3. The PR has been submitted to main repo: https://github.com/decidim/decidim/pull/11450

    0 votes up 0 votes down

Sign in with your Atmosphere account to comment.