Add anonymous feedback option for open questions
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped

Open questions can be marked private: the presenter screen and embeds
only show the number of answers, participants never see results, and
the texts are readable on a new admin answers page and in the CSV.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-07 16:28:47 +01:00
1 parent 07a292d109
commit 367ff8548d
14 files changed
+310 -12

No files matched your search

+6
View File
@@ -190,7 +190,13 @@ $countdown = function (?int $remaining): string {
<?php elseif ($slide->type === 'open') : ?>
<textarea name="text" rows="4" maxlength="500" required
<?= $slide->isPrivate() ? 'aria-describedby="private-hint"' : '' ?>
placeholder="<?= __('Deine Antwort …') ?>"></textarea>
<?php if ($slide->isPrivate()) : ?>
<p class="hint private-hint" id="private-hint">
🔒 <?= __('Anonymes Feedback: Deine Antwort wird nicht öffentlich angezeigt und nicht mit deinem Namen gespeichert.') ?>
</p>
<?php endif; ?>
<?php elseif ($slide->type === 'scale') : ?>
<div class="scale">