As an organizer, I want to be able to edit the selection of my Participant Questions, so that I can correct mistakes that I made when configuring Event Registration or so that I can adapt to changes in my data collection preferences (such as learning that my event participants or organizing partners do not feel comfortable with collecting certain data or learning that my organizing partners actually do want to collect data that we previously opted out of collecting).
Background: In the current implementation of the Participant Questions feature of Event Registration, all questions are displayed when the participant registers for the event (though it is optional for them to answer them). We are changing this implementation so that organizers can choose which questions are included in their Event Registration form, and we will allow organizers to edit/change which questions are in the Event Registration form, as long as the event has not ended.
We have decided to handle data aggregation in the following way: We always aggregate the answers of the participants, even if the organizer has removed a question. When we do the final aggregation (when the event is over), we check if there is any aggregated data associated with questions that were removed. If there is aggregated data for removed questions, we delete this data and exclude it from the final aggregation. We will also not allow organizers to edit their selection of questions if the event has ended.
Acceptance Criteria:
- If an organizer has selected any Participant Questions when configuring registration,
- And if event registration has not yet closed,
- Organizers of the event should be able to remove any Participant Questions
- And all new participants will see no longer see the removed Participant Questions when they register
- And organizers will no longer see the data collected from before the change in the Participants and Response Statistics tabs
- And all data from deleted participant questions will be deleted as per the retention period guidelines
- And all data from deleted participant questions will be aggregated
- And registered participants who answered a Participant Question prior to having the question removed can still view and edit their response before the event ends, but they will no longer see the question if they blank their former response or if they unregister and then re-register for the event
- And there is a final aggregation that occurs when the event is over
- And if there is any data associated with questions that were removed,
- We should remove this data from the final aggregation
- And if there is any data associated with questions that were removed,
- And there is a final aggregation that occurs when the event is over
- And organizers will no longer see the data collected from before the change in the Participants and Response Statistics tabs
- And all new participants will see no longer see the removed Participant Questions when they register
- Organizers of the event should be able to remove any Participant Questions
- And if event registration has not yet closed,
- If an organizer has not selected any of the Participant Questions when configuring registration,
- And if event registration has not yet closed,
- Organizers of the event should be able to add any Participant Questions
- And all new participants will see the newly added Participant Questions when they register
- And responses to the newly added Participant Questions from those who registered before the questions were added will be recorded as No Answer
- Note that we can perhaps later distinguish between No Answer due to the question not being available vs. the participant explicitly choosing to not answer the question, but this is not required for MVP
- And registered participants who answered a Participant Question prior to having the question added can see the new question(s) with No response when they edit their selection, and they will have option to answer the newly added Participant Questions when editing their registration
- Organizers of the event should be able to add any Participant Questions
- And if event registration has not yet closed,
- If an organizer has removed a question and then re-added the question,
- And if event registration has not yet closed,
- Organizers of the event should be able to see previous responses to the re-added participant question
- And if event registration has not yet closed,
- If an event ends,
- Organizers will not be able to edit their selection of Participant Questions