Make rating next to scale comments optional, compact average row
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Skipped

- New scale setting comment_ratings: the rating is only shown next to a
  comment in the presentation (and sent in the state) when enabled.
- Smaller average figure and gauge on the stage so the chart and the
  comments get more room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-08 16:49:22 +01:00
1 parent d6166bd9d9
commit 2f5ac533c1
8 files changed
+44 -15

No files matched your search

+1 -1
View File
@@ -175,7 +175,7 @@ tests/ PHPUnit; PlenarioTestTrait erzeugt Testdaten, Fixtures
- **Skala-Kommentare** (Setting `comments`, `Slide::hasComments()`): optionales Feld `comment`, gespeichert als `text_value`
in derselben Zeile wie `numeric_value` (ohne Setting wird es ignoriert). Öffentliche Skalen liefern im Presenter-/Embed-State
`results.comments` (Teilnehmende bekommen immer `[]`, `PollStateService::participantResults()`)
(älteste zuerst, je `id`, `text`, `value`); `Comments` in `plenario.js` blättert sie automatisch durch („Kommentar X von N“,
(älteste zuerst, je `id`, `text`, `value` – `value` nur mit Setting `comment_ratings`, sonst `null`); `Comments` in `plenario.js` blättert sie automatisch durch („Kommentar X von N“,
vor/zurück/Pause, Zustand übersteht das Neu-Rendern beim Polling). Bei internem Feedback bleibt `comments` leer,
lesbar nur in der Auswertung (`ResultsService::comments()`) und im CSV-Export.