Skip to content

Eraser frees the one-name stamp, clearer Send worksheet label, to-dos, class worksheets - #64

Merged
BPMData merged 8 commits into
mainfrom
ccr-af6d6b3e-lhvzff
Nov 24, 2026
Merged

BPMData merged 8 commits into
mainfrom
ccr-af6d6b3e-lhvzff

Conversation

@BPMData

@BPMData BPMData commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • Bug fix: erasing a name stamp now frees it in one-name-stamp mode. The eraser only covered the stamp with eraser ink, so the stamp still existed: the student couldn't stamp again, and corner mode still counted the hidden stamp. Now an eraser stroke that touches the user's own stamps deletes them (stampsHitByEraser in src/lib/inkCore.ts, called on pen-up in Canvas.tsx). One undo brings back both the stamp and the eraser stroke.
  • Send worksheet… label: "Rotate A → B → C → D by board name" now reads "Deal out A, B, C, D in turn (alphabetical by student)". Text only. The e2e test that looked for the old label is updated.
  • TODO.md:
    • Set up worksheet variants (A–D) before class on a prepared round, and make a sent distribution editable.
    • Everything set up ahead of time must round-trip through .allaboard lesson packs.
    • Classroom simulator (npm run classroom) with fake students, including launch steps and safety limits.
    • A real eraser that removes or trims objects instead of adding eraser strokes.
  • thanksgiving-bug-bingo/: class worksheets plus the script that generates them. Not app code. It may be moved out of the repo later.

Checks

  • npm run lint passes
  • npm test: 279 pass (5 new unit tests for stampsHitByEraser)
  • npm run test:e2e: 71 pass. That includes a new test, "erasing the stamp with the eraser frees it too", which fails without the fix.
  • node -e "import('./server.ts')…" prints OK

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ad4FSbXHdY4h3fr2wiRJpW

…itable variants

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSbXHdY4h3fr2wiRJpW
…or a real eraser

Erasing a name stamp only covered it with eraser ink, so one-name-stamp mode
still saw the stamp and refused a new one (and corner mode still counted it).
Now an eraser stroke that touches the user's own stamps removes them; one undo
restores both. Adds unit tests and an e2e test that fails without the fix.
Also updates the Send worksheet e2e test for the renamed distribution label.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSbXHdY4h3fr2wiRJpW
@BPMData BPMData changed the title Clearer Send worksheet label, to-do for pre-class variants, class worksheets Eraser frees the one-name stamp, clearer Send worksheet label, to-dos, class worksheets Nov 24, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ad4FSbXHdY4h3fr2wiRJpW
@BPMData
BPMData merged commit ddf24d1 into main Nov 24, 2026
2 checks passed
@BPMData
BPMData deleted the ccr-af6d6b3e-lhvzff branch November 24, 2026 15:18
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.

2 participants