mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-30 03:38:47 +00:00
git grep _bindingCandidates -- test/ demo/ was empty: the function that decides what the user is offered under Add had no test and no smoke. Tombstones were covered from every side, the list they filter was never asked. That is how #262 reached us through a user report instead of a gate — smoke_hidden_flag assigns binding straight into _markerDialog and bypasses the picker entirely. Twelve checks against the real bundle: a deleted device is offered again, a deleted plain entity is offered again behind the checkbox, the checkbox itself is the trap (a device entity is absent with it off, present with it on, and it starts off for a new marker), a placed binding is not duplicated, and re-adding replaces the tombstone and leaves the picker. The twelfth pins the known defect #262 as current behaviour: a device tombstone still hides its child entities. Fixing it turns the check red and forces it to be flipped, so the fix cannot pass the coverage by. smoke-links registers only the pure tombstone helpers. The picker names itself and is found by direct match; the helpers are not named anywhere in the scenario. Verified by probe: touching src/devices.ts alone selects this smoke as a registered link, and without the entry nothing would select it. Issue: #263 User-Visible: no