feat: add device lifecycle catalog

Issue: #29
User-Visible: yes
This commit is contained in:
Matysh
2026-08-27 23:17:52 +00:00
committed by claude[bot]
parent 024866842c
commit cab8d128bf
34 changed files with 4272 additions and 2669 deletions
+4 -6
View File
@@ -156,14 +156,12 @@ export const MUTANTS = [
{
id: 'device-tombstone-blocks-child-picker',
guard: 'node demo/smoke_binding_picker.mjs',
because: 'a device tombstone must expose an active child in Add when Show entities is on; '
because: 'a device tombstone must expose an active child in the catalog/Add flow when Show entities is on; '
+ 'restoring only the exact device reproduces the user-visible dead end from #262',
patches: [{
file: 'src/houseplan-card.ts',
find: ' if (isRemovedPlanEntity(h, eid, removed)\n'
+ ' && !removedBindings.has(v) && !childOfRemovedDevice) continue;',
replace: ' if (isRemovedPlanEntity(h, eid, removed)\n'
+ ' && !removedBindings.has(v)) continue;',
file: 'src/device-inbox.ts',
find: ' if (isRemovedPlanEntity(h, eid, removed) && !removedBindings.has(value) && !childOfRemovedDevice) continue;',
replace: ' if (isRemovedPlanEntity(h, eid, removed) && !removedBindings.has(value)) continue;',
}],
},
{