Files
pdfcraft/crates
alehelandClaude Opus 5.5 aef301d82a Merge main: the router is on main through #5426; one Page presses guard
#5426 merged this branch at 11bc8c56, so only the two guard commits are
left here. #5426 also added its own guard for the "Page presses" rule
(`page_modules_take_presses_from_the_router_without_repeating_hit_tests`),
which conflicted with them in `page_pointer/tests.rs` and CLAUDE.md.

Resolved as one test, `page_modules_act_on_a_press_only_through_the_router`:
- kept from main: the seven press handlers must read `view.router.owner`
  and test no point of their own (the form field's two pointer checks
  pinned to `p`), and that check's unit test;
- replaced: main's "module hit test called by path only in
  `PageHits::at`" list, by HIT_TESTERS, which also covers bare calls and
  `…_hit` and says why each caller may;
- covered: main's `router.press` check, by ROUTER_WRITERS.
CLAUDE.md's "Page presses" line names the merged test.

Seen failing on main's code with a bare hit call put into comment hover
and with `select_input` reading the owner without `router.owner(`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:10:21 +01:00
..
2026-10-27 00:34:32 +00:00
…