Make Q&A upvote budget a share of the questions
CI / Deploy / test (push) Successful in 58s
CI / Deploy / deploy (push) Skipped

The fixed number of votes per person does not fit varying question
counts. The budget is now `upvote_share` percent of the questions
(rounded up, at least one), so it grows with the number of questions.
A migration converts existing Q&A slides (no voting stays off, others
get 25 %).

On the stage the voting step no longer lists the questions but points
participants to their devices.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-11 23:53:32 +01:00
1 parent 3762b880cb
commit 575fb8649d
14 files changed
+171 -76

No files matched your search

+3
View File
@@ -573,6 +573,9 @@ textarea { resize: vertical; }
.qa-focus__nav:empty { display: none; }
.qa-list--compact .qa-item { padding: 8px 12px; }
.qa-summary { color: var(--muted); margin: 0 0 1em; }
.qa-vote-hint { text-align: center; padding: 8vh 16px 4vh; }
.qa-vote-hint__title { margin: 0 0 .3em; font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 800; color: var(--qa); }
.qa-vote-hint__text { margin: 0 auto 1.2em; max-width: 30em; font-size: clamp(1.1rem, 2.6vw, 1.6rem); }
.qa-steps { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: none; }
.qa-steps__step { display: inline-block; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--border); background: transparent; color: var(--muted); font: inherit; font-size: .85em; }
button.qa-steps__step { cursor: pointer; }