Remove per-participant word limit from word clouds
CI / Deploy / test (push) Successful in 42s
CI / Deploy / deploy (push) Skipped

Participants can now always submit any number of words. Drops the
max_words setting, its form field, the limit checks in VoteService and
the remaining/limitReached state; existing max_words values in stored
settings are ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-07 14:05:20 +01:00
1 parent 6cc813f87b
commit bd17a97487
10 files changed
+26 -87

No files matched your search

+1 -2
View File
@@ -38,9 +38,8 @@ class Slide extends Entity
*/
public const DEFAULT_SETTINGS = [
self::TYPE_CHOICE => ['multiple' => false],
// max_words: words per participant incl. upvotes (not downvotes), 0 = unlimited;
// allow_downvotes only takes effect together with allow_upvotes
self::TYPE_WORDCLOUD => ['max_words' => 0, 'allow_upvotes' => true, 'allow_downvotes' => true],
self::TYPE_WORDCLOUD => ['allow_upvotes' => true, 'allow_downvotes' => true],
self::TYPE_OPEN => [],
self::TYPE_SCALE => ['scale_min' => 1, 'scale_max' => 5, 'min_label' => '', 'max_label' => ''],
self::TYPE_CONTENT => [],