Problem/Motivation
From #2648802: Deleting a choice should delete the votes over it in the database and #2648836: Alert the user that deleting a choice will delete the votes on it I was wondering if there is a better way to delete a poll choice.
At the moment the choice deleting operation is kind of merged with the normal poll saving operation: go to the poll edit page, remove the choice text/value and save the poll. I'm not sure if there is an easy way to freeze this 'deleting/saving' operation and inject a warning to the user that he/she is deleting a choice (evtl. also the existing votes recorded) and then just continue the saving operation.
IMO we should add a 'Delete' button for each choice and then alert the user (about the evtl. deleting votes).
Not sure if it's a Task or a Feature request. Decided for Task.
If I'm wrong don't boggle to say your opition! :)
Proposed resolution
- It should work similar to Paragraphs 'Remove' button.
- Needs discussion.
Comments
Comment #2
edurenye CreditAttribution: edurenye at MD Systems GmbH commentedFinally we found a different solution for this here #2648836: Alert the user that deleting a choice will delete the votes on it.
We will add a warning when the user click in a existing choice, so I think we can close this issue.