Make "comment without rating" a choice in a comment dropdown
The scale form replaces the comment checkbox with a dropdown: no comment field, comment with mandatory rating, or comment alone is enough. Existing slides keep their behaviour (rating mandatory). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
dbac9e93c7
commit
b496032604
8 files changed
+49
-18
No files matched your search
@@ -246,6 +246,12 @@ class ParticipateControllerTest extends TestCase
|
||||
$this->goLive($poll, $slide);
|
||||
$this->cookie('plenario_pid', self::PID);
|
||||
$this->get('/p/' . $poll->join_code);
|
||||
$this->assertResponseNotContains('auch nur einen Kommentar');
|
||||
|
||||
$slide = $this->createSlide($poll, Slide::TYPE_SCALE, ['settings' => ['comments' => true, 'comment_only' => true]]);
|
||||
$this->goLive($poll, $slide);
|
||||
$this->cookie('plenario_pid', self::PID);
|
||||
$this->get('/p/' . $poll->join_code);
|
||||
$this->assertResponseContains('auch nur einen Kommentar');
|
||||
$this->assertResponseNotContains('required>');
|
||||
|
||||
|
||||
Reference in new issue
Block a user