Add prepared questions to Q&A slides

The slide form takes questions entered beforehand (e.g. received by mail),
one per line, while collecting. They are stored as regular questions with a
reserved participant hash, synced idempotently, and not counted as participants.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-12 22:34:12 +01:00
1 parent 76d8bb3170
commit 4b5f9d92a1
7 files changed
+248 -4

No files matched your search

+6
View File
@@ -49,6 +49,12 @@ class VoteService
public const MAX_TEXT_LENGTH = 500;
public const MAX_QA_QUESTIONS = 10;
/**
* participant_hash of questions entered by the admin beforehand (e.g. received by mail).
* Not a hex HMAC, so no participant can ever own, edit or delete them.
*/
public const PREPARED_HASH = 'prepared';
/**
* Word cloud: terms per request and terms a participant may name or upvote per slide.
*/