clone

a browser grid puzzle game where you push words around to rewrite the rules of each level

main
miau-is-true / openspec / changes / archive / 2026-09-24-fix-gift-card-layout / proposal.md
proposal.md 1.2K source

Why

The shared-pack Gift preview can let its board and metadata occupy the same vertical space as the action buttons on desktop cards. The card needs a deterministic layout contract before the next browser refresh so KEEP AND PLAY, NOT NOW, and collision actions remain visible and clickable at every supported viewport.

What Changes

  • Reserve a distinct action region in the Gift card so preview content cannot overlap action buttons.
  • Keep the preview board, title, author, level count, and first-level metadata inside bounded content regions on desktop and mobile.
  • Preserve minimum pointer hit targets, keyboard selection order, safe viewport margins, and collision-mode actions.
  • Add canvas and browser regression coverage for desktop, narrow mobile, reduced-motion, and shared URL Gift entry.

Capabilities

New Capabilities

None.

Modified Capabilities

  • game-stage: strengthen the Gift preview layout and interaction contract for desktop and mobile card placement.

Impact

  • Affected presentation code: src/scenes/gift.js and its stage integration.
  • Affected tests: Gift scene unit coverage and browser share-flow checks.
  • No engine, pack schema, URL format, or installation behavior changes.