Replace CSV export with PDF export
The results export is now a PDF (Dompdf) with all interactive slides. By default private slides (anonymous/internal feedback) only show their number of participants; ?internal=1 creates the complete version incl. their answers, marked as confidential on every page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5cd1be1cf8
commit
d1facd32a6
21 files changed
+1102
-110
No files matched your search
@@ -134,10 +134,8 @@ class QaSlideTest extends TestCase
|
||||
$state = $this->control($token, ['action' => 'next']);
|
||||
$this->assertSame($next->id, $state['slide']['id']);
|
||||
|
||||
$this->get("/admin/$token/export.csv");
|
||||
$this->assertResponseOk();
|
||||
$this->assertResponseContains('Upvote: Andere Frage');
|
||||
$this->assertResponseContains('Meine Frage');
|
||||
$html = $this->exportHtml($token);
|
||||
$this->assertMatchesRegularExpression('/Andere Frage.*Meine Frage/s', $html, 'ranked by upvotes');
|
||||
}
|
||||
|
||||
public function testResetStartsOver(): void
|
||||
|
||||
Reference in new issue
Block a user