Open SylvainChevalier opened 1 week ago
@SylvainChevalier I'm not sure how we should adjust the rendering for group and conditional questions. What design should we implement for conditional types, and how should we determine whether or not to render an empty chart with a message (in edit form the user is able to set different timestamps for CP reveal time on group questions)?
One option could be to check the reveal time for each subquestion. If all of them have not been revealed yet, we can render an empty chart with the earliest cp_reveal_time
.
Yes, for group let's show the empty graph + message only if all subquestions are before their reveal date.
For conditionals we can have the same copy, where the predictions should be:
Ready for testing on dev
When the CP is hidden because the CP reveal date hasn't been reached before, we should show:
Note: this is already done for users who hide the CP in their settings, see #937.
Nice to have: include a disclaimer on the graph.