Commit Graph
103 Commits
Author SHA1 Message Date
gnilebeinandClaude Sonnet 5.5 27771e7470 Add an optional countdown to every slide that collects answers
CI / Deploy / PHP 8.4 (push) Successful in 1m18s
CI / Deploy / PHP 8.5 (push) Successful in 1m29s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Choice, word cloud, open question, scale and ordering slides get a time
limit like the quiz. With a limit the slide waits ("ready") showing only
the question; next starts the countdown, the next one ends it, the third
moves on. Stage results and the ordering solution are withheld until the
countdown has started. The countdown music plays during any countdown.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 12:18:33 +01:00
gnilebein 722e845cff Merge pull request 'Use a compact image-style dropzone for the countdown audio upload' (#120) from feature/quiz-audio into main
CI / Deploy / PHP 8.5 (push) Successful in 1m37s
CI / Deploy / PHP 8.4 (push) Successful in 1m37s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Successful in 5s
Reviewed-on: #120
2026-11-21 11:52:22 +01:00
gnilebeinandClaude Sonnet 5.5 0dfbf1d04a Use a compact image-style dropzone for the countdown audio upload
CI / Deploy / PHP 8.4 (push) Successful in 1m16s
CI / Deploy / PHP 8.5 (push) Successful in 1m24s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 11:50:10 +01:00
gnilebein 918270540f Merge pull request 'Add countdown audio per presentation' (#117) from feature/quiz-audio into main
CI / Deploy / PHP 8.4 (push) Successful in 1m16s
CI / Deploy / PHP 8.5 (push) Successful in 1m34s
CI / Deploy / test (push) Successful in 2s
CI / Deploy / deploy (push) Successful in 7s
Reviewed-on: #117
2026-11-21 11:46:28 +01:00
gnilebeinandClaude Sonnet 5.5 a16aff6b88 Use B (break) as pause key in the presenter view
CI / Deploy / PHP 8.5 (push) Successful in 1m16s
CI / Deploy / PHP 8.4 (push) Successful in 1m58s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
P keeps working as an alias.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 11:42:35 +01:00
gnilebeinandClaude Sonnet 5.5 bf9f86d24a Accept arrow up/down for slide navigation in the presenter view
CI / Deploy / PHP 8.5 (push) Successful in 1m36s
CI / Deploy / PHP 8.4 (push) Successful in 1m37s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Presenter remotes often send ArrowUp/ArrowDown instead of left/right.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 11:37:37 +01:00
gnilebeinandClaude Sonnet 5.5 2f7a401522 Add countdown audio per presentation
CI / Deploy / PHP 8.4 (push) Failing after 1m18s
CI / Deploy / PHP 8.5 (push) Failing after 2m4s
CI / Deploy / test (push) Failing after 1s
CI / Deploy / deploy (push) Skipped
One audio file per poll (MP3, M4A, OGG, WAV) is uploaded in the admin
settings and looped in the presenter view while a quiz runs. Format is
detected by magic bytes, files are served with a fixed content type,
copied with the poll and swept by images_cleanup.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 11:36:01 +01:00
gnilebeinandClaude Sonnet 5.5 76d8311e50 Move embed and clone sections into the settings card
CI / Deploy / PHP 8.4 (push) Successful in 1m19s
CI / Deploy / PHP 8.5 (push) Successful in 1m26s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-20 11:10:43 +01:00
gnilebeinandClaude Sonnet 5.5 bd57f23be6 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>
2026-11-20 10:57:33 +01:00
gnilebeinandClaude Sonnet 5.5 945fc94e77 Add PNG download for the participant QR code in the admin
CI / Deploy / PHP 8.5 (push) Successful in 1m33s
CI / Deploy / PHP 8.4 (push) Successful in 1m13s
CI / Deploy / test (push) Successful in 2s
CI / Deploy / deploy (push) Skipped
A button appears on hover/focus over the QR code (always visible on
touch devices) and saves it as a 1024px PNG, rendered client-side from
the SVG via canvas. No new dependency or server image library needed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:19:58 +01:00
gnilebeinandClaude Sonnet 5.5 c6a92e347f Redesign the image section of the slide form
Show a dropzone (with drag and drop) while a slide has no image and a
row with preview, replace and remove buttons otherwise. A newly chosen
file is previewed right away. Placement is picked from tiles with a
small sketch instead of long radio labels, technical details move into
a collapsible help. The section gets full-width dividers, and the modal
a slim scrollbar.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 14:21:27 +01:00
gnilebeinandClaude Sonnet 5.5 0aac113f30 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>
2026-11-17 09:15:49 +01:00
gnilebeinandClaude Sonnet 5.5 2c0b8d2216 Make the admin sidebar cards collapsible
CI / Deploy / PHP 8.5 (push) Successful in 1m9s
CI / Deploy / PHP 8.4 (push) Successful in 1m17s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Participation and settings are open by default, the rest is closed.
Anchor links like #export open their card.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:45:03 +01:00
gnilebeinandClaude Sonnet 5.5 74b69f3c9a Never load the YouTube player in the speaker view
CI / Deploy / PHP 8.4 (push) Successful in 1m17s
CI / Deploy / PHP 8.5 (push) Successful in 1m18s
CI / Deploy / test (push) Successful in 2s
CI / Deploy / deploy (push) Skipped
Avoids hearing the video twice next to the presentation window.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:32:05 +01:00
gnilebeinandClaude Sonnet 5.5 99fcfec165 Separate current and next slide visibly in the speaker view
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:32:04 +01:00
gnilebeinandClaude Sonnet 5.5 fc28d158cb Keep the present menu button at normal height
CI / Deploy / PHP 8.4 (push) Successful in 1m12s
CI / Deploy / PHP 8.5 (push) Successful in 1m21s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Enlarge only the arrow glyph, not the button.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:20:42 +01:00
gnilebeinandClaude Sonnet 5.5 9d682fa0a3 Make the arrow of the present menu larger
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:19:39 +01:00
gnilebeinandClaude Sonnet 5.5 b61bf34a1b Open the speaker view from a menu next to the present button
Replace the separate button by a split button: "Präsentieren" with a
dropdown that holds the speaker view entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 19:19:06 +01:00
gnilebeinandClaude Sonnet 5.5 66ed198f87 Add a speaker view with a next-slide preview and keep the live slide in view
CI / Deploy / PHP 8.4 (push) Successful in 1m11s
CI / Deploy / PHP 8.5 (push) Successful in 1m13s
CI / Deploy / test (push) Successful in 2s
CI / Deploy / deploy (push) Skipped
- New /admin/{token}/speaker page for a second window: current slide, preview of
  the next slide and the usual controls. It does not start the presentation.
- The presenter state gets `next` (labels only, no solutions).
- The dashboard scrolls the live slide into view when the presenter moves on.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 15:43:49 +01:00
gnilebeinandClaude Sonnet 5.5 82b352c053 Use the logo as favicon
CI / Deploy / PHP 8.5 (push) Successful in 1m5s
CI / Deploy / PHP 8.4 (push) Successful in 1m11s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
favicon.svg, favicon.ico (16/32/48) and apple-touch-icon.png, generated
from the same geometry as .brand__mark (resources/favicon/generate.php).
Linked from all layouts via one element.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 14:02:21 +01:00
gnilebeinandClaude Sonnet 5.5 8522918c75 Use a trash button to remove a slide image
CI / Deploy / PHP 8.4 (push) Successful in 1m35s
CI / Deploy / PHP 8.5 (push) Successful in 1m35s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
With JavaScript the "remove image" checkbox is replaced by a button with a
trash icon that toggles the same checkbox, dims the preview and announces
the pending removal. Without JavaScript the checkbox still works.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 13:54:13 +01:00
gnilebeinandClaude Sonnet 5.5 a395b50894 Add optional images to slides
CI / Deploy / PHP 8.4 (push) Successful in 1m10s
CI / Deploy / PHP 8.5 (push) Successful in 1m16s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Slides (except YouTube) can carry one image. Uploads are validated, rotated
by EXIF orientation, scaled to 1600 px and stored as WebP outside webroot,
which also strips camera metadata. Images have an alt text (or are marked
decorative) and a layout: top, side or full screen (content slides).

Files are removed after the commit when a slide is deleted or its image is
replaced, with the poll, and `bin/cake images_cleanup` sweeps leftovers.
Duplicated slides get their own file. Docker image gains gd with WebP.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 23:17:37 +01:00
gnilebeinandClaude Sonnet 5.5 8c7818ee40 Let the dashboard follow the presenter
CI / Deploy / PHP 8.4 (push) Successful in 1m12s
CI / Deploy / PHP 8.5 (push) Successful in 1m13s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
The live marker in the slide list stayed on the last known slide when the
presenter moved on in another window or with a clicker. The dashboard now
polls a cheap version fingerprint (admin:live) and reloads the lists when it
changes, but never under an open dialog, a pending request or a drag.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 12:19:12 +01:00
gnilebeinandClaude Sonnet 5.5 61718ed7c6 Add optional comment field to multiple choice slides
CI / Deploy / PHP 8.4 (push) Successful in 1m11s
CI / Deploy / PHP 8.5 (push) Successful in 1m11s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Participants can justify their choice; the comment is stored once in the
first response row, rotates on the stage like scale comments and is listed
in the admin area and the PDF export.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 09:29:25 +01:00
gnilebeinandClaude Sonnet 5.5 28bfd535f4 Hide quiz answer options on stage until the quiz starts
CI / Deploy / PHP 8.4 (push) Successful in 1m16s
CI / Deploy / PHP 8.5 (push) Successful in 1m17s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 08:33:56 +01:00
gnilebeinandClaude Sonnet 5.5 77d0bfb547 Fix dashboard buttons posting to the wrong URL
CI / Deploy / PHP 8.4 (push) Successful in 1m4s
CI / Deploy / PHP 8.5 (push) Successful in 1m5s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Forms with a field named "action" (play, pause) shadow the form.action
property, so the fragment request went to /admin/[object HTMLInputElement].
Read the attribute instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 22:42:03 +01:00
gnilebeinandClaude Sonnet 5.5 22988f7e69 Move theme switch into brand row and center nav links on phones
CI / Deploy / test (push) Successful in 1m2s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 10:08:57 +01:00
gnilebeinandClaude Sonnet 5.5 31df730374 Expand README and add repository link and name explanation to the site
CI / Deploy / test (push) Successful in 1m0s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 00:06:11 +01:00
gnilebeinandClaude Sonnet 5.5 575fb8649d Make Q&A upvote budget a share of the questions
CI / Deploy / test (push) Successful in 58s
CI / Deploy / deploy (push) Skipped
The fixed number of votes per person does not fit varying question
counts. The budget is now `upvote_share` percent of the questions
(rounded up, at least one), so it grows with the number of questions.
A migration converts existing Q&A slides (no voting stays off, others
get 25 %).

On the stage the voting step no longer lists the questions but points
participants to their devices.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 23:53:32 +01:00
gnilebeinandClaude Sonnet 5.5 cae11c4f40 Move screen tools to header as icon buttons
CI / Deploy / test (push) Successful in 1m2s
CI / Deploy / deploy (push) Skipped
Fullscreen and keep-awake sit next to the theme switch (layout block
headerTools), icon only with aria-label/title.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 22:52:06 +01:00
gnilebeinandClaude Sonnet 5.5 9aee2f1071 Merge origin/main into feature/participant-screen-tools
CI / Deploy / test (push) Successful in 55s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 22:43:56 +01:00
gnilebeinandClaude Sonnet 5.5 1c6b507840 Add fullscreen and keep-awake to participant view
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped
Wake lock is on by default and restored after slide reloads; fullscreen
is a manual toggle. Buttons stay hidden where the APIs are unsupported.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 22:40:49 +01:00
gnilebein 2c8b162537 Merge pull request 'Place the dialog close button on the outer corner' (#58) from feature/hide-slides into main
CI / Deploy / test (push) Successful in 56s
CI / Deploy / deploy (push) Successful in 5s
Reviewed-on: #58
2026-11-11 20:36:57 +01:00
gnilebeinandClaude Sonnet 5.5 fcf52923a7 Place the dialog close button on the outer corner
CI / Deploy / test (push) Successful in 1m3s
CI / Deploy / deploy (push) Skipped
The close button no longer covers form fields: the dialog does not
scroll itself, an inner panel does, and the button sits on the corner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 20:35:51 +01:00
gnilebein 0294744281 Merge pull request 'Update slide list and edit slide form without page reloads' (#57) from feature/hide-slides into main
CI / Deploy / test (push) Successful in 58s
CI / Deploy / deploy (push) Successful in 6s
Reviewed-on: #57
2026-11-11 20:29:04 +01:00
gnilebeinandClaude Sonnet 5.5 b643072c3c Update slide list and edit slide form without page reloads
CI / Deploy / test (push) Successful in 58s
CI / Deploy / deploy (push) Skipped
Slide list actions (hide, delete, reset, duplicate, go live, pause) now run
via fetch and refresh only the changed regions, keeping scroll position and
focus. Add/edit slide forms open in a dialog. Admin pages answer with a
slim fragment layout when the X-Fragment header is sent.

Replace postLink confirms (inline onclick, blocked by the CSP) with
postButton and data-confirm handled in plenario.js.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 20:28:03 +01:00
gnilebein b586e58d70 Merge pull request 'Use icon buttons in own row for slide actions' (#56) from feature/hide-slides into main
CI / Deploy / test (push) Successful in 1m3s
CI / Deploy / deploy (push) Successful in 7s
Reviewed-on: #56
2026-11-11 18:12:20 +01:00
gnilebeinandClaude Sonnet 5.5 9262a57c17 Use icon buttons in own row for slide actions
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 18:11:10 +01:00
gnilebein aefaaba086 Merge pull request 'Feature/hide slides' (#55) from feature/hide-slides into main
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Successful in 8s
Reviewed-on: #55
2026-11-11 17:00:21 +01:00
gnilebeinandClaude Opus 5.5 3c978e6f22 Add hiding slides from the presentation
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped
Hidden slides stay prepared in the dashboard but are skipped when
presenting (start, next/prev, goto), can not go live via embed and are
left out of the PDF export. Hiding the live or paused slide pauses the
poll like deleting it and resumes with the next visible slide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:25:41 +01:00
gnilebeinandClaude Opus 5.5 9535731612 Center Q&A voting controls on phones
CI / Deploy / test (push) Successful in 54s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:07:10 +01:00
gnilebeinandClaude Opus 5.5 759e15390e Hide Q&A upvote counts until voting ends
CI / Deploy / test (push) Successful in 1m0s
CI / Deploy / deploy (push) Skipped
A live ranking on the stage swayed the vote. During the vote stage the
presenter now gets the questions in submission order without counts,
only the total of votes cast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:05:09 +01:00
gnilebeinandClaude Opus 5.5 891e3cb174 Put Q&A voting controls below the question on phones
CI / Deploy / test (push) Successful in 55s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:01:36 +01:00
gnilebeinandClaude Opus 5.5 0028716f86 Put own Q&A question actions below the text
CI / Deploy / test (push) Successful in 58s
CI / Deploy / deploy (push) Skipped
On narrow screens the edit/delete buttons squeezed the question text
into a one-character column.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:54:06 +01:00
gnilebeinandClaude Opus 5.5 8d3d8d4341 Format slide texts in WhatsApp style
CI / Deploy / test (push) Successful in 1m9s
CI / Deploy / deploy (push) Skipped
Slide descriptions support *bold*, _italic_, ~strikethrough~ and lists
with "- " or "* " at the start of a line. FormatHelper renders them for
the participant page and the PDF (escaping everything else), Format in
plenario.js builds the same DOM for presenter and embed. Participant
input stays plain text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:23:10 +01:00
gnilebeinandClaude Opus 5.5 7a378a0bc5 Run the comment progress around the border of the box
CI / Deploy / test (push) Successful in 1m5s
CI / Deploy / deploy (push) Skipped
Two lines start at opposite corners (top left along the top, bottom right
along the bottom) and meet when the next comment is due. Drawn as an SVG
outline with pathLength 100 and a dash pattern repeating every half
perimeter, so it follows the rounded corners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:03:12 +01:00
gnilebeinandClaude Opus 5.5 12b10121ec Use the bottom edge of the comment box as progress bar
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Skipped
The progress until the next comment no longer takes a row of its own;
it runs along the bottom edge of the box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:00:43 +01:00
gnilebeinandClaude Opus 5.5 0660affb56 Show the rating above the comment text
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped
The rating has the same height for every comment, so above the text it
stays in place while the comments rotate; only the text changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:59:40 +01:00
gnilebeinandClaude Opus 5.5 b5ea4e70c8 Shrink long comments instead of growing the comment box
CI / Deploy / test (push) Successful in 1m0s
CI / Deploy / deploy (push) Skipped
The comment box is capped at about five lines (--comment-max). A comment
that does not fit is set smaller step by step (Comments.fit(), also on
resize) instead of being cut off or pushing the slide off screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:55:48 +01:00
gnilebeinandClaude Opus 5.5 bbe3dfcc8e Keep the comment box as tall as the longest comment
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Skipped
The stage centres its content vertically, so a multi-line comment moved
the whole slide while the comments rotated. All comments now share one
grid cell (the others invisible), so the box keeps the height of the
longest one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:51:28 +01:00