Add admin menu drawer and poll cloning, drop participant screen tools
CI / Deploy / PHP 8.5 (push) Successful in 1m51s
CI / Deploy / PHP 8.4 (push) Successful in 1m51s
CI / Deploy / test (push) Successful in 2s
CI / Deploy / deploy (push) Skipped

- Remove fullscreen and wake lock buttons from the participant view.
- Turn the admin sidebar into a drawer below 900px, opened from a header
  menu button next to the theme switch (progressive enhancement).
- Add "Umfrage kopieren": clone a poll with all slides, options and images
  but without responses, with its own join code and admin link.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-20 10:57:33 +01:00
1 parent 0f91377de3
commit bd57f23be6
15 files changed
+374 -138

No files matched your search

+8
View File
@@ -56,6 +56,14 @@ Kein WebSocket: Presenter (`/admin/{token}/state`) und Teilnehmende (`/p/{code}/
(`Slide::startFresh()`: Quiz `ready`, Q&A `collect`, sonst offen) – auch `add()` nutzt `startFresh()`.
Tests: `DuplicateSlideTest.php`.
## Ganze Umfrage kopieren
- **Umfrage kopieren** (`admin:clone`, POST, Karte in der Verwaltung; `PollsTable::clonePoll()` + `SlidesTable::copyAllToPoll()`):
neue Umfrage „… (Kopie)“ mit gleicher E-Mail, `comment_speed`, allen Folien (Einstellungen, Optionen inkl. richtiger Antworten,
Ausblenden-Flag, Bilder als eigene Dateien) – **ohne Antworten**, nicht gestartet, mit neuem Code und neuem Admin-Link.
Der Link geht wie beim Anlegen per Mail an den Besitzer, danach Weiterleitung zur Verwaltung der Kopie. Alles in einer Transaktion,
bei Fehlern werden kopierte Bilddateien wieder gelöscht. Nutzt das Throttle-Bucket `create`.
## Einbettung
- **Einbettung** (`/e/{key}/{id}`, `EmbedController`): eigener `embed_key` statt Admin-Token (darf nur diese Folie zeigen,