Drop the comment interval setting
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Skipped

Comments on the stage are always timed by their length now, so the
selectable interval and results.commentInterval are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-09 14:18:01 +01:00
1 parent 05ff5967e3
commit 8d128095ed
7 files changed
+23 -86

No files matched your search

-2
View File
@@ -22,7 +22,6 @@ use Cake\ORM\Locator\LocatorAwareTrait;
* 'comments' => [['id', 'text', 'value' (int|null)]] oldest first (only with the comment field, else [];
* 'value' is null unless the setting comment_ratings is on;
* presentation only: participants never get results of scale slides, see PollStateService);
* 'commentInterval' => int seconds per comment while they rotate, 0 = depending on its length;
* open/scale with 'private' (anonymous/internal feedback): contents are included for the
* presenter/embed, which start with the results hidden and may show them on demand;
* participants never get results of these slides, the public PDF strips them (withoutContents())
@@ -326,7 +325,6 @@ class ResultsService
return $this->scaleResults($slide) + [
'private' => $slide->isPrivate(),
'comments' => $comments,
'commentInterval' => (int)$slide->setting('comment_interval'),
];
}