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 / tasks.md
tasks.md 1.3K source

1. Gift layout geometry

  • [x] 1.1 Compute Gift card content, preview, metadata, action, and hint regions from the viewport before drawing variable-length content.
  • [x] 1.2 Keep desktop preview content separate from action hit rectangles and keep every action inside the card with safe margins.
  • [x] 1.3 Stack mobile actions in selection order with at least 44 CSS pixels of height and viewport-safe placement.
  • [x] 1.4 Apply the same bounded layout to normal Gift and ALREADY HERE collision actions without changing confirmation semantics.

2. Interaction and regression coverage

  • [x] 2.1 Add scene geometry tests proving desktop preview/action non-overlap, action containment, and distinct hit rectangles.
  • [x] 2.2 Add mobile geometry tests for narrow width, long pack/title text, safe margins, and minimum pointer targets.
  • [x] 2.3 Verify keyboard and pointer actions produce identical keep, later, replace, copy, and cancel results.
  • [x] 2.4 Run browser acceptance for shared URL Gift at desktop and mobile widths, including collision mode, no console errors, and unchanged pack installation behavior.
  • [x] 2.5 Run the full Node suite with rule changes, mod loading, browser controls, and undo coverage still green, then run the production build.
  • [x] 2.6 Obtain designer visual review of the Gift card spacing and presentation.