Show scale comments only in the presentation
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Skipped

Participants still see distribution and average (if enabled), but the
comments are emptied in their state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-08 15:54:34 +01:00
1 parent 9b879ca177
commit d6166bd9d9
5 files changed
+42 -12

No files matched your search

+2 -1
View File
@@ -20,7 +20,8 @@ use Cake\ORM\Locator\LocatorAwareTrait;
* private (anonymous feedback): 'answers' is always empty, texts only via answers()
* - scale: 'buckets' => [['value', 'count', 'percent']], 'average' => float|null,
* 'min', 'max', 'minLabel', 'maxLabel', 'private' (bool);
* 'comments' => [['id', 'text', 'value']] oldest first (only with the comment field, else []);
* 'comments' => [['id', 'text', 'value']] oldest first (only with the comment field, else [];
* presentation only, emptied for participants in PollStateService);
* private (internal feedback): 'buckets' and 'comments' are always empty and 'average' null,
* ratings and comments only via scaleResults() / comments()
* - quiz: 'phase' (ready|running|finished), 'timeLimit' (s, 0 = manual), 'remaining' (s|null),