Commit Graph

5 Commits

Author SHA1 Message Date
Calic
07f7967543 test: chromeless + modal-swallow coverage
Adds assertions verifying:
- chromeless=true widget click at top-right reaches widget (no
  phantom close-button intercept).
- top-tier input_block=all modal swallows outside-clicks before
  reaching normal-tier widgets behind it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-15 02:43:50 +02:00
Calic
07f55c6412 test: v0.3.0 z_tier + persistent + input_block assertions
Add 25 new W.2 assertions covering panel v0.3.0 features:
- persistent flag auto-opens at register-time
- z_tier render-order hud->normal->top
- within-tier open-order preserved
- input_block='none' passes through (no handler call)
- input_block='self' hit-tests within bounds
- input_block='all' swallows outside-clicks (modal block)
- persistent + close() no-op when focused is persistent
- close(id) explicit DOES close persistent
- Loud-Error on unknown z_tier
- Loud-Error on unknown input_block
- default input_block per tier (hud=none, normal=self, top=all)
- point_in_any_panel public API

Total: 79 assertions pass. Manifest bumped to 0.3.0 + panel-dep to 0.3.0.
2026-06-15 02:25:52 +02:00
Calic
ce46125435 test: v0.2.0 multi-active + layout-slot assertions
Add 42 new assertions covering: bw-compat register without opts,
multi-active open(A)+open(B) leaving both open, per-id close(id),
bw-compat close()/is_open() operating on the focused panel, layout-
slot resolution (left-half / right-half / center default / custom-fn),
Loud-Error on unknown slot name, hit-test dispatch against window
bounds with reverse open-order, is_pausing scanning all open windows.

Existing 12 baseline assertions retained and still pass via the bw-
compat shim. Total 54 pass / 0 fail.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-15 01:46:35 +02:00
Calic
86d57863cc chore: bump lib-core.panel dep to 0.1.1 2026-06-14 02:22:51 +02:00
Calic
ebb4d8132f initial: panel-test v0.1.0 — 10 assertions 2026-06-13 23:09:50 +02:00