mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user