Add personal ranking mode to order slides and show image placement only with an image
CI / Deploy / PHP 8.4 (push) Failing after 1m28s
CI / Deploy / PHP 8.5 (push) Failing after 1m31s
CI / Deploy / test (push) Failing after 2s
CI / Deploy / deploy (push) Skipped

Order slides get a "ranking" setting without a correct solution: the stage shows
the live average ranking, participants only get a confirmation. The image
placement question in the slide form is only shown for an existing image or a
chosen file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-17 09:15:49 +01:00
1 parent 85627b364d
commit 0aac113f30
15 files changed
+239 -15

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ class OrderTest extends TestCase
$state = $this->participantState($poll, 'p1');
$this->assertTrue($state['hasResponded']);
$this->assertNull($state['results']);
$this->assertSame(['revealed' => false, 'answer' => null, 'isCorrect' => null], $state['order']);
$this->assertSame(['ranking' => false, 'revealed' => false, 'answer' => null, 'isCorrect' => null], $state['order']);
}
public function testClosingRevealsResultsToEveryone(): void