Make the comment rotation interval configurable
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Skipped

Scale slides get the setting comment_interval (seconds per comment,
one of Slide::COMMENT_INTERVALS, default 8). The presenter state
carries it as results.commentInterval and the rotating comments use it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-08 20:13:49 +01:00
1 parent cfb445123e
commit 2301f91457
7 files changed
+66 -5

No files matched your search

+9
View File
@@ -172,6 +172,15 @@ $optionsError = $slide->getError('options_text');
'checked' => (bool)$settings['comments'],
]) ?>
<p class="hint"><?= __('Die Kommentare laufen in der Präsentation nacheinander durch (nicht bei den Teilnehmenden). Bei internem Feedback erst, wenn du die Ergebnisse einblendest.') ?></p>
<?= $this->Form->control('settings.comment_interval', [
'type' => 'select',
'options' => array_combine(
\App\Model\Entity\Slide::COMMENT_INTERVALS,
array_map(fn(int $s) => __n('{0} Sekunde', '{0} Sekunden', $s, $s), \App\Model\Entity\Slide::COMMENT_INTERVALS),
),
'label' => __('Nächster Kommentar nach'),
'value' => $settings['comment_interval'],
]) ?>
<?= $this->Form->control('settings.comment_ratings', [
'type' => 'checkbox',
'label' => __('Bewertung beim Kommentar in der Präsentation anzeigen'),