Allow to disable the extraction of parameters out of part description and notes

Fixes issue #747
This commit is contained in:
Jan Böhmer 2025-09-07 19:55:47 +02:00
parent c7ec8adc31
commit 8ff2fc5a82
3 changed files with 23 additions and 4 deletions

View file

@ -40,4 +40,10 @@ class PartInfoSettings
#[SettingsParameter(label: new TM("settings.behavior.part_info.show_part_image_overlay"), description: new TM("settings.behavior.part_info.show_part_image_overlay.help"),
envVar: "bool:SHOW_PART_IMAGE_OVERLAY", envVarMode: EnvVarMode::OVERWRITE)]
public bool $showPartImageOverlay = true;
}
#[SettingsParameter(label: new TM("settings.behavior.part_info.extract_params_from_description"))]
public bool $extractParamsFromDescription = true;
#[SettingsParameter(label: new TM("settings.behavior.part_info.extract_params_from_notes"))]
public bool $extractParamsFromNotes = true;
}