Open jasonmlutz opened 3 years ago
This difference will also help in the following situation: A poll is created, but it is not ready for submissions, perhaps due to one of the following:
Then this poll should be left in the editable
state, rather than a response-ready
state, allowing additions but preventing responses.
This would require some complex validations. For example:
response-ready
.response-ready
if any of the above 3 conditions apply.See #44, #18 .
The current pipeline for creating a poll takes the following sequence:
This structure will not distinguish between existing and newly created polls. This could be leveraged to make editing polls easier, though the only edit feature this would help is 'add new questions' or 'add new response options to the most recent question'.
Possible solutions:
completed
orlocked
flag to indicate when a poll has left initial creation status.