Merge pull request 'Drop the comment interval setting' (#40) from feature/comment-auto-interval into main
CI / Deploy / test (push) Successful in 55s
CI / Deploy / deploy (push) Successful in 7s

Reviewed-on: #40
This commit was merged in pull request #40.
This commit is contained in:
gnilebein committed 2026-11-09 14:25:07 +01:00
commit c6567b5e28
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())
@@ -336,7 +335,6 @@ class ResultsService
return $this->scaleResults($slide) + [
'private' => $slide->isPrivate(),
'comments' => $comments,
'commentInterval' => (int)$slide->setting('comment_interval'),
];
}