Make rating next to scale comments optional, compact average row
- 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:
1 parent
d6166bd9d9
commit
2f5ac533c1
8 files changed
+44
-15
No files matched your search
@@ -386,7 +386,9 @@
|
||||
node.querySelector('[data-comment-counter]').textContent =
|
||||
'Kommentar ' + (Comments.index + 1) + ' von ' + Comments.items.length;
|
||||
text.textContent = item.text;
|
||||
node.querySelector('[data-comment-value]').textContent = 'Bewertung: ' + item.value;
|
||||
var value = node.querySelector('[data-comment-value]');
|
||||
value.textContent = item.value === null || item.value === undefined ? '' : 'Bewertung: ' + item.value;
|
||||
value.hidden = value.textContent === '';
|
||||
// Only announce changes the viewer triggered, not every automatic rotation.
|
||||
node.setAttribute('aria-live', Comments.paused ? 'polite' : 'off');
|
||||
text.classList.remove('is-entering');
|
||||
|
||||
Reference in new issue
Block a user