You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(puzzle-page): document optional PuzzleConfig.image field
Updates docs/puzzle-page.md to match the previous two commits (optional
image field on PuzzleConfig, wired into og:image/twitter:image).
- "How to configure/add a new puzzle" step 1: mentions the new optional
`image` field, that `amuseLabsPuzzle()` doesn't take it (set it
afterwards on the returned object if needed), and that
validatePuzzleConfigs rejects a present-but-empty image.
- "SEO: meta description, Open Graph, Twitter card": documents
buildPuzzlePageMetaData (the new pure function render.puzzlePage.web.tsx
uses) including image, and explicitly states - as a deliberate,
confirmed decision rather than an oversight - that DCR has no site-wide
default/fallback share image anywhere (confirmed against frontend's
MetaData.opengraphProperties/SimplePage, which likewise only add
og:image via explicit per-page overrides, never a default), so an unset
`image` simply omits og:image/twitter:image entirely, matching existing
sitewide behaviour. Also notes none of the 6 current V0 puzzles have a
real image configured yet - a placeholder capability for whenever real,
licensed images are provided, not filled in as part of this change.
No functional/code changes in this commit - documentation only.
tsc --noEmit clean, full-repo eslint clean, full test suite passing
(176 suites / 1280 tests).
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
0 commit comments