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
View File
@@ -158,6 +158,7 @@ class SlidesTable extends Table
$settings['max_label'] = mb_substr(trim((string)($input['max_label'] ?? '')), 0, 60);
$settings['private'] = filter_var($input['private'] ?? false, FILTER_VALIDATE_BOOLEAN);
$settings['comments'] = filter_var($input['comments'] ?? false, FILTER_VALIDATE_BOOLEAN);
$settings['comment_ratings'] = filter_var($input['comment_ratings'] ?? false, FILTER_VALIDATE_BOOLEAN);
break;
case Slide::TYPE_QUIZ:
$limit = (int)($input['time_limit'] ?? $settings['time_limit']);