Add Q&A slide type
CI / Deploy / test (push) Successful in 48s
CI / Deploy / deploy (push) Skipped

Participants submit questions, upvote them and the presenter discusses
them one by one, most upvoted first.

- Stages collect -> vote -> discuss, switched manually by the presenter
  (V key or stepper, going back is possible)
- Configurable upvote budget per participant, freely distributable
  (several upvotes on one question are allowed), votes can be withdrawn
- Participants see all questions while collecting to avoid duplicates;
  no counts before the discussion
- While discussing, next/prev step through the questions before
  moving to the next slide
- Migration: slides.stage, slides.focus_response_id, responses.parent_id

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-07 16:09:46 +01:00
1 parent ea944b080f
commit f0c6687100
21 files changed
+1327 -27

No files matched your search

+3
View File
@@ -8,6 +8,7 @@ use Cake\ORM\Entity;
/**
* One answer row of a participant. A multi-select vote or a word cloud entry
* with several words results in several rows with the same participant_hash.
* Q&A: a question is a row with text_value, an upvote a row with parent_id = question id.
*
* @property int $id
* @property int $slide_id
@@ -15,6 +16,7 @@ use Cake\ORM\Entity;
* @property int|null $slide_option_id
* @property string|null $text_value
* @property int|null $numeric_value
* @property int|null $parent_id Q&A upvote: id of the supported question
* @property \Cake\I18n\DateTime $created
*/
class Response extends Entity
@@ -30,6 +32,7 @@ class Response extends Entity
'slide_option_id' => true,
'text_value' => true,
'numeric_value' => true,
'parent_id' => true,
];
/**