Background
Participant responses are not aggregated immediately after the event ends, it may take a while.
We need a message to show to organisers on the Response statistics tab between when the event ends and when the responses have been aggregated.
Scenarios
Here's a breakdown of all the possible scenarios and different empty states depending on when the organizer opens the tab, and how many participants/answers there are.
participants \ time | < event end | Event end < x < aggregation | > aggregation |
---|---|---|---|
0 participants | Tab is not displayed | Tab displays: "This event has no responses from participants to aggregate" | ← same |
> 0 participants, 0 answers | Tab is not displayed | Tab displays: "This event has no responses from participants to aggregate | ← same |
> 0 answers | Tab is not displayed | Show tab with "Participants’ responses will be aggregated and made available here shortly." message as in the image below | Show all questions, and aggregates when available. This will be done in T336855, and not in this task. |
A few notes:
- A tab should be created, but it shouldn't be displayed before the event has ended. We may revisit this in the future.
- The first two rows are actually handled the same way, as we only check the number of answers, not the number of participants.