mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
feat: warn on the dock when a moving robot has no floor to draw on
User-Visible: yes Issue: #162
This commit is contained in:
@@ -342,6 +342,18 @@ const MUTANT_DEFINITIONS = [
|
||||
replace: ' if False:',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'vacuum-route-warning-stays-silent',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
+ '&& node --test test/vacuum-routes.test.mjs',
|
||||
because: 'a moving robot that is drawn nowhere must say so on the dock: silence reads as '
|
||||
+ '"not cleaning", and the user cannot discover an unassigned map (#162)',
|
||||
patches: [{
|
||||
file: 'src/vacuum-routes.ts',
|
||||
find: " case 'unmapped': case 'needs_calibration': case 'ambiguous': case 'missing_space':\n return resolution.kind;",
|
||||
replace: " case 'нет такого':\n return resolution.kind as any;",
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'area-snapshot-cleanup-ignores-authority',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
|
||||
Reference in New Issue
Block a user