From babad67cea93cd36781385233a402fdd90b66321 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Tue, 3 Feb 2026 09:22:04 -0600 Subject: [PATCH] tweaks --- web/src/components/config-form/section-configs/lpr.ts | 3 +++ web/src/components/config-form/section-configs/motion.ts | 1 - web/src/components/config-form/section-configs/review.ts | 3 +++ .../components/config-form/theme/templates/FieldTemplate.tsx | 4 ++-- web/src/views/settings/SingleSectionPage.tsx | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/web/src/components/config-form/section-configs/lpr.ts b/web/src/components/config-form/section-configs/lpr.ts index 17da1a670..d5f248b26 100644 --- a/web/src/components/config-form/section-configs/lpr.ts +++ b/web/src/components/config-form/section-configs/lpr.ts @@ -3,6 +3,9 @@ import type { SectionConfigOverrides } from "./types"; const lpr: SectionConfigOverrides = { base: { sectionDocs: "/configuration/license_plate_recognition", + fieldDocs: { + enhancement: "/configuration/license_plate_recognition#enhancement", + }, restartRequired: [], fieldOrder: ["enabled", "expire_time", "min_area", "enhancement"], hiddenFields: [], diff --git a/web/src/components/config-form/section-configs/motion.ts b/web/src/components/config-form/section-configs/motion.ts index 74ebdf423..6a276b7cc 100644 --- a/web/src/components/config-form/section-configs/motion.ts +++ b/web/src/components/config-form/section-configs/motion.ts @@ -13,7 +13,6 @@ const motion: SectionConfigOverrides = { "delta_alpha", "frame_alpha", "frame_height", - "mask", "mqtt_off_delay", ], fieldGroups: { diff --git a/web/src/components/config-form/section-configs/review.ts b/web/src/components/config-form/section-configs/review.ts index 24a969143..e1150682f 100644 --- a/web/src/components/config-form/section-configs/review.ts +++ b/web/src/components/config-form/section-configs/review.ts @@ -18,6 +18,9 @@ const review: SectionConfigOverrides = { ], advancedFields: [], uiSchema: { + alerts: { + "ui:before": { render: "CameraReviewSettingsView" }, + }, genai: { additional_concerns: { "ui:widget": "textarea", diff --git a/web/src/components/config-form/theme/templates/FieldTemplate.tsx b/web/src/components/config-form/theme/templates/FieldTemplate.tsx index d97974978..5b7f3cb27 100644 --- a/web/src/components/config-form/theme/templates/FieldTemplate.tsx +++ b/web/src/components/config-form/theme/templates/FieldTemplate.tsx @@ -406,7 +406,7 @@ export function FieldTemplate(props: FieldTemplateProps) {

)} {fieldDocsUrl && !isMultiSchemaWrapper && !isObjectField && ( -
+
)} {fieldDocsUrl && !isMultiSchemaWrapper && !isObjectField && ( -
+
)} {sectionDocsUrl && ( -
+