fix: pin card instances to configured spaces

Issue: #210
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-08-20 01:38:01 +03:00
parent b89456ca81
commit 6063eead10
22 changed files with 1196 additions and 603 deletions
+11
View File
@@ -81,6 +81,17 @@ export const MUTANTS = [
replace: ' if (this._norm) {',
}],
},
{
id: 'fixed-floor-transition-guard-bypassed',
guard: 'node demo/smoke_fixed_floor.mjs',
because: 'a fixed card must reject tabs and every internal active-space mutation instead of '
+ 'showing another floor after the initial resolver selected the configured one',
patches: [{
file: 'src/houseplan-card.ts',
find: ' if (authority || !this._hasFixedFloor) return true;',
replace: ' if (authority || this._hasFixedFloor) return true;',
}],
},
{
id: 'empty-space-cleanup-disabled',
guard: 'node demo/smoke_optional_space_model.mjs',