Add internal feedback and comments to scale slides

- Setting "private": distribution and average are only shown in the
  admin evaluation page and CSV export, the stage shows just the count.
- Setting "comments": optional comment field for participants; on public
  scales the comments rotate on the results ("Kommentar X von N") with
  previous/next/pause controls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-08 15:52:55 +01:00
1 parent a138425ab0
commit 238797ecfd
15 files changed
+665 -23

No files matched your search

+22
View File
@@ -512,6 +512,28 @@ button.qa-steps__step:hover:not(:disabled) { color: var(--text); border-color: v
.answers-page { list-style: none; padding: 0; margin: 0; }
.answers-page li { padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; background: var(--surface); white-space: pre-line; overflow-wrap: anywhere; }
.answers-page time { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.scale-comment { display: block; margin-top: 16px; font-weight: 600; }
.comments { margin-top: 20px; padding: 16px 20px; background: var(--surface-2); border-radius: 14px; }
.comments__counter { margin: 0 0 6px; font-size: .85em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.comments__text { margin: 0; font-size: 1.25em; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.comments__text::before { content: '„'; }
.comments__text::after { content: '“'; }
.comments__value { margin: 6px 0 0; color: var(--muted); font-size: .9em; }
.comments__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.comments__button { min-width: 44px; min-height: 44px; }
@media (prefers-reduced-motion: no-preference) {
.comments__text.is-entering { animation: comment-in .4s ease-out; }
}
@keyframes comment-in {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: none; }
}
.scale-average { font-size: 1.2rem; margin: 0 0 1em; }
.scale-average strong { font-size: 1.6em; font-variant-numeric: tabular-nums; }
.scale-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.scale-table th, .scale-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.scale-table td:last-child { width: 50%; }
.scale-table__bar { display: block; height: 6px; min-width: 2px; margin-bottom: 4px; border-radius: 3px; background: var(--c2); }
/* ---------------------------------------------------------------- presenter */
/* Dark by default (beamer); the presenter's own switch can make it light (data-theme="light"). */