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
View File
@@ -140,7 +140,6 @@ class SlidesTable extends Table
$settings['multiple'] = filter_var($input['multiple'] ?? false, FILTER_VALIDATE_BOOLEAN);
break;
case Slide::TYPE_WORDCLOUD:
$settings['max_words'] = max(0, min(50, (int)($input['max_words'] ?? 0)));
$settings['allow_upvotes'] = filter_var($input['allow_upvotes'] ?? true, FILTER_VALIDATE_BOOLEAN);
$settings['allow_downvotes'] = filter_var($input['allow_downvotes'] ?? true, FILTER_VALIDATE_BOOLEAN);
break;