Commit Graph
63 Commits
Author SHA1 Message Date
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 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 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 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
gnilebeinandClaude Opus 5.5 b3c80ab79f Show scale results as average next to a donut chart
CI / Deploy / test (push) Successful in 1m8s
CI / Deploy / deploy (push) Skipped
Average and distribution now sit side by side: a big average figure with
its gauge or stars, and the distribution as a donut (CSS conic-gradient,
shades of one colour, legend with percent and count). A single dropdown
setting scale_view (both, average only, chart only) replaces the two
checkboxes; a single part is centred.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:38:58 +01:00
gnilebeinandClaude Opus 5.5 bf16ac0d3b Let scale slides hide the average or the distribution on stage
The average is now the headline of a scale result and the distribution a
compact detail below it. Two new settings (show_average, show_distribution)
hide either part in the presentation; evaluation and PDF stay complete.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:29:35 +01:00
gnilebeinandClaude Opus 5.5 239599e6a3 Let the number of stars use the full width
CI / Deploy / test (push) Successful in 56s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:11:55 +01:00
gnilebeinandClaude Opus 5.5 fa15a45eb2 Keep scale labels in place when switching to stars
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:08:37 +01:00
gnilebeinandClaude Opus 5.5 c1f9be2eef Add a star rating style to scale slides
Scales can now be shown as stars (1 to n) instead of numbered steps:
participants tap stars, the stage shows the average as partly filled
stars and the distribution as bars from most to fewest stars, and the
evaluation page and PDF export print ratings as stars.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:46:33 +01:00
gnilebeinandClaude Opus 5.5 ad5223906c Let participants withdraw their own word cloud terms
CI / Deploy / test (push) Successful in 59s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:07:44 +01:00
gnilebeinandClaude Opus 5.5 3a8962976e Let participants edit or delete their Q&A questions while collecting
CI / Deploy / test (push) Successful in 56s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:02:59 +01:00
gnilebeinandClaude Opus 5.5 d518b7a37e Let participants edit their scale comment while voting is open
Participants can fix typos in, add or remove their own comment until the
voting closes. The rating itself stays unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:40:24 +01:00
gnilebeinandClaude Opus 5.5 7b97ad0fca Show only the status above the question on stage
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Skipped
The slide type above the question told the room nothing useful. The line
now shows only a status (quiz phase, Q&A stage, solution, voting closed,
pause) and is hidden otherwise. typeLabel is dropped from the state JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 15:01:07 +01:00
gnilebeinandClaude Opus 5.5 cfb445123e Keep results off participant devices
CI / Deploy / test (push) Successful in 1m9s
CI / Deploy / deploy (push) Skipped
Results belong on the stage. Participants only get results where they
interact with them (word cloud with upvotes) and, once resolved, the
solution of quiz and ordering slides with their own verdict, without
counts or distribution. Removes the per-poll setting
show_results_to_participants (column stays unused).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:02:36 +01:00
gnilebeinandClaude Opus 5.5 d1facd32a6 Replace CSV export with PDF export
CI / Deploy / test (push) Successful in 53s
CI / Deploy / deploy (push) Skipped
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>
2026-11-08 19:21:10 +01:00
gnilebeinandClaude Opus 5.5 3e09906830 Lower scale columns on the stage
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 18:31:32 +01:00
gnilebeinandClaude Opus 5.5 2f5ac533c1 Make rating next to scale comments optional, compact average row
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Skipped
- New scale setting comment_ratings: the rating is only shown next to a
  comment in the presentation (and sent in the state) when enabled.
- Smaller average figure and gauge on the stage so the chart and the
  comments get more room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 16:49:22 +01:00
gnilebeinandClaude Opus 5.5 9b879ca177 Enlarge poll title on participant page
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:52:55 +01:00
gnilebeinandClaude Opus 5.5 238797ecfd Add internal feedback and comments to scale slides
- Setting "private": distribution and average are only shown in the
  admin evaluation page and CSV export, the stage shows just the count.
- Setting "comments": optional comment field for participants; on public
  scales the comments rotate on the results ("Kommentar X von N") with
  previous/next/pause controls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:52:55 +01:00
gnilebein a138425ab0 Merge pull request 'Enlarge participant headings and make theme switch icon-only' (#17) from fix/participant-heading-theme-icon into main
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Successful in 3s
Reviewed-on: #17
2026-11-07 16:49:52 +01:00
gnilebeinandClaude Opus 5.5 1cb439de18 Enlarge participant headings and make theme switch icon-only
CI / Deploy / test (push) Successful in 45s
CI / Deploy / deploy (push) Skipped
The slide heading on the participant page was smaller than a regular h1
on phones. The theme switch now shows only its icon; the current and
next scheme stay available as aria-label and tooltip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:48:59 +01:00
gnilebeinandClaude Opus 5.5 918e077734 Add ordering slide type
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Skipped
Participants bring shuffled items into the correct order and submit it
once. The admin enters the items in the correct order and can reorder
them by drag & drop or arrow keys. Closing the voting reveals the
solution: how many got it completely right and how often each item was
placed correctly; participants see whether their order was right.

The drag & drop mechanics of the slide list are extracted into a
reusable makeSortable() helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:47:37 +01:00
gnilebeinandClaude Opus 5.5 b2bb365637 Highlight IO in the brand wordmark
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Skipped
Sets "IO" in the primary colour so the capital I is not mistaken for
a lowercase l and the input/output pun is visible.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:35:11 +01:00
gnilebeinandClaude Opus 5.5 6c0b7ebf3f Use PlenarIO as product name spelling
Display name in layouts, mails, docs and comments is now "PlenarIO".
Technical identifiers (config keys, JS namespace, file names, cookies,
existing migrations) stay unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:33:15 +01:00
gnilebein 187af50bcf Merge pull request 'List all slide types on the start page' (#14) from fix/home-slide-types into main
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Successful in 3s
Reviewed-on: #14
2026-11-07 16:30:26 +01:00
gnilebeinandClaude Opus 5.5 367ff8548d Add anonymous feedback option for open questions
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped
Open questions can be marked private: the presenter screen and embeds
only show the number of answers, participants never see results, and
the texts are readable on a new admin answers page and in the CSV.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:28:47 +01:00
gnilebeinandClaude Opus 5.5 07a292d109 Add embeddable slides and pause mode
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped
Every slide gets an embed URL /e/{key}/{id} for presentation software
like Canva. The page goes live while it is visible, keeps itself live
with heartbeats and pauses when it disappears; stale embeds are paused
lazily. The embed key is separate from the admin token and only allows
showing, activating, pausing and voting controls of that slide.

Participants see a pause page while no slide is live. The presenter
can pause (P) and resume the paused slide with the arrow keys; the
dashboard has a pause button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:26:05 +01:00