Skip to content

fix(docs): send presenter state to the page's own origin - #2010

Merged
DEENUU1 merged 1 commit into
mainfrom
fix/deck-presenter-state-origin
Oct 5, 2026
Merged

DEENUU1 merged 1 commit into
mainfrom
fix/deck-presenter-state-origin

Conversation

@DEENUU1

@DEENUU1 DEENUU1 commented Oct 5, 2026

Copy link
Copy Markdown
Member

Summary

The presenter state messages in both presentations now target the page's own origin.

Changes

  • docs/presentation/index.html and docs/presentation/tour/index.html: the slide update the deck sends to the presenter window used postMessage(..., '*'). A presenter window navigated to another origin would still have received the state and speaker notes. It now uses '/', like the hello and go messages.

Raised in review of #2009.

Testing

  • Headless Chromium against both decks served locally, with speaker notes injected: the presenter window opens and follows navigation (its note changes with the slide).
  • No postMessage(..., '*') left in either deck.

The deck posted every slide update to the presenter window with a wildcard target, so a presenter window navigated elsewhere would still receive the state and speaker notes. Both decks now target the page's origin, as the other presenter messages already do.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T22:15:26.132753Z 12719c7 PR opened
🔒 Security Review ✅ Completed 2026-10-05T22:16:16.756133Z 12719c7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@DEENUU1
DEENUU1 merged commit 8a274b1 into main Oct 5, 2026
14 checks passed
@DEENUU1
DEENUU1 deleted the fix/deck-presenter-state-origin branch October 5, 2026 22:20
@DEENUU1 DEENUU1 mentioned this pull request Oct 5, 2026
DEENUU1 added a commit that referenced this pull request Oct 5, 2026
### Summary

Release 0.0.517: version, lock and changelog.

### Changes

- `backend/pyproject.toml`, `frontend/package.json` and
`backend/uv.lock` move to 0.0.517.
- `CHANGELOG.md`: the `[Unreleased]` block becomes `[0.0.517] -
2026-10-05`, with a fresh empty `[Unreleased]` above it.
- Ships #1999 and #2010:
- a new README in four languages, with the 45-second intro film and a
product tour in light and dark;
- two presentations on the documentation site: the 14-slide introduction
at `/presentation/` and the 44-slide tour at `/presentation/tour/`,
restyled, with stack and provider marks;
- the presenter view sends and accepts messages only from the page's own
origin, and writes notes and the slide list as text;
- `make audit-frontend` skips GHSA-vfj7-8cjw-p6xm (braces, no patched
release, lint-time only).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant