Make private slides start with hidden results instead of withholding them
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped

Anonymous/internal feedback now only presets "hide results" on the stage:
presenter and embed get the full results flagged private and can show them
on demand. Participants still never get results of private slides, the
public PDF export strips them via ResultsService::withoutContents().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-08 19:33:52 +01:00
1 parent d1facd32a6
commit ecb8f9d31c
11 files changed
+143 -95

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ $hasInternal = array_filter($slides, fn($slide) => $slide->isInteractive() && $s
<span class="muted">· <?= __('Abstimmung geschlossen, aufgelöst') ?></span>
<?php elseif (!$slide->is_voting_open) : ?><span class="muted">· <?= __('Abstimmung geschlossen') ?></span><?php endif; ?>
<?php if ($slide->hasComments()) : ?><span class="badge" title="<?= __('Teilnehmende können einen Kommentar abgeben') ?>">💬 <?= __('Kommentare') ?></span><?php endif; ?>
<?php if ($slide->isPrivate()) : ?><span class="badge" title="<?= __('Antworten werden nicht öffentlich angezeigt') ?>">🔒 <?= $slide->type === 'scale' ? __('intern') : __('anonym') ?></span><?php endif; ?>
<?php if ($slide->isPrivate()) : ?><span class="badge" title="<?= __('In der Präsentation zunächst verborgen, für Teilnehmende nie sichtbar') ?>">🔒 <?= $slide->type === 'scale' ? __('intern') : __('anonym') ?></span><?php endif; ?>
<?php endif; ?>
</div>
<a class="slide-item__title" href="<?= $this->Url->build($url('slides:edit', ['id' => $slide->id])) ?>"><?= h($slide->question) ?></a>