feat: add critical settings help content

Add the agreed Party 1 help controls to general, space, marker and device-catalog settings in all four locales, including cold onboarding parity and regression coverage.

Issue: #86
User-Visible: yes
This commit is contained in:
Matysh
2026-08-30 14:48:56 +03:00
parent 802b2dc71b
commit 30c15a070b
39 changed files with 19644 additions and 983 deletions
+11
View File
@@ -105,6 +105,17 @@ function relocateEditorPatch(patch, cardSource, editorSource) {
// `find` обязан встречаться в файле ровно один раз: патч, который ложится «куда
// попало», проверяет не то, что объявлен проверять. Это контролирует --check.
const MUTANT_DEFINITIONS = [
{
id: 'settings-help-party1-placement-removed',
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
+ '&& node --test --test-name-pattern="issue 86 Party 1" test/i18n.test.mjs',
because: 'the critical-settings help inventory must fail when one agreed trigger disappears (#86)',
patches: [{
file: 'src/houseplan-editor-runtime.ts',
find: "this._help('device_inbox.show_hidden.help')",
replace: 'nothing',
}],
},
{
id: 'room-climate-ignores-marker-placement',
guard: 'node demo/smoke_room_climate_placement.mjs',